26 #include "segregated.H" 27 #include "phasePair.H" 48 const dictionary&
dict,
49 const phasePair& pair,
50 const bool registerObject
53 dragModel(dict, pair, registerObject),
69 FatalErrorIn(
"Foam::dragModels::segregated::CdRe() const")
71 <<
"Drag coefficient not defined for the segregated model." 99 mesh.time().timeName(),
107 L.correctBoundaryConditions();
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
static const char *const typeName
tmp< volScalarField > rho() const
Average density.
dimensioned< scalar > mag(const dimensioned< Type > &)
const phasePair & pair_
Phase pair.
const phaseModel & phase1() const
static const sphericalTensor I(1)
dimensionedScalar cbrt(const dimensionedScalar &ds)
errorManipArg< error, int > exit(error &err, const int errNo=1)
InternalField & internalField()
Return internal field.
const Mesh & mesh() const
Return mesh.
const phaseModel & phase2() const
tmp< volScalarField > magUr() const
Relative velocity magnitude.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Calculate the gradient of the given field.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
Macros for easy insertion into run-time selection tables.
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
IOobject(const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
Construct from name, instance, registry, io options.
const dimensionedScalar & rho() const
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual ~segregated()
Destructor.
virtual tmp< surfaceScalarField > Kf() const
The drag function Kf used in the face-momentum equations.
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
segregated(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from components.
virtual tmp< volScalarField > K() const
The drag function used in the momentum equation.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
defineTypeNameAndDebug(combustionModel, 0)
const dimensionedScalar & nu() const
Return the laminar viscosity.