Commit Graph

173 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
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
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
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
7175c872e6 ENH: Added FO documentation 2015-11-11 16:10:38 +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
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
d4a2ac2159 STYLE: Updated copyright notices 2015-10-06 14:32:46 +01:00
ec24badb90 ENH: forces/forceCoeffs FOs updated follwing changes to functionObjectFile 2015-10-06 13:11:19 +01:00
5e05479e2a Use basicThermo::dictName rather than hard-coding "thermophysicalProperties" 2015-06-24 10:44:57 +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
b64de49a36 functionObjects/forces: correct upper-limit for bins 2015-03-09 14:33:24 +00:00
3d695a48da functionObjects/forces: limit the bins to handle moving meshes
This approach simply accumulates data outside the range of the bins into
the first or last bin which may be OK for small motions.  For larger
motions it may be better if the bins are updated or operate in a
coordinate system attached to the body for solid-body motion.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1560
2015-03-09 10:40:51 +00:00
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
2aec249647 Updated the whole of OpenFOAM to use the new templated TurbulenceModels library
The old separate incompressible and compressible libraries have been removed.

Most of the commonly used RANS and LES models have been upgraded to the
new framework but there are a few missing which will be added over the
next few days, in particular the realizable k-epsilon model.  Some of
the less common incompressible RANS models have been introduced into the
new library instantiated for incompressible flow only.  If they prove to
be generally useful they can be templated for compressible and
multiphase application.

The Spalart-Allmaras DDES and IDDES models have been thoroughly
debugged, removing serious errors concerning the use of S rather than
Omega.

The compressible instances of the models have been augmented by a simple
backward-compatible eddyDiffusivity model for thermal transport based on
alphat and alphaEff.  This will be replaced with a separate run-time
selectable thermal transport model framework in a few weeks.

For simplicity and ease of maintenance and further development the
turbulent transport and wall modeling is based on nut/nuEff rather than
mut/muEff for compressible models so that all forms of turbulence models
can use the same wall-functions and other BCs.

All turbulence model selection made in the constant/turbulenceProperties
dictionary with RAS and LES as sub-dictionaries rather than in separate
files which added huge complexity for multiphase.

All tutorials have been updated so study the changes and update your own
cases by comparison with similar cases provided.

Sorry for the inconvenience in the break in backward-compatibility but
this update to the turbulence modeling is an essential step in the
future of OpenFOAM to allow more models to be added and maintained for a
wider range of cases and physics.  Over the next weeks and months more
turbulence models will be added of single and multiphase flow, more
additional sub-models and further development and testing of existing
models.  I hope this brings benefits to all OpenFOAM users.

Henry G. Weller
2015-01-21 19:21:39 +00:00
557e7ebda8 ENH: forces FO - porosity calc updated for mesh changes 2014-04-08 11:59:41 +01:00
efb31a501d ENH: forces - issue a warning if porosity effects requested but no models found 2014-02-17 16:44:14 +00: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
0ccbf6e722 BUG: Updated output message if porosity present 2014-01-14 09:55:08 +00:00
5b1deefafd BUG: forces - scatter result to all procs - mantis #1043 2014-01-13 15:00:11 +00:00
659249064f ENH: Function object updates 2014-01-03 10:37:08 +00:00
5ffda9b52b sixDoFRigidBodyMotion: Created separate library
Added sixDoFRigidBodyMotionSolver using septernion interpolation for mesh-morphing
2013-12-08 21:59:40 +00:00
7c54adb178 sixDoFRigidBodyMotion: support acceleration relaxation and damping 2013-12-06 15:41:17 +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
50c1360e79 ENH: forces, forceCoeffs: updated header documentation 2013-11-19 13:52:53 +00:00
e6108fa205 forces: switch-off logging by default 2013-11-06 23:20:23 +00:00
7ecf8fa307 Update headers 2013-10-31 10:23:28 +00:00
6df8f705ae 6-DoF solid body motion: Support PIMPLE iteration and acceleration relaxation 2013-10-31 10:22:26 +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
efa127642d ENH: forces - removed unused entry 2013-08-14 09:52:29 +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