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:
Henry
2015-04-26 16:32:19 +01:00
parent 2e9a3903cd
commit db4ac98fd8
8 changed files with 56 additions and 28 deletions

View File

@ -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

View File

@ -75,6 +75,7 @@ functions
outputControl timeStep;
outputInterval 1;
log yes;
writeTotalArea no;
valueOutput no;
source faceZone;
sourceName f0;

View File

@ -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

View File

@ -75,6 +75,7 @@ functions
outputControl timeStep;
outputInterval 1;
log yes;
writeTotalArea no;
valueOutput no;
source faceZone;
sourceName f0;