proteus.AuxiliaryVariables module

Classes for calculating auxiliary variables based on the numerical solution.

Inheritance diagram of proteus.AuxiliaryVariables

class proteus.AuxiliaryVariables.AV_base[source]

Bases: object

attachModel(model, ar)[source]
attachAuxiliaryVariables(avDict)[source]
writeScalarXdmf(u, name)[source]
calculate_init()[source]
calculate()[source]
class proteus.AuxiliaryVariables.GatherDOF(filename)[source]

Bases: proteus.AuxiliaryVariables.AV_base

calculate()[source]
class proteus.AuxiliaryVariables.BoundaryForce(D=1.0, Ubar=1.0, rho=1.0)[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.PressureProfile(flag=0, center=(0.0, 0.0), radius=1.0)[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.RecirculationLength(rcStartX=None)[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.VelocityAverage[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.BoundaryPressure[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.ConservationHistoryMC(filename)[source]

Bases: proteus.AuxiliaryVariables.AV_base

A simple class for storing the time history of things related conservation in conservative level set methods

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.ConservationHistoryLS(filename)[source]

Bases: proteus.AuxiliaryVariables.AV_base

A simple class for storing the time history of things related conservation in non-conservative level set methods

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.VelocityNormOverRegion(regionIdList=[1])[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.MassOverRegion(regionIdList=None, ci=0)[source]

Bases: proteus.AuxiliaryVariables.AV_base

attachModel(model, ar)[source]
calculate()[source]
class proteus.AuxiliaryVariables.PT123velocityGenerator(filebase, tnList, ci=0)[source]

Bases: proteus.AuxiliaryVariables.AV_base

write out the velocity field from a model for PT123 to use in tracking as a standalone application

getElementRT0velocityValues()[source]
attachModel(model, ar)[source]
checkFileClose(filetoclose)[source]
writePT123inputMesh(nd, mesh)[source]
writePT123nodalVelocity(components)[source]
writePT123elementVelocity(components)[source]
writePT123MixedVelocityAsElementVelocity(ci)[source]
writePT123elementPorosity(value=1.0)[source]
writePT123nodalPorosity(value=1.0)[source]
calculate()[source]