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();
Macros for easy insertion into run-time selection tables.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Model for the lift force between two phases.
wallDamped(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
virtual tmp< surfaceScalarField > Ff() const
Return face lift force.
virtual tmp< volVectorField > F() const
Return lift force.
virtual ~wallDamped()
Destructor.
virtual tmp< volScalarField > Cl() const
Lift coefficient.
virtual tmp< volVectorField > Fi() const
Return phase-intensive lift force.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
A class for managing temporary objects.
Wall damping models can be used to filter interfacial models near the walls. This is particularly use...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
addToRunTimeSelectionTable(liftModel, constantLiftCoefficient, dictionary)
defineTypeNameAndDebug(constantLiftCoefficient, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.