Commit Graph

87 Commits

Author SHA1 Message Date
b9313ef2fe ENH: Consistency updates after Foundation merge and code tidying 2016-04-25 16:46:56 +01:00
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
a592347b91 BUG: functionObjectState required update when accessed via execFlowFunctionObjects- fixes #54 2016-04-22 13:01:21 +01:00
e57874859a Updated Doxygen documentation and files
Contributed by Bruno Santos
Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023

Update online documentation http://openfoam.github.io/Documentation-dev/html/
2016-03-14 11:00:24 +00:00
95d146ecdf Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
53053fed78 STYLE: Consistency update in OpenCFD copyright text 2015-12-08 22:29:28 +00:00
eafd5a3850 ENH: Updated Info, Warning and Error messages 2015-12-08 11:15:39 +00:00
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
3e5da0bcf2 ENH: functionObjects: call execute on last time step
- old convention was that on last time step it would only call end()
and not execute()
- however this meant that e.g. the functionObjectProperties file
did not get written
- and almost all functionObjects were doing an execute() inside of end()
- new convention: call execute() on last time step, just before doing end()
2015-12-03 17:39:34 +00:00
7fe531bde5 ENH: OutputFilter function object updates from internal development line 2015-12-01 15:22:13 +00:00
6838df9cd2 ENH: Multiple updates to function objects
Updated objects
- corrected Peclet number for compressible cases
- propagated log flag and resultName across objects

New function objects
- new fluxSummary:
  - calculates positive, negative, absolute and net flux across face
    zones
- new runTimeControl
  - abort the calculation when a user-defined metric is achieved.
    Available options include:
    - average value remains unchanged wrt a given threshold
    - equation initial residual exceeds a threshold - useful to abort
      diverging cases
    - equation max iterations exceeds a threshold - useful to abort
      diverging cases
    - min/max of a function object value
    - min time step exceeds a threshold - useful to abort diverging
      cases
- new valueAverage:
  - average singular values from other function objects, e.g. Cd, Cl and
    Cm from the forceCoeffs function object
2015-11-25 17:19:06 +00:00
f900abd83b 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
a4ab3f61db src/OpenFOAM: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-08 12:23:52 +00:00
42fb1b9e8e Updated notImplemented -> NotImplemented
The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
2015-11-01 10:26:37 +00:00
b3f7637bfe STYLE: Updated copyright notices 2015-10-06 12:06:11 +01:00
d2bec46656 ENH: Added state dictionary to functionObjectList
Note: added as a pointer since the list operates in multiple modes, e.g.
as constructed by the Time database and 'outside' by
execFlowFunctionObjects
2015-10-06 11:47:58 +01:00
9a9f32ead8 ENH: Refactored functionObjectFile class
Class now provides helper functions to generate files on-the-fly by
function objects, as opposed to attempting to control all files needed
by the function object (earlier implementation lead to over-complication
and was error prone)
2015-10-05 15:11:12 +01:00
acaa18be6c ENH: Added new functionObjectState class
This new class provides function objects with a database (dictionary)
to store current state information to enable smooth restart behaviour.
Additionally, current results can be stored so that they can be accessed
between different objects.
2015-10-05 15:10:23 +01:00
8234c04bc2 functionObjectFile: Use wordList rather than wordHashSet to maintain order
Change based on patch provided by Hassan Kassem
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1796
2015-08-05 17:38:31 +01:00
94401af010 Resolved issues with virtual function inheritance and warning from clang
Also removed __GNUC__ conditional compilation statements which are no
longer needed.
2015-07-17 12:11:37 +01:00
083d7059fc 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
2015-04-26 16:32:19 +01:00
f107eba31e BUG: Adding default value for nStepsToStartTimeChange 2014-08-27 15:48:57 +01:00
df099b7fb3 BUG: functionObjectFile - updated parallel ops - mantis #1242 2014-05-12 15:12:10 +01:00
d648760ead Update headers 2014-01-30 13:02:02 +00:00
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
bb49d35619 BUG: Added missing file 2013-11-29 15:54:55 +00:00
d2e54ceff1 STYLE: minor code formatting 2013-11-29 15:02:16 +00:00
d24bc269f2 ENH: output function objects - added evaluateControl 2013-11-29 09:24:11 +00:00
636215a0ea ENH: functionObjects - updated writing to file 2013-11-25 10:52:20 +00:00
18ae63051b ENH: functionObjectFile - added standardised function for writing values 2013-11-25 10:51:44 +00:00
db4852117d COMP: outputFilterControl: const access 2013-11-19 17:03:04 +00:00
184a4c7c67 BUG: Output funcion objects - always call end() 2013-10-04 16:43:49 +01:00
2d773bc089 ENH: adding hook adjustTimeStep to function objects. The hook is called in
Time::adjustDeltaT(). It allows function objects to manipulate the time step to
    dump at adjustable times. The following options are available for output in
    function objects: timeStep, outputTime, adjustableTime, runTime, clockTime
    and cpuTime.
2013-09-09 14:13:21 +01:00
0de6c01a7c BUG: functionObjectFile - file pointer index was not being incremented 2013-07-26 15:23:25 +01:00
a50d78ea93 EMH: Adding a hook to functionObject called 'timeSet' at the
end of Time::operator++. This allows to know if the next timeIndex will be
a dumping time. The function object "partialWrite" modifyes the write option
of the those fields which will be written down at given intervals of the overall
outout times.
2013-06-07 10:11:07 +01:00
490bc35655 BUG: Corrected forces function object calc and file output on change - mantis #773 2013-03-12 17:35:23 +00:00
98447ed2e2 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-12-13 10:40:54 +00:00
6aba1d08f8 ENH: Updated moving mesh support in function objects 2012-12-13 10:39:43 +00:00
8e968f5647 STYLE: debug: move debug declaration into Foam namespace 2012-12-11 09:33:20 +00:00
9ccd5809b8 BUG: sampleDict: missing type 2012-12-05 15:21:00 +00:00
ea774d8a97 BUG: Incorrectly sized list of OFstream 2012-11-20 18:05:32 +00:00
97b08a9b13 BUG: Use copy instead of reference 2012-11-20 18:05:10 +00:00
00da60e51c ENH: Updated scope for NamedEnum 2012-11-16 13:25:19 +00:00
90be0ef222 ENH: Added access function to 'names' 2012-10-16 11:51:01 +01:00
967e389e94 ENH: Added mesh name to path of not using default region 2012-10-16 10:38:21 +01:00
f4ee6e1418 ENH: Added helper function for function objects to return output folder for current time value 2012-10-16 10:17:56 +01:00
eda58a4b69 ENH: made local member data private 2012-10-15 18:14:39 +01:00
d8321469e9 ENH: Added base class for function objects that generate text files 2012-10-15 17:56:36 +01:00
8489de277d GIT: conflict resolution 2012-09-17 12:03:11 +01:00