Commit graph

2548 commits

Author SHA1 Message Date
Martin Beaudoin
31cef14da4 ThirdParty: Adjustments for ParaView 4.3.1 on Mac OSX 2015-05-24 16:31:30 -04:00
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
Martin Beaudoin
a9d0b054bb ThirdParty: gcc 4.8.4: GNU Objective C/C++ will not compile ParaView on OSX 2015-05-18 07:53:38 -04:00
Henrik Rusche
c1cd77a15f Fixing indentation in applications/solvers/solidMechanics 2015-05-18 09:54:40 +02:00
Henrik Rusche
b46695ce1e Replace tabs by 4 spaces in applications/solvers/solidMechanics 2015-05-18 09:54:40 +02:00
Henrik Rusche
82a0e1e7df Replace tabs by 4 spaces in bin, tutorials, src, ... & clean-up by hand 2015-05-18 09:54:40 +02:00
Henrik Rusche
4eb1b1f016 Update scripts 2015-05-18 09:54:39 +02:00
Henrik Rusche
f5c5fe700b Upgrade case file headers 2015-05-18 09:54:33 +02:00
Martin Beaudoin
69f5076a14 ThirdParty: adjusting the compilation of .L files when using flex from ThirdParty 2015-05-17 23:58:57 -04:00
Martin Beaudoin
f66940199d ThirdParty: gcc 4.8.4: enabling Objective C/C++ when on OSX. The compilation of ParaView needs an Objective C compiler 2015-05-17 23:58:04 -04:00
Martin Beaudoin
246eb0eda1 ThirdParty: setting ParaView 4.3.1 as the default version 2015-05-17 23:55:32 -04:00
Martin Beaudoin
a56ad86cd7 ThirdParty: Add missing patchfile for ParaView 4.3.1 2015-05-17 23:50:19 -04:00
Martin Beaudoin
e0b61734c1 darwinIntel64Gcc: adjust cpp invocation from wmake 2015-05-17 23:49:00 -04:00
Henrik Rusche
0a02a92e53 Upgrade copyright notices & banner in source code 2015-05-17 15:58:16 +02:00
Henrik Rusche
ee97417a27 Removing trailing whitespace 2015-05-17 15:27:49 +02:00
Martin Beaudoin
ce2b0894c5 ThirdParty: bumping Scotch to version 6.0.4
bumping hwloc to version 1.10.1
            Adjusting libccmio for Mac OSX Yosemite
            Adjustments for cmake 3.2.2
            Adding spec file for openmpi version 1.8.4
2015-05-17 07:46:05 -04:00
Martin Beaudoin
e2b9bd5b80 ThirdParty: cmake 3.2.2 2015-05-16 23:19:40 -04:00
Martin Beaudoin
109bc7ae80 ThirdParty:: new compilation recipe for gcc 4.9.2 and 4.8.4 2015-05-16 20:39:14 -04:00
Hrvoje Jasak
9319d9459f Merge fixes 2015-05-15 16:23:41 +01:00
Martin Beaudoin
78d0ccc78d ThirdParty: initial commit of the packages selection mechanism using environment variables 2015-05-15 08:48:09 -04: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
Martin Beaudoin
5839941ab5 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/openfoam-extend/foam-extend-3.1 into nextRelease 2015-05-14 09:05:31 -04: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
Dominik Christ
e01f2f35ab FEATURE: Updates of Immersed Boundary tutorial cases and build script. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-05-13 11:36:59 +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