Applies interface-compression to the phase-fraction distribution at the patch by setting the phase-fraction to 0 if it is below 0.5, otherwise to 1. More...
Public Member Functions | |
TypeName ("interfaceCompression") | |
Runtime type information. More... | |
interfaceCompressionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
interfaceCompressionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
interfaceCompressionFvPatchScalarField (const interfaceCompressionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
interfaceCompressionFvPatchScalarField (const interfaceCompressionFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
interfaceCompressionFvPatchScalarField (const interfaceCompressionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Applies interface-compression to the phase-fraction distribution at the patch by setting the phase-fraction to 0 if it is below 0.5, otherwise to 1.
This approach is useful to avoid unphysical "bleed" of the lighter phase along the surface in regions of high shear adjacent to the surface which is at a shallow angle to the interface.
Definition at line 62 of file interfaceCompressionFvPatchScalarField.H.
interfaceCompressionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 34 of file interfaceCompressionFvPatchScalarField.C.
interfaceCompressionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 45 of file interfaceCompressionFvPatchScalarField.C.
interfaceCompressionFvPatchScalarField | ( | const interfaceCompressionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
interfaceCompressionFvPatchScalarField onto a new patch
Definition at line 59 of file interfaceCompressionFvPatchScalarField.C.
Construct as copy.
Definition at line 72 of file interfaceCompressionFvPatchScalarField.C.
interfaceCompressionFvPatchScalarField | ( | const interfaceCompressionFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 82 of file interfaceCompressionFvPatchScalarField.C.
TypeName | ( | "interfaceCompression" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 107 of file interfaceCompressionFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 123 of file interfaceCompressionFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 95 of file interfaceCompressionFvPatchScalarField.C.
References Foam::operator==(), and Foam::pos0().
|
virtual |
Write.
Definition at line 108 of file interfaceCompressionFvPatchScalarField.C.
References os(), and ObukhovLength::write().