48 const bool registerObject
55 if (!isA<dispersedDragModel>(dragModel_()))
58 <<
"The sub-drag-model of a " <<
type()
59 <<
" drag model must be for a dispersed configuration"
78 sqr(interface_.dispersed().d())
79 *interface_.dispersed().rho()
81 /swarmCorrection_->Cs()
82 /interface_.continuous().rho()
83 /interface_.continuous().fluidThermo().nu()
87 return min(refCast<const dispersedDragModel>(dragModel_()).CdRe(),
limit);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
defineTypeNameAndDebug(aerosolDrag, 0)
addToRunTimeSelectionTable(dragModel, aerosolDrag, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
complex limit(const complex &, const complex &)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
const dimensionSet & dimTime
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.