Film contact angle boundary condition. More...
Public Member Functions | |
TypeName ("filmContactAngle") | |
Runtime type information. More... | |
filmContactAngleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
filmContactAngleFvPatchScalarField (const filmContactAngleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
Construct by mapping given filmContactAngleFvPatchScalarField. More... | |
filmContactAngleFvPatchScalarField (const filmContactAngleFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
filmContactAngleFvPatchScalarField (const filmContactAngleFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
tmp< scalarField > | cosTheta (const fvPatchVectorField &Up, const vectorField &nHat) const |
Return the cosine of the contact angle. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Film contact angle boundary condition.
Simple constant equilibrium contact angle:
<patchName> { type filmContactAngle; contactAngle { type constant; theta0 70; } }
Same as above but using the simpler specification:
<patchName> { type filmContactAngle; theta0 70; }
Dynamic contact angle evaluated from the velocity:
<patchName> { type filmContactAngle; contactAngle { type dynamic; uTheta 1; theta0 70; thetaAdv 100; thetaRec 50; } }
Definition at line 98 of file filmContactAngleFvPatchScalarField.H.
filmContactAngleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 31 of file filmContactAngleFvPatchScalarField.C.
filmContactAngleFvPatchScalarField | ( | const filmContactAngleFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given filmContactAngleFvPatchScalarField.
onto a new patch
Definition at line 43 of file filmContactAngleFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
filmContactAngleFvPatchScalarField | ( | const filmContactAngleFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 56 of file filmContactAngleFvPatchScalarField.C.
TypeName | ( | "filmContactAngle" | ) |
Runtime type information.
Foam::tmp< Foam::scalarField > cosTheta | ( | const fvPatchVectorField & | Up, |
const vectorField & | nHat | ||
) | const |
Return the cosine of the contact angle.
Definition at line 69 of file filmContactAngleFvPatchScalarField.C.
|
virtual |
Write.
Definition at line 79 of file filmContactAngleFvPatchScalarField.C.
References Foam::vtkWriteOps::write(), and Foam::writeEntry().