36Foam::dynamicAlphaContactAngleFvPatchScalarField::
37dynamicAlphaContactAngleFvPatchScalarField
51Foam::dynamicAlphaContactAngleFvPatchScalarField::
52dynamicAlphaContactAngleFvPatchScalarField
61 theta0_(gcpsf.theta0_),
62 uTheta_(gcpsf.uTheta_),
63 thetaA_(gcpsf.thetaA_),
64 thetaR_(gcpsf.thetaR_)
68Foam::dynamicAlphaContactAngleFvPatchScalarField::
69dynamicAlphaContactAngleFvPatchScalarField
77 theta0_(
dict.get<scalar>(
"theta0")),
78 uTheta_(
dict.get<scalar>(
"uTheta")),
79 thetaA_(
dict.get<scalar>(
"thetaA")),
80 thetaR_(
dict.get<scalar>(
"thetaR"))
86Foam::dynamicAlphaContactAngleFvPatchScalarField::
87dynamicAlphaContactAngleFvPatchScalarField
93 theta0_(gcpsf.theta0_),
94 uTheta_(gcpsf.uTheta_),
95 thetaA_(gcpsf.thetaA_),
96 thetaR_(gcpsf.thetaR_)
100Foam::dynamicAlphaContactAngleFvPatchScalarField::
101dynamicAlphaContactAngleFvPatchScalarField
108 theta0_(gcpsf.theta0_),
109 uTheta_(gcpsf.uTheta_),
110 thetaA_(gcpsf.thetaA_),
111 thetaR_(gcpsf.thetaR_)
133 Uwall -= (nf & Uwall)*nf;
139 nWall /= (
mag(nWall) + SMALL);
145 return theta0_ + (thetaA_ - thetaR_)*
tanh(uwall/uTheta_);
156 writeEntry(
"value",
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
virtual scalar theta() const
Return current crank-angle.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
dimensionedScalar tanh(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)