37Foam::timeVaryingAlphaContactAngleFvPatchScalarField::
38timeVaryingAlphaContactAngleFvPatchScalarField
52Foam::timeVaryingAlphaContactAngleFvPatchScalarField::
53timeVaryingAlphaContactAngleFvPatchScalarField
63 thetaT0_(gcpsf.thetaT0_),
69Foam::timeVaryingAlphaContactAngleFvPatchScalarField::
70timeVaryingAlphaContactAngleFvPatchScalarField
78 t0_(
dict.get<scalar>(
"t0")),
79 thetaT0_(
dict.get<scalar>(
"thetaT0")),
80 te_(
dict.get<scalar>(
"te")),
81 thetaTe_(
dict.get<scalar>(
"thetaTe"))
87Foam::timeVaryingAlphaContactAngleFvPatchScalarField::
88timeVaryingAlphaContactAngleFvPatchScalarField
96 thetaT0_(gcpsf.thetaT0_),
98 thetaTe_(gcpsf.thetaTe_)
111 scalar t = patch().boundaryMesh().mesh().time().value();
112 scalar theta0 = thetaT0_;
124 theta0 = thetaT0_ + (t - t0_)*(thetaTe_ - thetaT0_)/(te_ - t0_);
141 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.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)