Commit graph

2477 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
Dominik Christ
aeebc7de3f FEATURE: Fixes for previous merge. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-19 09:54:22 +01: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
a90076f1c7 FEATURE: Updated tutorial case for mesquite mesh motion. Author: Sandeep Menon. Merge: Dominik Christ. 2015-05-15 11:22:25 +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
Dominik Christ
b339fb500a Pre-merge clean-up 2015-05-15 10:21:28 +01:00
Dominik Christ
8917af62f4 FEATURE: Added repatchCoverage, used in GGI to provide proper boundary conditions for uncovered parts. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-15 08:20:48 +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
81b7ffb413 Changed minIter on alpha1 solution 2015-05-13 17:03:37 +01:00
Dominik Christ
58e86dca1f Changed build order. Removed All* scripts. 2015-05-13 16:37:10 +01:00
Dominik Christ
d1bc4f4969 FEATURE: Moved cfMesh components. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-13 16:35:50 +01:00
Hrvoje Jasak
8628a03fe0 Bug fix: laminar forces 2015-05-13 16:30:45 +01:00
Hrvoje Jasak
9772e43abf Fix Immersed boundary tutorials 2015-05-13 15:50:22 +01:00
Hrvoje Jasak
2e0eb6750f Feature:cfMesh repositioning and build update 2015-05-13 12:12:11 +01:00
Hrvoje Jasak
53e6dc728f Feature:IBM tutorial update 2015-05-13 11:29:49 +01:00
Hrvoje Jasak
3eb606df65 Immersed boundary build update 2015-05-13 11:29:41 +01:00
Dominik Christ
5d910b7aaf FEATURE: Configuration scripts for other shells generated from bashrc; added support for zsh, fish, tcsh. Author: Bernhard Gschaider. Merge: Dominik Christ. 2015-05-12 16:28:53 +01:00
Bernhard F.W. Gschaider
48eabff312 Now etc/tcshrc also works if sourced from .tcshrc. But an environment variable has to be set to make it work correctly as in this case diff does not work correctly 2015-05-12 16:28:29 +01:00
Bernhard F.W. Gschaider
edc6952f57 Make sure that the aliases that source the tcshrc still work 2015-05-12 16:28:29 +01:00
Bernhard Gschaider
76d193a557 For some reason quotes are needed on Linux 2015-05-12 16:28:29 +01:00
Bernhard F.W. Gschaider
170d1bb369 Catch the exception in Python2 or Python 3 2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
93ca2b71ee Make the script more stable (exception catching etc) 2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
c05eac90c8 Now there is also a script for tcsh
--HG--
rename : etc/zshrc => etc/tcshrc
2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
e4d16f78eb Added fish-shell to demonstrate that this approach allows completely different shells
--HG--
rename : etc/zshrc => etc/fishrc
2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
53b7c23edc Make sure that the real bash is used 2015-05-12 16:28:27 +01:00
Bernhard F.W. Gschaider
7c3f127120 First proof-of-concept of a 'one script for all' 2015-05-12 16:28:27 +01:00
Dominik Christ
61cbde2161 FEATURE: Updated tutorial Allrun scripts. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-12 16:26:47 +01:00
Dominik Christ
f41bef05bc FEATURE: Remove empty patches from the mesh after conversion with gmshToFoam. Author: Alexey Matveichev. Merge: Dominik Christ. 2015-05-12 16:23:43 +01:00
Dominik Christ
f6b72702d5 Added Alexey Matveichev to ListOfContributors 2015-05-12 16:23:24 +01:00
Dominik Christ
280cdb4ae6 FEATURE: Finite area based solvers for liquid film transport. Authors: Zeljko Tukovic, Hrvoje Jasak. Merge: Dominik Christ. 2015-05-12 16:20:12 +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
Dominik Christ
9dc306a1f5 FEATURE: Cumulative development including long double and coupled solver updates. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-12 16:16:54 +01:00
Dominik Christ
48995a28a7 BUGFIX: Fixed debug statement in factorial in label.C. Author: Inno Gatin. Merge: Dominik Christ. 2015-05-12 16:16:39 +01:00
Hrvoje Jasak
50c041b9aa Moved 2015-05-12 15:55:51 +01:00
Hrvoje Jasak
95084dcb87 Liquid film solvers, finite area reorganisation 2015-05-12 15:55:51 +01:00
Alexey Matveichev
478fdb60e8 Remove empty patches after conversion
Empty defaultFaces should not be in the list of boundaries.
2015-05-12 15:19:29 +01:00
Hrvoje Jasak
21caef72f1 Coupled RAS models: initial version 2015-05-12 15:02:14 +01:00
Hrvoje Jasak
bba9b5b916 Tutorial loop updates 2015-05-12 15:01:57 +01:00
Hrvoje Jasak
7f32cf4357 Added LDP option 2015-05-12 15:01:28 +01:00
Hrvoje Jasak
7f5f9a10ef Formatting 2015-05-12 15:01:28 +01:00
Hrvoje Jasak
67ea19f57f Feature: filename update 2015-05-12 15:01:27 +01:00