KinematicReynoldsNumber in cloudFunctionObject
KinematicReynoldsNumber in cloudFunctionObject does not work
KinematicReynoldsNumber was implemented in cloudFunctionObject from v2106, but it was not activated.
How to reproduce
Example: Run the tutorial: $FOAM_TUTORIALS/lagrangian/icoUncoupledKinematicParcelFoam/hopper/hopperEmptying/ with
cloudFunctions
{
KinematicReynoldsNumber1
{
type KinematicReynoldsNumber;
}
}
in constant/kinematicCloudProperties.
Error log
--> FOAM FATAL IO ERROR: (openfoam-2106)
Unknown cloudFunctionObject type KinematicReynoldsNumber
Valid cloudFunctionObject types :
11
(
facePostProcessing
particleCollector
particleErosion
particleTracks
particleTrap
patchCollisionDensity
patchInteractionFields
patchParticleHistogram
patchPostProcessing
removeParcels
voidFraction
)
OpenFOAM version
v2106
Possible fixes
line 63 in $FOAM_SRC/lagrangian/intermediate/parcels/include/makeParcelCloudFunctionObjects.H
makeCloudFunctionObjectType(VoidFraction, CloudType);
should be
makeCloudFunctionObjectType(VoidFraction, CloudType); \
makeCloudFunctionObjectType(KinematicReynoldsNumber, CloudType);