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
80 const DimensionedField<scalar, volMesh>& iF
83 zeroGradientFvPatchScalarField(
p, iF)
89 const alphaContactAngleFvPatchScalarField& gcpsf,
91 const DimensionedField<scalar, volMesh>& iF,
92 const fvPatchFieldMapper& mapper
95 zeroGradientFvPatchScalarField(gcpsf,
p, iF, mapper),
96 thetaProps_(gcpsf.thetaProps_)
103 const DimensionedField<scalar, volMesh>& iF,
104 const dictionary&
dict 107 zeroGradientFvPatchScalarField(
p, iF),
108 thetaProps_(
dict.lookup(
"thetaProperties"))
116 const alphaContactAngleFvPatchScalarField& gcpsf,
117 const DimensionedField<scalar, volMesh>& iF
120 zeroGradientFvPatchScalarField(gcpsf, iF),
121 thetaProps_(gcpsf.thetaProps_)
130 os.writeEntry(
"thetaProperties", thetaProps_);
140 alphaContactAngleFvPatchScalarField
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
fvPatchField< scalar > fvPatchScalarField
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.
OBJstream os(runTime.globalPath()/outputName)
makePatchTypeField(fvPatchScalarField, alphaContactAngleFvPatchScalarField)