46 const word& phaseName,
65 calculatedLagrangianPatchScalarField::
typeName
69 T.sources().errorLocation()
73 LagrangianScalarFieldSource::
New
76 dict.subDict(
"pressure")
83 IOobject::groupName(
"psi", phaseName),
94 calculatedLagrangianPatchScalarField::
typeName
98 T.sources().errorLocation()
104 IOobject::groupName(
"mu", phaseName),
115 calculatedLagrangianPatchScalarField::
typeName
119 T.sources().errorLocation()
133 return basicLagrangianThermo::New<fluidLagrangianThermo>(
mesh,
phaseName);
168 p = pSourcePtr_->value(subMesh)().primitiveField();
170 if (debug)
Info<<
" Finished" <<
endl;
194 return subMesh.
sub(p_);
205 return pSourcePtr_->value(injection, subMesh);
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Base class for Lagrangian injections. Minimal wrapper over LagrangianSource. Implements some utility ...
Class containing Lagrangian geometry and topology.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
word sub(const word &fieldName) const
Return the name of a field corresponding to this sub-mesh.
Pre-declare related SubField type.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const LagrangianMesh & mesh() const =0
Access the mesh.
virtual void correctPressure(const LagrangianSubMesh &)=0
Update the pressure.
virtual void correct(const LagrangianSubMesh &)=0
Update state.
virtual const word & phaseName() const =0
Access the phase name.
Source condition for compressibility. Applied to the compressibility field automatically by the Lagra...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Source condition for dynamic viscosity. Applied to the dynamic viscosity field automatically by the L...
virtual void initialise()
Initialise state.
virtual const LagrangianScalarDynamicField & psi() const
Compressibility [s^2/m^2].
virtual const LagrangianScalarDynamicField & mu() const
Dynamic viscosity [kg/m/s].
virtual ~implementation()
Destructor.
virtual void correctPressure(const LagrangianSubMesh &)
Update the pressure.
implementation(const dictionary &, const LagrangianMesh &, const word &, const LagrangianScalarDynamicField &T)
Construct from dictionary, mesh and phase name.
virtual const LagrangianScalarDynamicField & p() const
Pressure [Pa].
Base-class for fluid Lagrangian thermodynamic models.
static autoPtr< fluidLagrangianThermo > New(const LagrangianMesh &mesh, const word &phaseName=word::null)
Select a fluid thermo.
virtual const LagrangianScalarDynamicField & p() const =0
Pressure [Pa].
virtual ~fluidLagrangianThermo()
Destructor.
Source condition for pressure. Applied to the pressure field automatically by the Lagrangian thermody...
A class for managing temporary objects.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define InfoInFunction
Report an information message using Foam::Info.
const dimensionSet & dimDynamicViscosity
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineRunTimeSelectionTable(fvConstraint, dictionary)
const dimensionSet & dimDensity
const dimensionSet & dimPressure
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)
faceListList boundary(nPatches)