51 const phasePair& pair,
52 const bool registerObject
55 dragModel(
dict, pair, registerObject),
85Foam::tmp<Foam::volScalarField>
89 pos0(pair_.continuous() - 0.8)*WenYu_->CdRe()
90 +
neg(pair_.continuous() - 0.8)*Ergun_->CdRe();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Gidaspow, Ergun, Wen and Yu drag model.
virtual ~GidaspowErgunWenYu()
Destructor.
GidaspowErgunWenYu(const dictionary &interfaceDict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and an ordered phase pair.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)