Wall damping models can be used to filter interfacial models near the walls. This is particularly useful for the lift force because of its dependence on the velocity gradient. More...
Public Member Functions | |
TypeName ("wallDampingModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, wallDampingModel, dictionary,(const dictionary &dict, const phaseInterface &interface),(dict, interface)) | |
wallDampingModel (const dictionary &dict, const phaseInterface &interface) | |
Construct from a dictionary and an interface. More... | |
virtual | ~wallDampingModel () |
Destructor. More... | |
virtual tmp< volScalarField > | damping () const |
Return damped coefficient. More... | |
virtual tmp< surfaceScalarField > | dampingf () const |
Return damped face coefficient. More... | |
![]() | |
wallDependentModel (const fvMesh &mesh) | |
Construct from a mesh. More... | |
wallDependentModel (const wallDependentModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~wallDependentModel () |
Destructor. More... | |
const volScalarField & | yWall () const |
Return the wall distance, creating and storing it if necessary. More... | |
const volVectorField & | nWall () const |
Return the wall normal, creating and storing it if necessary. More... | |
void | operator= (const wallDependentModel &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< wallDampingModel > | New (const dictionary &dict, const phaseInterface &interface) |
Protected Member Functions | |
virtual tmp< volScalarField > | limiter () const =0 |
Return the force limiter field. More... | |
Protected Attributes | |
const dispersedPhaseInterface | interface_ |
Interface. More... | |
const dimensionedScalar | Cd_ |
Diameter coefficient. More... | |
const dimensionedScalar | zeroWallDist_ |
Distance from wall below which the field is damped to zero. More... | |
const Switch | zeroInNearWallCells_ |
Set the value to zero in wall-adjacent cells. More... | |
Wall damping models can be used to filter interfacial models near the walls. This is particularly useful for the lift force because of its dependence on the velocity gradient.
All damping functions accept the following parameters:
Property | Description | Required | Default value |
---|---|---|---|
Cd | Diameter coefficient | yes | none |
zeroWallDist | Offset from wall | no | 0 |
zeroInNearWallCells | Zero near wall cells | no | no |
Definition at line 96 of file wallDampingModel.H.
wallDampingModel | ( | const dictionary & | dict, |
const phaseInterface & | interface | ||
) |
Construct from a dictionary and an interface.
Definition at line 41 of file wallDampingModel.C.
|
virtual |
Destructor.
Definition at line 72 of file wallDampingModel.C.
|
protectedpure virtual |
TypeName | ( | "wallDampingModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
wallDampingModel | , | ||
dictionary | , | ||
(const dictionary &dict, const phaseInterface &interface) | , | ||
(dict, interface) | |||
) |
|
static |
Definition at line 30 of file wallDampingModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and phaseInterface::name().
|
virtual |
Return damped coefficient.
Definition at line 79 of file wallDampingModel.C.
References bMesh, forAll, Foam::MULES::limiter(), patchi, and tmp< T >::ref().
|
virtual |
Return damped face coefficient.
Definition at line 112 of file wallDampingModel.C.
References Foam::fvc::interpolate().
|
protected |
Interface.
Definition at line 105 of file wallDampingModel.H.
Referenced by cosine::limiter(), linear::limiter(), and sine::limiter().
|
protected |
Diameter coefficient.
Definition at line 108 of file wallDampingModel.H.
Referenced by cosine::limiter(), linear::limiter(), and sine::limiter().
|
protected |
Distance from wall below which the field is damped to zero.
Definition at line 111 of file wallDampingModel.H.
Referenced by cosine::limiter(), linear::limiter(), and sine::limiter().
|
protected |
Set the value to zero in wall-adjacent cells.
Definition at line 114 of file wallDampingModel.H.