40 zeroGradientFvPatchScalarField(gcpsf,
p, iF, mapper),
41 thetaProps_(gcpsf.thetaProps_)
52 zeroGradientFvPatchScalarField(
p, iF,
dict),
72 zeroGradientFvPatchScalarField(gcpsf, iF),
73 thetaProps_(gcpsf.thetaProps_)
77 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
78 contactAngleProperties::contactAngleProperties()
88 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
89 contactAngleProperties::contactAngleProperties(
const scalar theta0)
99 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
100 contactAngleProperties::contactAngleProperties
115 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
116 contactAngleProperties::contactAngleProperties(
const dictionary&
dict)
148 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
149 contactAngleProperties
150 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
151 contactAngleProperties::reversed()
156 ? contactAngleProperties
163 : contactAngleProperties
185 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
186 contactAngleProperties::operator==
188 const contactAngleProperties& thetaProps
191 if (dynamic() != thetaProps.dynamic())
return false;
193 static const scalar thetaTol =
degToRad(180)*rootSmall;
194 static const scalar uThetaTol = rootSmall;
198 ?
mag(theta0() - thetaProps.theta0()) < thetaTol
199 &&
mag(uTheta() - thetaProps.uTheta()) < uThetaTol
200 &&
mag(thetaA() - thetaProps.thetaA()) < thetaTol
201 &&
mag(thetaR() - thetaProps.thetaR()) < thetaTol
202 :
mag(theta0() - thetaProps.theta0()) < thetaTol;
207 Foam::alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField::
208 contactAngleProperties::operator!=
210 const contactAngleProperties& thetaProps
213 return !(*
this == thetaProps);
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
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 STL-conforming hash table.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & write(const char)=0
Write character.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
scalar degToRad(const scalar deg)
Convert degrees to radians.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionSet dimVelocity
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.
Ostream & indent(Ostream &os)
Indent stream.
const unitConversion unitDegrees