28 #include "surfaceInterpolate.H"
50 const bool registerObject
70 const fvMesh& mesh(interface_.phase1().mesh());
89 interface_.phase1().residualAlpha()
90 + interface_.phase2().residualAlpha()
96 alpha1/
max(alpha1 + alpha2, residualAlpha)
100 alpha2/
max(alpha1 + alpha2, residualAlpha)
118 max(alpha1, interface_.phase1().residualAlpha())
123 max(alpha2, interface_.phase2().residualAlpha())
128 limitedAlpha1*rho1*nu1*limitedAlpha2*rho2*nu2
129 /(limitedAlpha2*rho1*nu1 + limitedAlpha1*rho2*nu2)
134 (interface_.rho()()*interface_.magUr()()())
135 /(magGradI*limitedAlpha1*limitedAlpha2*muI)
152 tK.
ref().correctBoundaryConditions();
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Model for drag between phases.
Segregated drag model for use in regions with no obvious dispersed phase.
virtual tmp< surfaceScalarField > Kf() const
The drag function Kf used in the face-momentum equations.
segregated(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
Construct from a dictionary and an interface.
virtual tmp< volScalarField > K() const
The drag function used in the momentum equation.
virtual ~segregated()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
Class to represent a interface between phases where the two phases are considered to be segregated; t...
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
Calculate the gradient of the given field.
dimensionedScalar lambda(viscosity->lookup("lambda"))
defineTypeNameAndDebug(aerosolDrag, 0)
addToRunTimeSelectionTable(dragModel, aerosolDrag, dictionary)
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimless
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar cbrt(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.