28 #include "surfaceInterpolate.H" 48 const dictionary&
dict,
49 const phaseInterface& interface,
50 const bool registerObject
53 dragModel(dict, interface, registerObject),
54 interface_(interface.modelCast<dragModel, segregatedPhaseInterface>()),
89 mesh.time().timeName(),
97 L.correctBoundaryConditions();
132 limitedAlpha1*
rho1*nu1*limitedAlpha2*
rho2*nu2
133 /(limitedAlpha1*
rho1*nu1 + limitedAlpha2*
rho2*nu2)
139 /(magGradI*limitedAlpha1*limitedAlpha2*muI)
const volScalarField & rho1
virtual tmp< volScalarField > K() const
The drag function used in the momentum equation.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
static const char *const typeName
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< volScalarField > rho() const
Average density.
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.
virtual tmp< volScalarField > rho() const =0
Return the density field.
dimensionedScalar lambda(viscosity->lookup("lambda"))
volScalarField & alpha1(mixture.alpha1())
const phaseModel & phase1() const
Return phase 1.
const dimensionSet dimless
virtual ~segregated()
Destructor.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Calculate the gradient of the given field.
const rhoThermo & thermo() const
Return const-access to phase rhoThermo.
dimensionedScalar cbrt(const dimensionedScalar &ds)
const dimensionedScalar & residualAlpha() const
Return the residual phase-fraction for given phase.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const Mesh & mesh() const
Return mesh.
defineTypeNameAndDebug(combustionModel, 0)
const phaseModel & phase2() const
Return phase 2.
tmp< volScalarField > magUr() const
Relative velocity magnitude.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & rho2
const dispersedPhaseInterface interface_
Interface.
virtual tmp< volScalarField > nu() const
Kinematic viscosity of mixture [m^2/s].
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
segregated(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
Construct from a dictionary and an interface.
A class for managing temporary objects.
virtual tmp< surfaceScalarField > Kf() const
The drag function Kf used in the face-momentum equations.