Skip to content
Snippets Groups Projects
Commit 242143be authored by mattijs's avatar mattijs
Browse files

ENH: multiRegionHeater: added function objects on region

parent 1a8cceea
No related branches found
No related tags found
No related merge requests found
......@@ -18,5 +18,6 @@ rm -rf constant/topAir/polyMesh
rm -rf constant/heater/polyMesh
rm -rf constant/leftSolid/polyMesh
rm -rf constant/rightSolid/polyMesh
rm -rf topAir_maxX topAir_minX
# ----------------------------------------------------------------- end-of-file
......@@ -45,4 +45,74 @@ timePrecision 6;
runTimeModifiable true;
functions
{
topAir_minX
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl outputTime;
region topAir;
// Output to log&file (true) or to file only
log true;
// Output field values as well
valueOutput false; //true;
// Type of source: patch/faceZone/sampledSurface
source patch;
// if patch or faceZone: name of patch or faceZone
sourceName minX;
// Operation: areaAverage/sum/weightedAverage ...
operation areaIntegrate;
fields
(
p
phi // surface fields not supported for sampledSurface
U
);
}
topAir_maxX
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl outputTime;
region topAir;
// Output to log&file (true) or to file only
log true;
// Output field values as well
valueOutput false; //true;
// Type of source: patch/faceZone/sampledSurface
source patch;
// if patch or faceZone: name of patch or faceZone
sourceName maxX;
// Operation: areaAverage/sum/weightedAverage ...
operation areaIntegrate;
fields
(
p
phi // surface fields not supported for sampledSurface
U
);
}
}
// ************************************************************************* //
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment