Commit Graph

681 Commits

Author SHA1 Message Date
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
8a724e82a9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-09 11:02:22 +00:00
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
28b3d2ec77 ENH: fieldCoordinateSystemTransform: corrected header and dictionary. Fixes #21. 2015-12-09 09:27:34 +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
34ecb74654 Merge branch 'feature-FO_execute_on_end' into 'develop'
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()

See merge request !24
2015-12-07 15:26:51 +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
736621b945 fvOptions: Reorganized and updated to simplify use in sub-models and maintenance
fvOptions are transferred to the database on construction using
fv::options::New which returns a reference.  The same function can be
use for construction and lookup so that fvOptions are now entirely
demand-driven.

The abstract base-classes for fvOptions now reside in the finiteVolume
library simplifying compilation and linkage.  The concrete
implementations of fvOptions are still in the single monolithic
fvOptions library but in the future this will be separated into smaller
libraries based on application area which may be linked at run-time in
the same manner as functionObjects.
2015-12-02 11:49:52 +00:00
f0c5d3380d Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-01 15:44:15 +00:00
c02a29411e ENH: fluxSummary: move region count to debug scope 2015-12-01 15:43:29 +00:00
bd737621a0 ENH: fluxSummary function object - added faceZone area output on construction 2015-12-01 15:34:25 +00:00
aef2fd5ef4 BUG: scalarTransport: force early creation of transported field
Some bcs (e.g. humidity) use an external transported field so this needs
to be registered asap.
2015-11-30 12:16:05 +00:00
7cb12e208d STYLE: streamLineBase: DOS line endings 2015-11-29 06:17:57 +00:00
e6daf7825c Merge branch 'feature-turbulence' into 'develop'
Feature turbulence

Turbulence updates from our internal development line:
- Added DESModel base class for DES models
- Moved DES models to separate DES directory
- Added DESModelRegions function object
- Updated porousBafflePressure BC to use DataEntry class for D and I inputs
- Documentation updates

See merge request !17
2015-11-27 16:59:58 +00:00
ecdfe31f2d ENH: Added new DESModelRegions function object from internal dev line
Object generates an indicator field for DES turbulence models to show
in which regions LES or RAS modelling is active.
2015-11-27 15:30:26 +00:00
99bdd2c1d7 ENH: signals: refactored to make static methods
The signal handling can now be set and unset. This latter is important
for external libraries (e.g. VTK/OpenGL) that do not work with it.
2015-11-27 12:14:14 +00:00
b784c09af1 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-27 08:32:44 +00:00
c0391a54cf BUG: Added missing Make rule to build graphics function object 2015-11-27 08:32:39 +00:00
8d5800c5f8 ENH: externalCoupled: changed to non-OutputFilter functionObject.
- moved control to functionObject (from bc)
- this allows multi-region support
- see heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater tut
- generalisation of streamed reading/writing of specialised bcs
2015-11-26 13:04:06 +00:00
3e7375e061 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 10:20:35 +00:00
cfe8704418 BUG: streamLine function object - added missing file to Make/files 2015-11-26 10:13:54 +00:00
6cd823494e GIT: Resolve comflict on pull from remote 2015-11-26 09:26:02 +00:00
c383d05686 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 09:24:15 +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
6c1b2f4edc ENH: forces|forceCoeffs - updated header documentation to include porosity effects. Fixes #6 2015-11-25 08:22:13 +00:00
7b23ac7503 ENH: runTimePostProcessing - updated CMakeLists.txt for cmake > 3 2015-11-25 08:13:27 +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
777b139907 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
Conflicts:
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
2015-11-19 10:40:51 +00:00
916dcb8685 ENH: parallel: overhaul of parallel mapping
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
6ab06c57e2 STYLE: cellSourceTemplates: line length 2015-11-12 11:02:23 +00:00
7175c872e6 ENH: Added FO documentation 2015-11-11 16:10:38 +00:00
d26b4ee490 ENH: fieldValues FOs updated following update to use functionObjectState 2015-11-11 16:10:01 +00:00
40680a43b1 ENH: Initial commit of new runTimePostProcessing function object
- Allows generation of images (currently PNG files) during the run
- ... or afterwards by invoking the execFlowFunctionObjects utility
- Wrapper around VTK functionality
- Support for objects:
  - text
  - points (glyphs: sphere, arrow)
  - lines (tubes)
  - surfaces (wireframe, shaded, combination)
- Colour using:
  - user-defined
  - field values (several colour maps availale)
- For image sequences:
  - dynamic views (camera movement)
  - objects can appear/disappear using opacity
- Building
  - VTK dependency v6+
  - satisfied using ParaView from ThirdParty directory
  - or separate VTK installation
2015-11-11 12:55:15 +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
78d7482e5b SolverPerformance: Complete the integration of the templated SolverPerformance<Type>
Now solvers return solver performance information for all components
with backward compatibility provided by the "max" function which created
the scalar solverPerformance from the maximum component residuals from
the SolverPerformance<Type>.

The residuals functionObject has been upgraded to support
SolverPerformance<Type> so that now the initial residuals for all
(valid) components are tabulated, e.g. for the cavity tutorial case the
residuals for p, Ux and Uy are listed vs time.

Currently the residualControl option of pimpleControl and simpleControl
is supported in backward compatibility mode (only the maximum component
residual is considered) but in the future this will be upgraded to
support convergence control for the components individually.

This development started from patches provided by Bruno Santos, See
http://www.openfoam.org/mantisbt/view.php?id=1824
2015-11-10 08:50:11 +00:00
ebd9f94a4d functionObjects/utilities/turbulenceFields/turbulenceFields: Added k and epsilon
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1870
2015-10-17 15:20:10 +01:00
564598452f ENH: pressureTools FO - updated header documentation 2015-10-12 17:06:41 +01:00
c20bb23de0 ENH: IO FOs - moved documentation to doc sub-directory 2015-10-07 13:29:10 +01:00
69f0b4dcc4 ENH: forces FO - moved documentation to doc sub-directory 2015-10-07 13:21:08 +01: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
bc00be2c9a ENH: forces FO updated following update to use functionObjectState
Properties stored in state dictionary:
- normalForce
- tangentialForce
- porousForce
- normalMoment
- tangentialMoment
- porousMoment
2015-10-07 13:02:44 +01:00
137668ba81 ENH: fieldMinMax FO updated following update to use functionObjectState
Properties stored in state dictionary:
- minimum value: min<identifier>
- position of minimum value: min<identifier>_position
- processor ID of minimum value: min<identifier>_processor
- maximum value: max<identifier>
- position of maximum value: max<identifier>_position
- processor ID of maximum value: max<identifier>_processor
2015-10-06 15:32:01 +01:00
9b10608715 ENH: fieldAverage FO updated following update to use functionObjectState 2015-10-06 15:21:24 +01:00
7760d19c86 ENH: field function objects - moved documentation to doc sub-directory 2015-10-06 14:58:13 +01:00
e8c239ed2f ENH: Function object documentation updates for evaluateControl 2015-10-06 14:53:56 +01:00
f9ce017f21 ENH: cloudInfo FO - moved documentation to doc sub-directory 2015-10-06 14:51:34 +01:00
d8e8cdae97 ENH: fieldValues FO updated follwing changes to functionObjectFile 2015-10-06 14:36:18 +01:00
d4a2ac2159 STYLE: Updated copyright notices 2015-10-06 14:32:46 +01:00