Go to the documentation of this file.
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),
71 <<
"Drag coefficient not defined for the segregated model."
74 return pair_.phase1();
80 const fvMesh&
mesh(pair_.phase1().mesh());
88 tmp<volScalarField> tnu1(pair_.phase1().nu());
89 tmp<volScalarField> tnu2(pair_.phase2().nu());
99 mesh.time().timeName(),
104 zeroGradientFvPatchField<scalar>::typeName
107 L.correctBoundaryConditions();
115 pair_.phase1().residualAlpha() + pair_.phase2().residualAlpha()
123 (pair_.phase1().residualAlpha() + pair_.phase2().residualAlpha())/L
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)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensioned< scalar > mag(const dimensioned< Type > &)
CGAL::Exact_predicates_exact_constructions_kernel K
virtual tmp< volScalarField > K() const
The drag function used in the momentum equation.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const sphericalTensor I(1)
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual tmp< surfaceScalarField > Kf() const
The drag function Kf used in the face-momentum equations.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Calculate the gradient of the given field.
virtual ~segregated()
Destructor.
dimensionedScalar cbrt(const dimensionedScalar &ds)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
segregated(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from components.