#includeFunc: Changed entry renaming option funcName -> entryName

so that the same option with a rational name is also available for #includeModel
and #includeConstraint.  Support for funcName is maintained for
backwards-compatibility.
This commit is contained in:
Henry Weller
2023-01-31 18:25:10 +00:00
parent 75da5c3d4c
commit 5982e04bc8
42 changed files with 99 additions and 105 deletions

View File

@ -56,7 +56,7 @@ functions
{
#includeFunc graphCell
(
funcName=graph,
entryName=graph,
start=(0.0101 0 0),
end=(0.0101 0.01905 0),
fields=(alpha.gas)

View File

@ -60,7 +60,7 @@ functions
#includeFunc phaseForces(phase=water)
#includeFunc graphUniform
(
funcName=graph,
entryName=graph,
start=(0 0 0.89),
end=(0.025 0 0.89),
nPoints=100,
@ -83,7 +83,7 @@ functions
functionType=volumeDensity,
coordinateType=diameter,
normalise=yes,
funcName=probabilityDensity.injection
entryName=probabilityDensity.injection
)
#includeFunc populationBalanceSizeDistribution
@ -94,7 +94,7 @@ functions
functionType=volumeDensity,
coordinateType=diameter,
normalise=yes,
funcName=probabilityDensity.outlet
entryName=probabilityDensity.outlet
)
}

View File

@ -57,7 +57,7 @@ functions
#includeFunc cellMin
(
funcName=min,
entryName=min,
alpha.liquid,
alpha.gas,
p,
@ -70,7 +70,7 @@ functions
#includeFunc cellMax
(
funcName=max,
entryName=max,
alpha.liquid,
alpha.gas,
p,
@ -83,7 +83,7 @@ functions
#includeFunc graphPatchCutLayerAverage
(
funcName=hydrofoilLowerPressure,
entryName=hydrofoilLowerPressure,
patch=hydrofoilLower,
direction=(0.15 -0.016 0),
nPoints=100,
@ -92,7 +92,7 @@ functions
#includeFunc graphPatchCutLayerAverage
(
funcName=hydrofoilUpperPressure,
entryName=hydrofoilUpperPressure,
patch=hydrofoilUpper,
direction=(0.15 -0.016 0),
nPoints=100,

View File

@ -17,7 +17,7 @@ runApplication reconstructPar -latestTime
runApplication foamPostProcess -func "
graphLayerAverage
(
funcName=graphCrossSection,
entryName=graphCrossSection,
patches=(inlet),
axis=distance,
d.particles

View File

@ -63,7 +63,7 @@ functions
functionType=volumeDensity,
coordinateType=diameter,
normalise=yes,
funcName=probabilityDensity.afterBend_1d
entryName=probabilityDensity.afterBend_1d
)
#includeFunc populationBalanceSizeDistribution
@ -74,7 +74,7 @@ functions
functionType=volumeDensity,
coordinateType=diameter,
normalise=yes,
funcName=probabilityDensity.afterBend_5d
entryName=probabilityDensity.afterBend_5d
)
#includeFunc populationBalanceSizeDistribution
@ -85,7 +85,7 @@ functions
functionType=volumeDensity,
coordinateType=diameter,
normalise=yes,
funcName=probabilityDensity.afterBend_9d
entryName=probabilityDensity.afterBend_9d
)
#includeFunc populationBalanceSizeDistribution
@ -96,7 +96,7 @@ functions
functionType=volumeDensity,
coordinateType=diameter,
normalise=yes,
funcName=probabilityDensity.beforeBend_1d
entryName=probabilityDensity.beforeBend_1d
)
}

View File

@ -56,7 +56,7 @@ functions
{
#includeFunc graphCell
(
funcName=graph,
entryName=graph,
start=(0 0 1e-3),
end=(0.44 0 1e-3),
fields=(TiCl4.vapour O2.vapour Cl2.vapour alpha.particles)
@ -72,7 +72,7 @@ functions
allCoordinates=yes,
normalise=yes,
logTransform=yes,
funcName=numberDensity
entryName=numberDensity
)
#includeFunc writeObjects

View File

@ -56,7 +56,7 @@ functions
{
#includeFunc graphCell
(
funcName=graph,
entryName=graph,
start=(0 0 1e-3),
end=(0.44 0 1e-3),
fields=(TiCl4.vapour O2.vapour Cl2.vapour alpha.particles)
@ -72,7 +72,7 @@ functions
allCoordinates=yes,
normalise=yes,
logTransform=yes,
funcName=numberDensity
entryName=numberDensity
)
#includeFunc writeObjects

View File

@ -15,7 +15,7 @@ runApplication reconstructPar -latestTime
runApplication foamPostProcess -latestTime -func "
graphCell
(
funcName=graph,
entryName=graph,
start=(3.4901 0 0),
end=(3.4901 0.0096 0),
fields=(alpha.gas T.liquid T.gas d.gas)
@ -23,7 +23,7 @@ runApplication foamPostProcess -latestTime -func "
runApplication -append foamPostProcess -latestTime -func "
patchSurface
(
funcName=patchWallBoilingProperties,
entryName=patchWallBoilingProperties,
patch=wall,
surfaceFormat=raw,
interpolate=false,

View File

@ -16,7 +16,7 @@ runApplication reconstructPar -latestTime
runApplication foamPostProcess -latestTime -func "
graphCell
(
funcName=graph,
entryName=graph,
start=(3.4901 0 0),
end=(3.4901 0.0096 0),
fields=(alpha.gas T.liquid T.gas d.gas)
@ -24,7 +24,7 @@ runApplication foamPostProcess -latestTime -func "
runApplication -append foamPostProcess -latestTime -func "
patchSurface
(
funcName=patchWallBoilingProperties,
entryName=patchWallBoilingProperties,
patch=wall,
surfaceFormat=raw,
interpolate=false,

View File

@ -16,7 +16,7 @@ runApplication reconstructPar -latestTime
runApplication foamPostProcess -latestTime -func "
graphCell
(
funcName=graph,
entryName=graph,
start=(3.4901 0 0),
end=(3.4901 0.0096 0),
fields=(alpha.gas alpha.gas2 alpha.liquid T.liquid T.gas d.bubbles)
@ -24,7 +24,7 @@ runApplication foamPostProcess -latestTime -func "
runApplication -append foamPostProcess -latestTime -func "
patchSurface
(
funcName=patchWallBoilingProperties,
entryName=patchWallBoilingProperties,
patch=wall,
surfaceFormat=raw,
interpolate=false,