51 phasePropertyName(
"thermo:psi"),
65 phasePropertyName(
"thermo:mu"),
80 const word& phaseName,
81 const word& dictionaryName
90 phasePropertyName(
"thermo:psi"),
104 phasePropertyName(
"thermo:mu"),
120 const word& phaseName
123 return basicThermo::New<psiThermo>(
mesh, phaseName);
130 const word& phaseName,
131 const word& dictionaryName
134 return basicThermo::New<psiThermo>(
mesh, phaseName, dictionaryName);
154 return p_.boundaryField()[patchi]*psi_.boundaryField()[patchi];
186 return mu_.boundaryField()[patchi];
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Fundamental fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
Basic thermodynamic properties based on compressibility.
virtual tmp< volScalarField > mu() const
Dynamic viscosity of mixture [kg/m/s].
virtual ~psiThermo()
Destructor.
virtual tmp< volScalarField > rho() const
Density [kg/m^3] - uses current value of pressure.
virtual const volScalarField & psi() const
Compressibility [s^2/m^2].
virtual void correctRho(const volScalarField &deltaRho, const dimensionedScalar &rhoMin, const dimensionedScalar &rhoMax)
Add the given density correction to the density field.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const dimensionedScalar rhoMin
const dimensionedScalar rhoMax
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.