CloudFunctionObjects: VolumeFraction: Register field

This means the field can be used by other run-time post-processing
functions; e.g., with '#includeFunc volIntegrate(cloud:alpha)'.
This commit is contained in:
Will Bainbridge
2023-09-08 09:08:16 +01:00
parent 5e8748c6eb
commit 8811d390e7
6 changed files with 52 additions and 6 deletions

View File

@ -158,6 +158,11 @@ subModels
cloudFunctions
{
volumeFraction1
{
type volumeFraction;
}
massFlux1
{
type massFlux;

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
functions
{
#includeFunc volIntegrate(cloud:alpha)
#includeFunc patchFlowRate(patch=lowerInlet, cloud:massFlux)
#includeFunc patchFlowRate(patch=upperInlet, cloud:massFlux)
#includeFunc faceZoneFlowRate(faceZone=mid, cloud:massFlux)