Base class for wall functions that modify cell values. More...


Public Member Functions | |
| wallCellWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| wallCellWallFunctionFvPatchScalarField (const wallCellWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &) | |
| Construct by mapping given wallCellWallFunctionFvPatchScalarField. More... | |
| wallCellWallFunctionFvPatchScalarField (const wallCellWallFunctionFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| wallCellWallFunctionFvPatchScalarField (const wallCellWallFunctionFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, fvMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual | ~wallCellWallFunctionFvPatchScalarField () |
| Destructor. More... | |
| virtual void | map (const fvPatchScalarField &, const fieldMapper &) |
| Map the given fvPatchField onto this fvPatchField. More... | |
| virtual void | reset (const fvPatchScalarField &) |
| Reset the fvPatchField to the given fvPatchField. More... | |
| virtual void | operator= (const UList< Type > &) |
| Inherit assignment. More... | |
| virtual void | operator= (const fvPatchField< Type > &) |
| Inherit assignment. More... | |
| virtual void | operator= (const Type &) |
| Inherit assignment. More... | |
Protected Member Functions | |
| label | masterPatchIndex () const |
| Return the master patch index. More... | |
| const labelList & | wallCells () const |
| Return the wall cell indices. More... | |
| const scalarField & | wallCellFraction () const |
| Return the wall cell fractions. More... | |
| void | initMaster () |
| Initialise the master cell indices and fractions, and allocate the. More... | |
| tmp< scalarField > | patchFieldsToWallCellField (const PtrList< scalarField > &pfs) const |
| Average a set of patch fields into a wall cell field. More... | |
Static Protected Member Functions | |
| static void | patchFieldAddToCellField (const fvPatch &fvp, const scalarField &pf, scalarField &vf) |
| Sum values from a patch field into a cell field. More... | |
Base class for wall functions that modify cell values.
Definition at line 48 of file wallCellWallFunctionFvPatchScalarField.H.
| wallCellWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, fvMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 210 of file wallCellWallFunctionFvPatchScalarField.C.
References Foam::operator==().
Referenced by wallCellWallFunctionFvPatchScalarField::clone().


| wallCellWallFunctionFvPatchScalarField | ( | const wallCellWallFunctionFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, fvMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given wallCellWallFunctionFvPatchScalarField.
onto a new patch
Definition at line 228 of file wallCellWallFunctionFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
| wallCellWallFunctionFvPatchScalarField | ( | const wallCellWallFunctionFvPatchScalarField & | ewfpsf, |
| const DimensionedField< scalar, fvMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 247 of file wallCellWallFunctionFvPatchScalarField.C.
|
inlinevirtual |
Destructor.
Definition at line 161 of file wallCellWallFunctionFvPatchScalarField.H.
|
inlineprotected |
Return the master patch index.
Definition at line 75 of file wallCellWallFunctionFvPatchScalarField.H.
|
inlineprotected |
Return the wall cell indices.
Definition at line 81 of file wallCellWallFunctionFvPatchScalarField.H.
|
inlineprotected |
Return the wall cell fractions.
Definition at line 87 of file wallCellWallFunctionFvPatchScalarField.H.
|
protected |
Initialise the master cell indices and fractions, and allocate the.
turbulence fields
Definition at line 37 of file wallCellWallFunctionFvPatchScalarField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryFieldRef(), Foam::findIndices(), forAll, fvPatch::magSf(), Foam::max(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), wallCellWallFunctionFvPatchScalarField::patchFieldAddToCellField(), and patchi.

|
staticprotected |
Sum values from a patch field into a cell field.
Definition at line 151 of file wallCellWallFunctionFvPatchScalarField.C.
References fvPatch::faceCells(), and forAll.
Referenced by wallCellWallFunctionFvPatchScalarField::initMaster().


|
protected |
Average a set of patch fields into a wall cell field.
Definition at line 168 of file wallCellWallFunctionFvPatchScalarField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), forAll, fvPatch::magSf(), Foam::max(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), and patchi.

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in epsilonmWallFunctionFvPatchScalarField, omegaWallFunctionFvPatchScalarField, and epsilonWallFunctionFvPatchScalarField.
Definition at line 148 of file wallCellWallFunctionFvPatchScalarField.H.
References wallCellWallFunctionFvPatchScalarField::wallCellWallFunctionFvPatchScalarField().

|
virtual |
Map the given fvPatchField onto this fvPatchField.
Reimplemented in omegaWallFunctionFvPatchScalarField, and epsilonWallFunctionFvPatchScalarField.
Definition at line 264 of file wallCellWallFunctionFvPatchScalarField.C.
Referenced by epsilonWallFunctionFvPatchScalarField::map(), and omegaWallFunctionFvPatchScalarField::map().

|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Reimplemented in omegaWallFunctionFvPatchScalarField, and epsilonWallFunctionFvPatchScalarField.
Definition at line 277 of file wallCellWallFunctionFvPatchScalarField.C.
Referenced by epsilonWallFunctionFvPatchScalarField::reset(), and omegaWallFunctionFvPatchScalarField::reset().

| void operator= |
Inherit assignment.
Definition at line 552 of file fvPatchField.C.
| void operator= |
Inherit assignment.
Definition at line 554 of file fvPatchField.C.
| void operator= |
Inherit assignment.
Definition at line 566 of file fvPatchField.C.