43 Foam::clouds::coupledToIncompressibleFluid::getNucVf()
const
55 physicalProperties::typeName
60 <<
"Could not determine the carrier viscosity"
63 return tmp<volScalarField>(
nullptr);
68 Foam::clouds::coupledToIncompressibleFluid::calcNuc
70 const LagrangianModelRef& model,
71 const LagrangianSubMesh& subMesh
74 return nuc(model, subMesh);
98 physicalProperties_(
c.
mesh(),
word::null),
100 rhoByRhoc(
"rhoByRhoc",
dimless, physicalProperties_),
101 nuc(carrierField<scalar>(tnucVf_()))
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 an incompressible fluid.
virtual ~coupledToIncompressibleFluid()
Destructor.
void updateNuc()
Update the carrier kinematic viscosity.
coupledToIncompressibleFluid(const cloud &)
Construct from a reference to the cloud.
Base class for clouds which are coupled to a fluid.
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 class for managing temporary objects.
A class for handling words, derived from string.
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 c
Speed of light in a vacuum.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet dimless
VolField< scalar > volScalarField
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating face flux\n"<< endl;surfaceScalarField phi(IOobject("phi", runTime.name(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(mesh.Sf().dimensions() *U.dimensions(), 0));autoPtr< viscosityModel > viscosity(viscosityModel::New(mesh))