45 const dictionary& dict,
46 const phaseInterface& interface
49 dispersedLiftModel(dict, interface),
50 liftModel_(liftModel::
New(dict.subDict(
"lift"), interface, false)),
53 wallDampingModel::
New(dict.subDict(
"wallDamping"), interface)
56 if (!isA<dispersedLiftModel>(liftModel_()))
59 <<
"The sub-lift-model of a " <<
type()
60 <<
" lift model must be for a dispersed configuration" 77 wallDampingModel_->damping()
78 *refCast<const dispersedLiftModel>(liftModel_()).
Cl();
85 wallDampingModel_->damping()
86 *refCast<const dispersedLiftModel>(liftModel_()).
Fi();
92 return wallDampingModel_->damping()*liftModel_->F();
98 return wallDampingModel_->dampingf()*liftModel_->Ff();
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual ~wallDamped()
Destructor.
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual tmp< surfaceScalarField > Ff() const
Return face lift force.
virtual tmp< volVectorField > F() const
Return lift force.
wallDamped(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
virtual tmp< volVectorField > Fi() const
Return phase-intensive lift force.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< volScalarField > Cl() const
Lift coefficient.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
A class for managing temporary objects.
virtual tmp< volVectorField > Fi() const
Return phase-intensive lift force.
virtual tmp< volScalarField > Cl() const
Lift coefficient.