28#include "alphaContactAngleFvPatchScalarField.H"
42 theta0_(readScalar(is)),
43 uTheta_(readScalar(is)),
44 thetaA_(readScalar(is)),
45 thetaR_(readScalar(is))
52 alphaContactAngleFvPatchScalarField::interfaceThetaProps& tp
55 is >> tp.theta0_ >> tp.uTheta_ >> tp.thetaA_ >> tp.thetaR_;
63 const alphaContactAngleFvPatchScalarField::interfaceThetaProps& tp
66 os << tp.theta0_ << token::SPACE
67 << tp.uTheta_ << token::SPACE
68 << tp.thetaA_ << token::SPACE
77alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField
80 const DimensionedField<scalar, volMesh>& iF
83 zeroGradientFvPatchScalarField(
p, iF)
87alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField
89 const alphaContactAngleFvPatchScalarField& gcpsf,
91 const DimensionedField<scalar, volMesh>& iF,
92 const fvPatchFieldMapper& mapper
95 zeroGradientFvPatchScalarField(gcpsf,
p, iF, mapper),
96 thetaProps_(gcpsf.thetaProps_)
100alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField
103 const DimensionedField<scalar, volMesh>& iF,
104 const dictionary&
dict
107 zeroGradientFvPatchScalarField(
p, iF),
108 thetaProps_(
dict.lookup(
"thetaProperties"))
114alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField
116 const alphaContactAngleFvPatchScalarField& gcpsf,
117 const DimensionedField<scalar, volMesh>& iF
120 zeroGradientFvPatchScalarField(gcpsf, iF),
121 thetaProps_(gcpsf.thetaProps_)
127void alphaContactAngleFvPatchScalarField::write(Ostream&
os)
const
129 fvPatchScalarField::write(
os);
130 os.writeEntry(
"thetaProperties", thetaProps_);
131 writeEntry(
"value",
os);
140 alphaContactAngleFvPatchScalarField
Macros for easy insertion into run-time selection tables.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.