43 Foam::clouds::coupledToFluid::getRhocVf()
const
50 if (mesh_.
mesh().
foundObject<basicThermo>(physicalProperties::typeName))
55 physicalProperties::typeName
60 <<
"Could not determine the carrier density"
63 return tmp<volScalarField>(
nullptr);
68 Foam::clouds::coupledToFluid::calcNuc
70 const LagrangianModelRef& model,
71 const LagrangianSubMesh& subMesh
74 return muc(model, subMesh)/rhoc(model, subMesh);
84 trhocVf_ = getRhocVf();
95 trhocVf_(getRhocVf()),
96 rhoc(carrierField<scalar>(trhocVf_())),
const polyMesh & mesh() const
Access the mesh.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Base class for clouds which are coupled to a fluid.
void updateRhoc()
Update the carrier density.
coupledToFluid(const cloud &)
Construct from a reference to the cloud.
virtual ~coupledToFluid()
Destructor.
Base class for clouds which are coupled to a fluid.
Base-class for fluid thermodynamic properties.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
bool foundObject(const word &name) const
Is the named Type in registry.
A base class for physical properties.
A class for managing temporary objects.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(coupled, 0)
const dimensionedScalar mu
Atomic mass unit.
const dimensionedScalar c
Speed of light in a vacuum.
errorManipArg< error, int > exit(error &err, const int errNo=1)
VolField< scalar > volScalarField