48 const bool registerObject
58 if (!isA<dispersedDragModel>(dragModel_()))
61 <<
"The sub-drag-model of a " <<
type()
62 <<
" drag model must be for a dispersed configuration"
81 sqr(interface_.dispersed().d())
82 *interface_.dispersed().rho()
84 /swarmCorrection_->Cs()
85 /interface_.continuous().rho()
86 /interface_.continuous().fluidThermo().nu()
90 return min(refCast<const dispersedDragModel>(dragModel_()).CdRe(),
limit);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Model for drag between phases.
timeScaleFilteredDrag(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
Construct from a dictionary and an interface.
virtual ~timeScaleFilteredDrag()
Destructor.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
A class for managing temporary objects.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
defineTypeNameAndDebug(aerosolDrag, 0)
addToRunTimeSelectionTable(dragModel, aerosolDrag, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
complex limit(const complex &, const complex &)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimTime
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.