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...
#include <interfaceCompressionFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("interfaceCompression") | |
| Runtime type information. | |
| interfaceCompressionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| interfaceCompressionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| interfaceCompressionFvPatchScalarField (const interfaceCompressionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| interfaceCompressionFvPatchScalarField (const interfaceCompressionFvPatchScalarField &) | |
| Construct as copy. | |
| interfaceCompressionFvPatchScalarField (const interfaceCompressionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
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 58 of file interfaceCompressionFvPatchScalarField.H.
| interfaceCompressionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 27 of file interfaceCompressionFvPatchScalarField.C.
References p.
Referenced by interfaceCompressionFvPatchScalarField(), interfaceCompressionFvPatchScalarField(), interfaceCompressionFvPatchScalarField(), and TypeName().

| interfaceCompressionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 38 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 52 of file interfaceCompressionFvPatchScalarField.C.
References interfaceCompressionFvPatchScalarField(), and p.

| interfaceCompressionFvPatchScalarField | ( | const interfaceCompressionFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 65 of file interfaceCompressionFvPatchScalarField.C.
References interfaceCompressionFvPatchScalarField().

| interfaceCompressionFvPatchScalarField | ( | const interfaceCompressionFvPatchScalarField & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 75 of file interfaceCompressionFvPatchScalarField.C.
References interfaceCompressionFvPatchScalarField().

| TypeName | ( | "interfaceCompression" | ) |
Runtime type information.
References interfaceCompressionFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Definition at line 125 of file interfaceCompressionFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 133 of file interfaceCompressionFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 88 of file interfaceCompressionFvPatchScalarField.C.
References Foam::operator==(), and Foam::pos0().

|
virtual |
Write.
Definition at line 101 of file interfaceCompressionFvPatchScalarField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
