mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
faceSource: Writing the total area of the faceSource (sum(magSf)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
writeTotalArea yes;
The initial total area is written in the log and data file header e.g.:
# Source : faceZone f0
# Faces : 8
# Area : 1.063860e-02
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
awk '{print $1 " " $4}' postProcessing/poolHeight/0/faceSource.dat > poolHeight_vs_time
|
||||
awk '{print $1 " " $3}' postProcessing/poolHeight/0/faceSource.dat > poolHeight_vs_time
|
||||
|
||||
@ -75,6 +75,7 @@ functions
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
log yes;
|
||||
writeTotalArea no;
|
||||
valueOutput no;
|
||||
source faceZone;
|
||||
sourceName f0;
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
awk '{print $1 " " $4}' postProcessing/poolHeight/0/faceSource.dat > poolHeight_vs_time
|
||||
awk '{print $1 " " $3}' postProcessing/poolHeight/0/faceSource.dat > poolHeight_vs_time
|
||||
|
||||
@ -75,6 +75,7 @@ functions
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
log yes;
|
||||
writeTotalArea no;
|
||||
valueOutput no;
|
||||
source faceZone;
|
||||
sourceName f0;
|
||||
|
||||
Reference in New Issue
Block a user