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,
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 fvPatchField<scalar>::write(
os);
130 os.writeEntry(
"thetaProperties", thetaProps_);
131 fvPatchField<scalar>::writeValueEntry(
os);
140 alphaContactAngleFvPatchScalarField
Macros for easy insertion into run-time selection tables.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (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.