Commit Graph

31 Commits

Author SHA1 Message Date
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
3f7e377240 Minor correction 2015-02-14 11:07:57 +00:00
31fd2512fb GeometricField: Do not transfer registration of a GeometricField to a copy unless it is being transferred from a tmp
This avoids loosing the registration of non-tmp fields
2015-02-13 21:40:45 +00:00
63938fb3d3 decomposePar: Do not register Lagrangian IOFields as the names may conflict with those of volFields
Required change to IOobjectList to support the optional no-registration specification
2015-02-12 21:59:17 +00:00
e636b7c73b Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
ca026b5dc7 Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
e72b2557d5 PolynomialEntry: Templated polynomial DataEntry to support all basic field types from scalar to tensor
This allows polynomial functions for e.g. velocity to be specified in the uniformFixedValue BC

Consider a linear function for Ux(t) with Uy and Uz = 0:

    inlet
    {
        type            uniformFixedValue;
        uniformValue    polynomial
        (
            ((10 0 0)   (0 0 0))
            ((100 0 0)  (1 0 0))
        );
    }

Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1508
2015-02-06 09:57:20 +00:00
0b7c2ee470 registerSwitch: rationalization of info and optimization switch registration
plus support for other than integer types
2015-02-05 18:10:42 +00:00
8e77fbc222 primitiveMeshTools: stabilize with VSMALL rather than SMALL to avoid problems with very small meshes
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1509
2015-02-05 16:31:29 +00:00
02ba39d93c Rationalized handling of debug, info and opt switches 2015-02-05 10:43:10 +00:00
2c25b8db52 Add support for reading and updating the debug switches of templated
classes in the DebugSwitches sub-dictionary of system/controlDict
2015-02-04 22:08:27 +00:00
0296a4ed9e Updated headers 2015-02-04 16:33:26 +00:00
a716ef7d82 UILList: Updated 2015-02-04 16:33:12 +00:00
3b60a97831 POSIX.C findEtcFiles: Revert change to read system/controlDict
Causes problems if the controlDict contains # entries
2015-02-03 11:59:43 +00:00
baf914f390 transform: Handle codirectional and contradirectional transformation vectors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=416
2015-02-02 09:44:59 +00:00
d77218b427 POSIX/debug: Add ./system on the list of etc directories
in particular to pick-up the DebugSwitches from system/controlDict at
global construction time.

Disadvantage is that system/controlDict is only picked-up if the
OpenFOAM application is executed IN the case directory.  The directory
provided by the -case option is not yet known as the arguments have not
yet been parsed.
2015-02-01 12:34:19 +00:00
2de9246e24 DataEntry/Table: provide dictionary to base-class to allow the specification of outOfBounds
Resolves bug-reports:
    http://www.openfoam.org/mantisbt/view.php?id=888
    http://www.openfoam.org/mantisbt/view.php?id=788
2015-01-22 13:32:30 +00:00
93732c8af4 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
04d4f75f70 thermophysicalModels: Resolve issue with the construction of RR from physicoChemicalConstants which may or may not be already constructed
Solution: Move RR, Pstd and Tstd used by specie into thermodynamicConstants constructed in global.C
in the OpenFOAM library
2015-01-21 09:35:38 +00:00
2028973e19 MeshObject: Improved diagnostics 2015-01-08 10:38:25 +00:00
5d058dacdb Updated headers 2015-01-04 20:15:16 +00:00
097f23e11a Added support for glibc < 2.18
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1474
2015-01-04 20:13:37 +00:00
cedd21599b Added InfoSwitches::writeOptionalEntries which enables the writing of optional keywords and values which are not present in the dictionary
Warning: generates a VERY large number of messages from OpenFOAM applications
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1473
2015-01-03 16:54:07 +00:00
ee6f3909bd LduMatrixOperations: Added support for scaling symmetric matrices
Note: non-uniform scaling of a symmetric matrix generates an asymmetric matrix
2015-01-02 19:20:19 +00:00
237e6f4fa5 lduMatrixOperations: Added support for scaling symmetric matrices
Note: non-uniform scaling of a symmetric matrix generates an asymmetric matrix
2015-01-02 15:38:52 +00:00
3058a8df7e Updated headers 2015-01-01 13:43:17 +00:00
fef662401a primitiveMesh::pointInCellBB: Inflate the cell isotropically to handle anisotropic cells more robustly 2015-01-01 13:42:13 +00:00
3745eac109 Updated headers 2014-12-31 19:08:15 +00:00
2a614865ff 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
3dd3e6157c Resolve issues relating to compilation with clang-3.5.0 2014-12-15 22:38:10 +00:00
446e5777f0 Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00