Henry Weller
3cd9b4f5d7
Change field loop index from "fieldI" to "fieldi"
2016-05-02 18:20:48 +01:00
Henry Weller
f83975a701
functionObjects: Moved into the functionObjects namespace and rationalized and simplified failable construction
...
Rather than requiring each functionObject to handle failed construction
internally (using the active_ flag) the static member function "viable"
is provided which returns true if construction of the functionObject is
likely to be successful. Failed construction is then handled by the
wrapper-class which constructs the functionObject,
e.g. "OutputFilterFunctionObject".
2016-05-02 16:28:24 +01:00
Henry Weller
7155ef61ae
functionObjectFile: Separated into functionObjectFile and functionObjectFiles
...
functionObjectFile provides basic directory, file and formatting functions
functionObjectFiles provides multi-file cache
2016-04-30 09:18:42 +01:00
Henry Weller
016aad0d72
functionObjects: Format time according to the specification in controlDict
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1921
2015-11-20 13:22:51 +00:00
Henry Weller
5e6a7ea282
Completed update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
Henry
d9090fcf42
messageStream: Remove confusing argument-based conditional output
...
This had been used in functionObjects:
Info(log)<< "messages" << data << ....
in which it is not at all clear what the "log" argument does whereas
if (log) Info<< "messages" << data << ....
is totally clear and more efficient.
2015-05-18 11:54:56 +01:00
Henry
8dee55bc99
fieldMinMax: add optional switch to control the output of max/min location
...
and simplify output format for graphing
With "location yes;"
log:
fieldMinMax fieldMinMax output:
min/max(mag(U.air)) = 0 28.309442
min/max(mag(U.water)) = 0 27.221734
file:
# Field minima and maxima
# Time min(U.air) max(U.air) min(U.water) max(U.water)
4.00061050e-01 0.00000000e+00 2.87015987e+01 0.00000000e+00 2.71025731e+01
4.00134265e-01 0.00000000e+00 2.86505310e+01 0.00000000e+00 2.71134246e+01
4.00222098e-01 0.00000000e+00 2.85937449e+01 0.00000000e+00 2.71255302e+01
With "location no;"
log:
fieldMinMax fieldMinMax output:
min(mag(U.air)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
max(mag(U.air)) = 28.701599 at location (-0.24002836 0.0053456235 3.8964638)
min(mag(U.water)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
max(mag(U.water)) = 27.102573 at location (-0.24002836 0.0053456235 3.8964638)
file:
# Field minima and maxima
# Time field min location(min) max location(max)
4.00061050e-01 U.air 0.00000000e+00 (-5.83734226e-02 -1.53766281e-01 2.10173892e-02) 2.87015987e+01 (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
4.00061050e-01 U.water 0.00000000e+00 (-5.83734226e-02 -1.53766281e-01 2.10173892e-02) 2.71025731e+01 (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
2015-05-05 15:41:32 +01:00
Henry
446e5777f0
Add the OpenFOAM source tree
2014-12-10 22:40:10 +00:00