29 #include "phasePair.H" 31 #include "surfaceInterpolate.H" 53 const bool registerObject
74 <<
"Drag coefficient not defined for the segregated model." 77 return pair_.phase1();
102 mesh.time().timeName(),
110 L.correctBoundaryConditions();
118 pair_.phase1().residualAlpha() + pair_.phase2().residualAlpha()
126 (pair_.phase1().residualAlpha() + pair_.phase2().residualAlpha())/
L 138 max(
alpha1, pair_.phase1().residualAlpha())
143 max(
alpha2, pair_.phase2().residualAlpha())
149 /(limitedAlpha1*
rho1*nu1 + limitedAlpha2*
rho2*nu2)
156 /(magGradI*limitedAlpha1*limitedAlpha2*muI)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const vector L(dict.get< vector >("L"))
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(AttouFerschneider, 0)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const volScalarField & alpha2
const dimensionSet dimless
Dimensionless.
CGAL::Exact_predicates_exact_constructions_kernel K
virtual tmp< volScalarField > K() const
The drag function used in the momentum equation.
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
static const Identity< scalar > I
Calculate the gradient of the given field.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
dimensionedScalar cbrt(const dimensionedScalar &ds)
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.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
segregated(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from components.
virtual tmp< surfaceScalarField > Kf() const
The drag function Kf used in the face-momentum equations.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
virtual ~segregated()
Destructor.
addToRunTimeSelectionTable(dragModel, AttouFerschneider, dictionary)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
const volScalarField & alpha1