Boundary condition for velocity when using wall functions. More...
Protected Member Functions | |
virtual void | setIbCellValues (const vectorField &) const |
Set IB cell values: contains data manipulation. More... | |
Private Attributes | |
scalarField | wallTangentialValue_ |
Tangential velocity value to fix in IB cell. More... | |
vectorField | tauWall_ |
Wall shear stress. More... | |
boolList | wallMask_ |
Indicator on values to fix. More... | |
Boundary condition for velocity when using wall functions.
- uses tangential velocity as prescribed by the epsilon boundary condition to enforce into the fit
Definition at line 55 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
immersedBoundaryVelocityWallFunctionFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 118 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
immersedBoundaryVelocityWallFunctionFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 132 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
immersedBoundaryVelocityWallFunctionFvPatchVectorField | ( | const immersedBoundaryVelocityWallFunctionFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
immersedBoundaryVelocityWallFunctionFvPatchVectorField onto a new patch
Definition at line 147 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
immersedBoundaryVelocityWallFunctionFvPatchVectorField | ( | const immersedBoundaryVelocityWallFunctionFvPatchVectorField & | ewfpsf | ) |
Construct as copy.
Definition at line 163 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
immersedBoundaryVelocityWallFunctionFvPatchVectorField | ( | const immersedBoundaryVelocityWallFunctionFvPatchVectorField & | ewfpsf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 176 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
|
inlinevirtual |
Destructor.
Definition at line 156 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
|
protectedvirtual |
Set IB cell values: contains data manipulation.
Definition at line 43 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, Foam::I, internalField(), Foam::mag(), n, Foam::nl, List::size(), and Foam::sqr().
TypeName | ( | "immersedBoundaryVelocityWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 120 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 140 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
Foam::scalarField & wallTangentialValue | ( | ) | const |
Access to tangential velocity value to fix in IB cell.
Note non-const access
Definition at line 209 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), polyMesh::moving(), immersedBoundaryFvPatch::movingIb(), and immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallTangentialValue_.
const vectorField & wallShearStress | ( | ) | const |
Return wall shear stress.
Definition at line 191 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
References Foam::abort(), dimensionedInternalField(), Foam::FatalError, FatalErrorIn, and immersedBoundaryVelocityWallFunctionFvPatchVectorField::tauWall_.
Referenced by immersedBoundaryForces::calcForcesMoment().
Foam::vectorField & tauWall | ( | ) | const |
Access to wall shear stress in IB cell.
Note non-const access
Definition at line 233 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), polyMesh::moving(), immersedBoundaryFvPatch::movingIb(), immersedBoundaryVelocityWallFunctionFvPatchVectorField::tauWall_, and Vector< scalar >::zero.
Foam::boolList & wallMask | ( | ) | const |
Access to indicator on fixed values. Note non-const access.
Definition at line 257 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.C.
References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), polyMesh::moving(), immersedBoundaryFvPatch::movingIb(), List::setSize(), and immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallMask_.
|
mutableprivate |
Tangential velocity value to fix in IB cell.
Definition at line 62 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
Referenced by immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallTangentialValue().
|
mutableprivate |
Wall shear stress.
Definition at line 65 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
Referenced by immersedBoundaryVelocityWallFunctionFvPatchVectorField::tauWall(), and immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallShearStress().
|
mutableprivate |
Indicator on values to fix.
Definition at line 68 of file immersedBoundaryVelocityWallFunctionFvPatchVectorField.H.
Referenced by immersedBoundaryVelocityWallFunctionFvPatchVectorField::wallMask().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.