A dynamic alphaContactAngle scalar boundary condition. More...
Additional Inherited Members | |
Public Types inherited from alphaContactAngleFvPatchScalarField | |
enum | limitControls { lcNone, lcGradient, lcZeroGradient, lcAlpha } |
Alpha limit options. More... | |
typedef HashTable< interfaceThetaProps, multiphaseMixtureThermo::interfacePair, multiphaseMixtureThermo::interfacePair::hash > | thetaPropsTable |
typedef HashTable< interfaceThetaProps, multiphaseSystem::interfacePair, multiphaseSystem::interfacePair::symmHash > | thetaPropsTable |
typedef HashTable< interfaceThetaProps, multiphaseMixture::interfacePair, multiphaseMixture::interfacePair::hash > | thetaPropsTable |
typedef HashTable< interfaceThetaProps, phasePairKey, phasePairKey::hash > | thetaPropsTable |
Public Attributes inherited from alphaContactAngleFvPatchScalarField | |
limitControls | limit_ |
Static Public Attributes inherited from alphaContactAngleFvPatchScalarField | |
static const NamedEnum< limitControls, 4 > | limitControlNames_ |
A dynamic alphaContactAngle scalar boundary condition.
Property | Description | Required | Default value |
---|---|---|---|
theta0 | Equilibrium contact angle | yes | |
uTheta | Velocity scale | yes |
The advancing and receding contact angles can be either specified with respect to the interface normal direction:
Property | Description | Required | Default value |
---|---|---|---|
thetaA | Limiting advancing contact angle | yes | |
thetaR | Limiting receding contact angle | yes |
or with respect to the phase outward direction:
Property | Description | Required | Default value |
---|---|---|---|
thetaAdv | Limiting advancing contact angle | yes | |
thetaRec | Limiting receding contact angle | yes |
Example of the boundary condition specification using the interface normal direction convention:
<patchName> { type dynamicAlphaContactAngle; uTheta 1; theta0 90; thetaA 70; thetaR 110; limit gradient; value uniform 0; }
Example of the boundary condition specification using the phase outward direction convention (opposite to the normal direction):
<patchName> { type dynamicAlphaContactAngle; uTheta 1; theta0 90; thetaAdv 110; thetaRec 70; limit gradient; value uniform 0; }
Definition at line 150 of file dynamicAlphaContactAngleFvPatchScalarField.H.
dynamicAlphaContactAngleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file dynamicAlphaContactAngleFvPatchScalarField.C.
Referenced by dynamicAlphaContactAngleFvPatchScalarField::clone(), and dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField().
dynamicAlphaContactAngleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 67 of file dynamicAlphaContactAngleFvPatchScalarField.C.
References dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField().
dynamicAlphaContactAngleFvPatchScalarField | ( | const dynamicAlphaContactAngleFvPatchScalarField & | gcpsf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
dynamicAlphaContactAngleFvPatchScalarField onto a new patch
Definition at line 50 of file dynamicAlphaContactAngleFvPatchScalarField.C.
References dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField().
dynamicAlphaContactAngleFvPatchScalarField | ( | const dynamicAlphaContactAngleFvPatchScalarField & | gcpsf | ) |
Copy constructor.
Definition at line 95 of file dynamicAlphaContactAngleFvPatchScalarField.C.
References dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField().
dynamicAlphaContactAngleFvPatchScalarField | ( | const dynamicAlphaContactAngleFvPatchScalarField & | gcpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 109 of file dynamicAlphaContactAngleFvPatchScalarField.C.
References dynamicAlphaContactAngleFvPatchScalarField::theta().
TypeName | ( | "dynamicAlphaContactAngle" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from alphaContactAngleFvPatchScalarField.
Definition at line 210 of file dynamicAlphaContactAngleFvPatchScalarField.H.
References dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from alphaContactAngleFvPatchScalarField.
Definition at line 227 of file dynamicAlphaContactAngleFvPatchScalarField.H.
References dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField(), dynamicAlphaContactAngleFvPatchScalarField::theta(), and dynamicAlphaContactAngleFvPatchScalarField::write().
|
virtual |
Evaluate and return dynamic contact-angle.
Implements alphaContactAngleFvPatchScalarField.
Definition at line 126 of file dynamicAlphaContactAngleFvPatchScalarField.C.
References Foam::mag(), fvPatchField< Type >::patchInternalField(), scalarField(), and Foam::tanh().
Referenced by dynamicAlphaContactAngleFvPatchScalarField::clone(), and dynamicAlphaContactAngleFvPatchScalarField::dynamicAlphaContactAngleFvPatchScalarField().
|
virtual |
Write.
Reimplemented from alphaContactAngleFvPatchScalarField.
Definition at line 156 of file dynamicAlphaContactAngleFvPatchScalarField.C.
References Foam::makePatchTypeField(), alphaContactAngleFvPatchScalarField::write(), and Foam::writeEntry().
Referenced by dynamicAlphaContactAngleFvPatchScalarField::clone().