Commit Graph

726 Commits

Author SHA1 Message Date
Henry Weller
7ec6f28c49 Added support for ParaView-5.0.0
PV4FoamReaders: Updated to build with ParaView-5.0.0
paraFoam: Updated to load PV4FoamReaders for ParaView-5.0.0

Currently this is experimental but if it becomes clear that ParaView-4
and ParaView-5 are and will remain consistent with respect to readers
the plan is to rename

PV4 -> PV

or

PV4 -> PV45 if it is assumed that PV6 may need to be different.
2016-02-08 10:03:55 +00:00
Henry Weller
a9bb9c3b99 Updated header 2016-02-07 13:34:03 +00:00
Henry Weller
d1387a8563 DataEntry: Created the DataEntryTypes namespace for all the concrete DataEntry types
to avoid name conflicts with these primitive names in the OpenFOAM namespace
2016-02-07 13:32:38 +00:00
Henry Weller
a55db28a06 rawSurfaceWriter: Added support for compressed output
Patch provided by Armin Wehrfritz
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=843
2016-02-02 20:22:27 +00:00
Henry Weller
9de3a4280e foamToVTK: Default to ASCII format when WM_LABEL_SIZE=64
Based on patch provided by Alexey Matveichev
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1975
2016-01-19 16:28:23 +00:00
Henry Weller
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
Henry Weller
4eba393fe1 Update code to use the simpler C++11 template syntax 2016-01-10 19:20:16 +00:00
Henry Weller
acb9ec8b46 wmake/rules: Add -std=c++0x to formally enable support for of C++11 features
The c++0x is used rather than c++11 to support gcc-4.5.?
2016-01-10 19:17:31 +00:00
Henry Weller
95687c59ec wallShearStress: Now may be used with any turbulence model (laminar, RAS or LES/DES)
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1939
2015-12-03 09:15:09 +00:00
Henry Weller
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
Henry Weller
ac2a275a75 wallHeatFlux: Corrected sign of radiative heat-flux
Corrects feature-request http://www.openfoam.org/mantisbt/view.php?id=1856
Patch provided by Juho Peltola
2015-12-02 11:47:11 +00:00
Henry Weller
ba2f46f12a applications: Added fvOptions library to link 2015-12-01 16:09:19 +00:00
Henry Weller
d968ee30e1 TurbulenceModels: Improved instantiation of single-phase models in solvers
Simplifies lookup of RAS or LES models
2015-11-18 21:10:03 +00:00
Henry Weller
22a4b5776b createTurbulenceFields: Specification of turbulence fields now command-line option
Usage: createTurbulenceFields [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -constant         include the 'constant/' dir in the times list
  -fields <wordReList>
                    specify which turbulence fields (k, epsilon, omega, R) to
                    write - eg '(k omega)' or '(R)' or '(.*)'.
  -latestTime       select the latest time
  -newTimes         select the new times
  -noFunctionObjects
                    do not execute functionObjects
  -noZero           exclude the '0/' dir from the times list, has precedence
                    over the -withZero option
  -parallel         run in parallel
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1912
2015-11-13 10:55:34 +00:00
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry Weller
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
Henry Weller
42b3f1c9dc wallHeatFlux: Add support for radiative and total heat-fluxes
Patch provided by Daniel Jasinski
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1856
2015-10-30 14:32:26 +00:00
Henry Weller
557c8adba8 Added "-region" option to wallGradU, temporalInterpolate and pPrime2
Patches provided by Bruno Santos
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1861
2015-10-05 11:33:13 +01:00
Henry Weller
4c9eb4c2e9 ptot: Add support for -region
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1227
Patch provided by Bruno Santos
2015-09-28 15:34:37 +01:00
Henry Weller
9f697a5b65 utilities/postProcessing/noise: Corrected documentation
Patches provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1832
2015-08-19 11:37:27 +01:00
Henry Weller
19dcf83b6a paraFoam: add support for system/blockMeshDict with the -block option
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1803
2015-08-01 18:36:00 +01:00
Henry Weller
91e04d69c1 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
Henry Weller
c981db68c7 sampledPlane: Correct handling of coordinate system specification
Patches provided by Timm Severin
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1764
2015-06-25 22:04:00 +01:00
Henry Weller
ad40e110df Update headers 2015-06-24 10:45:42 +01:00
Henry Weller
5e05479e2a Use basicThermo::dictName rather than hard-coding "thermophysicalProperties" 2015-06-24 10:44:57 +01:00
Henry Weller
b73fe0d4c3 utilities/postProcessing: Automate the selection of incompressible/compressible modes 2015-06-24 10:44:02 +01:00
Henry Weller
5c6203309b timeSelector: Add support for -newTimes option
//- Return the set of times selected based on the argList options
    //  including support for \b -newTimes in which times are selected
    //  if the file <fName> does not exist in the time directory.
    //  Also set the runTime to the first instance or the
    //  \c constant/ directory if no instances are specified or available
    static instantList select
    (
        Time& runTime,
        const argList& args,
        const word& fName
    );

This is experimental functionality and currently on test in the yPlus
post-processing utility.
2015-06-24 10:04:29 +01:00
Henry Weller
b7cfd08fcb Update headers 2015-06-23 11:27:05 +01:00
Henry Weller
87f6977bcb Removed support for the legacy SiCortex64 architecture 2015-06-23 11:26:45 +01:00
Henry Weller
35c53a0ee8 createTurbulenceFields: Construct fields and turbulence model for every time step processed
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1749
2015-06-16 12:49:02 +01:00
Henry
605b3ff820 streamFunction: Evaluate which coordinate plan the 2D geometry is in filter-out the normal component
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1703
2015-05-22 22:38:39 +01:00
Henry
b5d3f85bd4 functionObjects: Upgrade to use new turbulence modeling library 2015-05-17 14:56:40 +01:00
Henry
9e015293b2 foamListTimes: Added '-rm' option to remove the selected time directories
If -rm is specified with the -processor option the selected time
directories are removed from all the processor directories.
2015-05-08 22:47:31 +01:00
Henry
0795ebed1f execFlowFunctionObjects: Update handling of turbulence models 2015-04-25 16:31:09 +01:00
Henry
48155ba517 Pe: Create and write volScalarField in addition to the surfaceScalarField for ease of post-processing
Update handling of turbulence models
2015-04-25 16:29:54 +01:00
Henry
ebd85bc514 Update header 2015-04-25 15:13:15 +01:00
Henry
82c0cc5312 timeSelector: Rename option zeroTime -> withZero for consistency with the noZero option 2015-04-25 15:12:08 +01:00
Henry
aba8486680 foamListTimes: Change the default behavior to not include 0 in the list
To include 0 use the -zeroTime option
2015-04-25 11:49:49 +01:00
Henry
55d6b41d4b vtkPV?FoamMeshVolume: Corrected conversion of tetWedge to VTK_WEDGE
Thanks to Bruno Santos for analysing and fixing this
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1633
2015-03-29 20:17:45 +01:00
Henry
9cd9a9f364 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
Henry
1845e2014d DSMC: Rationalization and addition of mapping support 2015-02-20 17:24:14 +00:00
Henry
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
2f6d77d5a6 Combine yPlusRAS and yPlusLES into the single utility yPlus
which provides y+ values for the near-wall cells for laminar, LES and RAS
2015-01-21 21:09:34 +00:00
Henry
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
Henry
69ff8aa4d2 wallDist: now a MeshObject cached and updated automatically with a run-time selected algorithm
When using models which require the wallDist e.g. kOmegaSST it will
request the method to be used from the wallDist sub-dictionary in
fvSchemes e.g.

wallDist
{
    method meshWave;
}

specifies the mesh-wave method as hard-coded in previous OpenFOAM versions.
2015-01-08 10:40:23 +00:00
Henry
7c83877181 Updated headers 2015-01-06 17:32:02 +00:00
Henry
4fbf622008 wallDist: separate the meshWaveWallDist from the wallDist interface
In preparation for run-time selectable methods
2015-01-06 17:31:02 +00:00
Henry
ae019fccfa Removed spurious file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1374
2015-01-01 16:27:58 +00:00
Henry
ded2f25726 Updated headers 2014-12-31 19:08:15 +00:00
Henry
325b003b6e Added and verified support for 64bit labels
To compile with 64bit labels set

WM_LABEL_SIZE=64

in ~/OpenFOAM/dev/prefs.sh

source ~/.bashrc

then Allwmake in OpenFOAM-dev.

This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt

If WM_LABEL_SIZE is unset or set to 32:

WM_LABEL_SIZE=32

the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt

Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
Henry
a2f626ade6 execFlowFunctionObjects: Reconstruct functionObjects if the mesh changes
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1452
2014-12-18 17:13:41 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
mattijs
81cc21870d ENH: sampleDict: missing entry 2014-09-03 16:04:38 +01:00
mattijs
78eaf506eb ENH: execFlowFunctionObjects: load dimensionedFields and uniformDimensionedFields 2014-04-29 10:02:22 +01:00
mattijs
7d6ba40e91 ENH: execFlowFunctionObjects: added End printing 2014-04-22 09:44:49 +01:00
sergio
feaa3021b6 STYLE: Updated copyright year 2014-02-21 11:17:31 +00:00
mattijs
59cef386cd BUG: foamToEnsight: handle empty patches 2014-02-20 13:39:56 +00:00
andy
8a564b9c58 ENH: execFlowFunctionObjects - instantiate fvOptions if present 2014-02-17 16:45:37 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
andy
7577971580 ENH: ParaView 4 reader module - vtkPolyhedron not set by default 2014-02-05 16:12:38 +00:00
Henry
d648760ead Update headers 2014-01-30 13:02:02 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
mattijs
3ebfcb672b ENH: PVreaders: generalise Allwmake scripts 2014-01-14 15:18:49 +00:00
andy
f29b56d9b1 ENH: PV4 reader - use button for update gui 2014-01-13 16:49:49 +00:00
andy
11379a0e03 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-13 16:31:13 +00:00
andy
c5f3e206bb ENH: ParaView - use vtkPolyhedron by default 2014-01-13 16:31:10 +00:00
Henry
3fff17bc67 PV4FoamReader: Reinstated GUI update check box 2014-01-13 15:06:59 +00:00
Henry
8a9da0aeac Updated PV4blockMeshReader for ParaView-4.1.0 2014-01-10 12:03:21 +00:00
Henry
011fda6bbe Added support for ParaView-4.1.0
The default ParaView is now 4.0.1 pending completion of testing of 4.1.0
2014-01-10 10:47:18 +00:00
mattijs
1b1392a592 BUG: sample: avoid double registration 2013-12-31 17:39:33 +00:00
Henry
3f5eda25f0 symmetryPlane: add symmetryPlane as a special type of symmetry condition applied to a single plane
The standard/previous general symmetry type is now named symmetry
    both in class and lookup name for consistency.  The rigorous
    symmetryPlane type is needed for moving-mesh cases in which the
    motion it constrained by one or two planes.
2013-12-06 15:45:11 +00:00
mattijs
c8add907aa ENH: foamToVTK: leave VTK directory intact with faceSet, pointSet 2013-11-27 15:23:26 +00:00
mattijs
407889aeb4 ENH: sampleDict: updated comment 2013-11-13 11:41:30 +00:00
mattijs
8712b8276e BUG: foamToEnsight: reset facePrimitives 2013-10-18 16:19:33 +01:00
mattijs
20a3d67c93 STYLE: various: small coding issues 2013-10-14 14:48:05 +01:00
mattijs
198d0ebc6f ENH: foamToEnsight: cellZone support 2013-09-11 09:31:20 +01:00
mattijs
90a8332ffb ENH: foamToEnsight: add cellZone support 2013-09-05 16:25:03 +01:00
Henry
9a8d75df11 Merge branch 'master' of ssh://opencfd:8007/home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-02 22:51:19 +01:00
Henry
3e12a89a04 Check mesh is 2D and scale resulting steam-function by the thickness 2013-09-02 22:51:15 +01:00
andy
0d13d8f1fc Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-02 14:25:35 +01:00
mattijs
491e4821d0 ENH: plane sampling: make triangulation optional 2013-09-02 11:12:17 +01:00
andy
668cd823b5 BUG: corrected steadyParticleTracks utility 2013-08-29 17:24:30 +01:00
andy
7c3d2ec15e ENH: Updated R utility to include compressible cases 2013-08-23 14:19:32 +01:00
mattijs
eb0100ff8f COMP: temporalInterpolate: avoid implicit instant creation 2013-08-14 09:33:55 +01:00
mattijs
401b2624f9 COMP: foamToEnsight: missing include dir 2013-08-13 15:30:58 +01:00
mattijs
472fbded89 BUG: ensight: symmTensor writing 2013-08-13 10:19:10 +01:00
mattijs
12c7ba9dce BUG: execFlowFunctionObjects: accessing out-of-scope dictionary 2013-07-05 10:22:45 +01:00
andy
bb69f0d87a ENH: improved documentation for noise utility 2013-06-17 17:41:44 +01:00
andy
0b94582a9a ENH: Updated paraview 3.98->4 2013-06-17 16:48:24 +01:00
Henry
77ecd66a3d Pe: Correct expressions for laminar flow (incompressible and compressible) 2013-06-11 13:07:44 +01:00
mattijs
88ceb57654 BUG: foamToEnsight: 4 digit files 2013-05-20 09:29:51 +01:00
andy
92dcc69fa8 ENH: Code clean-up 2013-05-03 17:57:43 +01:00
andy
9ebd8a851a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-05-03 17:33:37 +01:00
andy
c52a2900e7 ENH: Updated syntax change due to wordRe cunstructors 2013-05-03 10:39:38 +01:00
mattijs
a0fc2bc0f2 ENH: writeCellCentres: dump cell volume, patch face area 2013-05-02 12:51:29 +01:00
mattijs
cecf469ed4 COMP: vtkPV3FoamMesh: adapted for wordRe 2013-04-12 12:25:17 +01:00
andy
1b1cb83348 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-04-11 09:53:26 +01:00