Commit graph

1153 commits

Author SHA1 Message Date
openfoam-maintainance
a78f5ad238 Add a check that only the Time-instance that created the
profilingPool-singleton also destroys it (for programs with more than one
Time-instance)

Also protect the initiation and destruction of the singleton so that only a
Time-instance can do this
2015-05-21 18:25:07 +02:00
openfoam-maintainance
1bd5ad31d3 Let Time destroy the profilingPool-Singleton in the end. This removes messages
from valgrind about unfreed memory (the amount of memory was O(1) - no growth
over time)
2015-05-21 17:49:43 +02:00
Hrvoje Jasak
4c8a660d1c Merge fixes 2015-05-19 09:54:07 +01:00
Dominik Christ
a9fefbe25b FEATURE: cfMesh library structure cleanup. Author: Dominik Christ. Merge: Dominik Christ. 2015-05-15 11:28:36 +01:00
Dominik Christ
aaf37ce513 FEATURE: Global control switches can now be used as command line parameters (see full commit description). Author: Martin Beaudoin (contribution by Hrvoje Jasak). Merge: Dominik Christ.
This is a major modification to the definition and handling of global control switches, namely the DebugSwitches, InfoSwitches, OptimisationSwitches, Tolerances and DimensionedConstants defined in the
Those values are now defined as objects, and are no longer defined using simple types like scalar or int.
It is now possible to override any of those control switches from the command-line, like this:
simpleFoam -help
Usage: simpleFoam [-DebugSwitches key1=val1,key2=val2,...] [-DimensionedConstants key1=val1,key2=val2,...] [-InfoSwitches key1=val1,key2=val2,...] [-OptimisationSwitches key1=val1,key2=val2,...] [-Tol
or
simpleFoam -DebugSwitches fvVectorMatrix=1,fvScalarMatrix=1
The 'banana' test is also implemented in order to dump the list of all the known control switches for a given application. One can use any bogus key name in order to get the list:
simpleFoam -DebugSwitches banana=1

The global controlDict file '$WM_PROJECT_DIR/etc/controlDict' is gone. One can still use a file to override a whole bunch of control switches by using the environment variable FOAM_GLOBAL_CONTROLDICT

One can also override case specific controlSwitches by using the case system/controlDict file.

Here is the order of precedence for the definition/overriding of the control switches, from lowest to highest:
- source code definitions from the various libraries/solvers
- file specified by the env. variable FOAM_GLOBAL_CONTROLDICT
- case's system/controlDict file
- command-line parameters

The application 'foamDebugSwitches' is gone. Instead, one can use the command-line option '-dumpControlSwitches' to print at the console the full list of control switches for a given application. The

At the source code level, when creating a control switch object, one can now add an optional description string in order to document its behaviour or purpose. That string description will be written a

Martin Beaudoin

Reorganisation of global controlDict by Hrvoje Jasak.
2015-05-15 10:21:39 +01:00
Hrvoje Jasak
66632c794e Removed error message 2015-05-14 23:29:00 +01:00
Hrvoje Jasak
b2cab2462e Post-merge clean-up 2015-05-14 22:24:17 +01:00
Hrvoje Jasak
c036910811 Added repactCoverage topo changer 2015-05-14 20:49:06 +01:00
Hrvoje Jasak
e054cad9be Global controlDict pre-merge. 2015-05-14 20:31:22 +01:00
Hrvoje Jasak
a2300be5f9 Formatting 2015-05-14 11:18:46 +01:00
Hrvoje Jasak
6661bc2412 Merge commit 'bd947865f2881af1c52b458aa6b6b1b1844ce254' into nextRelease
Conflicts:
	ListOfContributors
	applications/solvers/compressible/sonicDyMFoam/eEqn.H
	applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/Make/options
	src/coupledMatrix/coupledLduMatrix/coupledLduMatrix.C
	src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/coupledMesh/dynamicTopoFvMeshCoupled.C
	src/finiteVolume/fields/fvPatchFields/basic/basicSymmetry/basicSymmetryFvPatchScalarField.C
	src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C
	src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.H
	src/foam/fields/PointPatchFields/constraint/processor/ProcessorPointPatchField.C
	src/foam/interpolations/GGIInterpolation/GGIInterpolationQuickRejectTests.C
	src/foam/matrices/blockLduMatrix/BlockAmg/coarseBlockAmgLevel.C
	src/foam/meshes/polyMesh/globalMeshData/globalMeshData.H
	src/lduSolvers/amg/coarseAmgLevel.C
	src/mesh/cfMesh/meshLibrary/utilities/octrees/meshOctree/refinementControls/objectRefinement/objectRefinement.C
2015-05-13 18:27:51 +01:00
Dominik Christ
db3923787e FEATURE: Updates of Immersed Boundary tutorial cases and build script. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-13 17:03:54 +01:00
Dominik Christ
58e86dca1f Changed build order. Removed All* scripts. 2015-05-13 16:37:10 +01:00
Hrvoje Jasak
8628a03fe0 Bug fix: laminar forces 2015-05-13 16:30:45 +01:00
Hrvoje Jasak
2e0eb6750f Feature:cfMesh repositioning and build update 2015-05-13 12:12:11 +01:00
Hrvoje Jasak
3eb606df65 Immersed boundary build update 2015-05-13 11:29:41 +01:00
Dominik Christ
d08127d5a9 FEATURE: Immersed boundary solver. Authors: Zeljko Tukovic, Hrvoje Jasak. Merge: Dominik Christ. 2015-05-12 16:18:51 +01:00
Dominik Christ
74a0f0747d FEATURE: Coupled kEpsilon and kOmegaSST turbulence models. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-12 16:17:36 +01:00
Hrvoje Jasak
21caef72f1 Coupled RAS models: initial version 2015-05-12 15:02:14 +01:00
Hrvoje Jasak
7f5f9a10ef Formatting 2015-05-12 15:01:28 +01:00
Hrvoje Jasak
c1155dd9af Formatting 2015-05-12 15:01:27 +01:00
Hrvoje Jasak
6b022758d1 Feature: Single precision and long double precision port 2015-05-12 15:01:27 +01:00
Hrvoje Jasak
51cd34cc0e Formatting 2015-05-12 15:01:27 +01:00
Hrvoje Jasak
f19018541e Formatting 2015-05-12 15:01:26 +01:00
Hrvoje Jasak
a6d1c4021f Bug fix: Maxwell transport. M. Nobrega 2015-05-12 15:01:26 +01:00
Hrvoje Jasak
8a8afda6ac Bugfix: compiler error typename outside of template 2015-05-12 15:01:25 +01:00
Hrvoje Jasak
2e0286b2c1 Feature: coupled implicit k-epsilon model 2015-05-12 15:01:24 +01:00
Hrvoje Jasak
acb22cc5cc Formatting 2015-05-12 15:01:24 +01:00
Hrvoje Jasak
95fb99d2a6 Feature: block coupled updates 2015-05-12 15:01:24 +01:00
Hrvoje Jasak
56e21d8f61 Formatting 2015-05-12 15:01:23 +01:00
Dominik Christ
4608dddc89 BUGFIX: Fixed debug statement in factorial in label.C. Author: Inno Gatin. Merge: Dominik Christ. 2015-05-12 15:00:04 +01:00
Hrvoje Jasak
1a8a7148fe Immersed boundary solver, Zeljko Tukovic and Hrvoje Jasak 2015-05-11 11:41:43 +01:00
Martin Beaudoin
bd947865f2 controlSwitches: - Improved handling of the control switch description
- Added a few switch descriptions.
2015-05-10 09:18:46 -04:00
Martin Beaudoin
23f4d5cb81 controlSwitches: - Addition of the command-line option -dumpControlSwitches
- Display at the console all the controlSwitches for a given application.
                 - Getting rid of the application foamDebugSwitches
                 - Some code cleanup.
2015-05-08 08:53:47 -04:00
Dominik Christ
91a62cb2c3 Fixed debug statement in factorial in label.C 2015-05-05 15:11:10 +01:00
Martin Beaudoin
473f85c949 controlSwitches: - We are now completely free from the global controlDict file.
This file is no longer necessary.
                 - If necessary, one can still use a global controlDict file
                   using the environment variable FOAM_GLOBAL_CONTROLDICT
                 - Case specific global control switches values can now be
                   supplied in the case's system/controlDict file.
                 - Renaming $WM_PROJECT_DIR/etc/controlDict to
                   $WM_PROJECT_DIR/etc/controlDict-EXAMPLE
                 - Some code cleanup.
2015-05-05 08:57:06 -04:00
Martin Beaudoin
4706995f5f controlSwitches: updating after code merge. Minor correction for DimensionedConstants sigmaSB. Adapting foamDebugSwitches 2015-05-02 09:57:47 -04:00
Henrik Rusche
f3a67bf8a0 ENH: Derive model from fvDOM 2015-04-27 13:31:30 +01:00
Henrik Rusche
a3794911c5 BACKPORT: radiationModel constructors 2015-04-27 13:31:30 +01:00
Henrik Rusche
5a00d439f6 Re-instate Qin() and Qem() 2015-04-27 13:29:33 +01:00
Henrik Rusche
52edc09e2b ENH: Provide Qr field for coupling and post-pro 2015-04-27 13:29:24 +01:00
Henrik Rusche
48e9ee0e9f BACKPORT: setDeltaT with optional adjustment 2015-04-27 10:59:38 +01:00
Franjo Juretic
ba2bb602ef Update of cfMesh-v1.0.1 + changes from Hrvoje Jasak 2015-04-27 10:24:11 +01:00
Franjo Juretic
fee6383c54 Updated cfMesh to v1.0.1 2015-04-27 10:24:10 +01:00
Sandeep Menon
6c22a20c72 BUGFIX: Bring sources up to date with repository 2015-04-27 10:03:41 +01:00
Sandeep Menon
3ae5ef28b4 BUGFIX: Bring sources up to date with repository 2015-04-27 10:03:41 +01:00
Dominik Christ
d2215f9622 FEATURE: Overhauled fvDOM radiation model and added specular reflection. Author: Dominik Christ. Merge: Dominik Christ. 2015-04-24 14:27:58 +01:00
Dominik Christ
fac323eb99 FEATURE: Updates to coupled solver and linear solvers. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-04-24 14:27:29 +01:00
Hrvoje Jasak
b3c099be07 Experimenting with least square vector correction: off 2015-04-24 14:11:11 +01:00
Hrvoje Jasak
7d149ebb2d Improved error messaging 2015-04-24 14:09:55 +01:00