Commit Graph

48 Commits

Author SHA1 Message Date
7572c99c79 GIT: Resolve conflict 2016-06-10 16:05:48 +01:00
cfcaaa85e4 BUG: forces/forceCoeffs - corrected behaviour for case that input fields are not available. Fixes #107 2016-04-28 14:23:38 +01:00
158a925235 ENH: Updated xxx::zero->Zero 2016-04-28 14:17:06 +01:00
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
8c6fa81eba vector::zero -> Zero 2016-04-16 18:34:41 +01:00
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +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
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
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
c4d5f65a10 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
2a7fe0294c ENH: forceCoeffs FO updated following update to use functionObjectState
Properties stored in state dictionary:
- Moment coefficient: Cm
- Drag coefficient: Cd
- Lift coefficient: Cl
- Front lift coefficient: Cl(f)
- Rear lift coefficient: Cl(r)
2015-10-07 13:11:01 +01:00
ec24badb90 ENH: forces/forceCoeffs FOs updated follwing changes to functionObjectFile 2015-10-06 13:11:19 +01:00
afe7e3eee9 Update headers 2015-05-18 12:10:10 +01:00
dd04dd9c2c 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
6d19668f8f forces: write in OpenFOAM ListList format so they can be read by the OpenFOAM parser 2014-01-14 23:09:03 +00:00
659249064f ENH: Function object updates 2014-01-03 10:37:08 +00:00
5f21e8ca88 ENH: force/Coeffs - added writing of bin co-ordinates to output 2013-11-26 12:31:58 +00:00
636215a0ea ENH: functionObjects - updated writing to file 2013-11-25 10:52:20 +00:00
837ca32397 ENH: function obejct updates 2013-10-04 16:44:58 +01:00
27c830958e ENH: forces/forceCoeffs function objects - name output 2013-09-25 16:43:00 +01:00
4a37b52dca Revert "ENH: Updated forces and forceCoeffs bin writing"
This reverts commit 1e711927a7.
2013-09-25 16:12:06 +01:00
1e711927a7 ENH: Updated forces and forceCoeffs bin writing 2013-07-29 13:09:41 +01:00
2952c7c150 ENH: Updated forces and forceCoeffs so that p and U fields need not exist on construction 2013-07-26 16:08:05 +01:00
d1b98c0d23 ENH: forcesCoeffs - updated writing of data to file 2013-07-26 15:24:42 +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
02a3327998 ENH: Extended forces and forceCoeffs to include porosity contributions 2013-05-08 17:19:09 +01:00
662f67cd61 BUG: forceCoeffs: corrected calculation of Clf and Clr 2013-02-15 12:43:58 +00:00
b1a6e58a2b ENH: forces/forceCoeffs: added cumulative option to bin collection 2013-02-15 12:38:54 +00:00
100a25ee25 STYLE: defineDebug: move into Foam namespace 2012-12-17 17:35:42 +00:00
47a746b2c1 ENH: Updates to function objects 2012-10-16 10:47:21 +01:00
a5c00e8972 ENH: Updated location of forces/forceCoeffs output 2012-10-16 10:01:19 +01:00
72d49281ce ENH: Refactored function objects to make use of new base class 2012-10-15 17:59:38 +01:00
4ad23cfed4 ENH: forceCoeffs function object - added data output into bins 2012-09-24 12:39:04 +01:00
6a177418a0 ENH: Added output of front/rear lift coeffs to forceCoeffs function object 2012-03-14 12:27:50 +00:00
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
d79237597e STYLE: Fixing code style requirements for all src. 2010-07-28 13:31:46 +01:00
a30f977dc5 STYLE: avoid namespace { ... } in functionObject source code 2010-04-09 14:09:42 +02:00
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
fee6e312b9 Time and functionObject updated for end()
- added end() method to functionObject, functionObjectList & associated classes
- moved outputFilters from src/sampling -> src/OpenFOAM/db/functionObjects
2009-02-17 12:48:10 +01:00
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
894f8f3b13 moving function objects to functionObjects sub-folder 2008-12-19 15:44:26 +00:00