44 void Foam::actuationDiskSource::checkData()
46 if (
magSqr(diskArea_) <= VSMALL)
49 <<
"diskArea is approximately zero"
52 if (Cp_ <= VSMALL || Ct_ <= VSMALL)
55 <<
"Cp and Ct must be greater than zero"
58 if (
mag(diskDir_) < VSMALL)
61 <<
"disk direction vector is approximately zero"
69 Foam::actuationDiskSource::actuationDiskSource
78 dict_(dict.
subDict(typeName +
"Coeffs")),
79 diskDir_(dict_.lookup(
"diskDir")),
82 diskArea_(
readScalar(dict_.lookup(
"diskArea")))
84 Info<<
" - creating actuation disk zone: "
87 bool foundZone = (cellZoneID_ != -1);
95 "Foam::actuationDiskSource::actuationDiskSource"
96 "(const word&, const dictionary&, const fvMesh&)"
97 ) <<
"cannot find porous cellZone " << this->
name()
109 if (cellZoneID_ == -1)
127 addActuationDiskAxialInertialResistance
132 this->
mesh().lookupObject<volScalarField>(
"rho"),
138 addActuationDiskAxialInertialResistance
156 if (dict_.found(
"note"))
162 os <<
indent <<
"actuationDisk";
176 sourceDict.
subDict(typeName +
"Coeffs");