Commit graph

4019 commits

Author SHA1 Message Date
Hrvoje Jasak
d5e847baf5 Corrected handling of mixing type 2015-06-03 09:19:27 +01:00
Hrvoje Jasak
15e13ead7f Better mesh info data 2015-06-03 09:18:16 +01:00
Hrvoje Jasak
9b576b9916 Formatting 2015-06-03 09:18:00 +01:00
Hrvoje Jasak
09bd0e1c70 Formatting 2015-06-03 09:17:28 +01:00
Hrvoje Jasak
fceb3b566e Formatting 2015-06-03 09:15:02 +01:00
Henrik Rusche
7b2e4e547a BUGFIX: Seg-fault in multiphaseInterFoam. Author: Henrik Rusche. Merge: Hrvoje Jasak 2015-06-02 13:10:40 +02:00
Henrik Rusche
8e6d5ad0c9 Porting fixes, Mac OS X. Author: Hrvoje Jasak. Merge: Hrvoje Jasak
Conflicts:
	src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C
2015-06-02 12:00:39 +02:00
Henrik Rusche
a23acb0388 VERSION: version, headers, whitespace & tabs for 3.2. Author: Henrik Rusche. Merge: Henrik Rusche 2015-06-02 11:52:46 +02:00
Henrik Rusche
f83a771395 FEATURE: testHarness: improvements. Author: Martin Beaudoin. Merge: Henrik Rusche.
testHarness: adding the source code git revision number to the Build Name.

See here for an example:
http://openfoam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.1&date=2015-05-28
2015-06-02 10:57:25 +02:00
Henrik Rusche
46f509ad79 FEATURE: Simpler ThirdParty packages selection mechanism. Author: Martin Beaudoin. Merge: Henrik Rusche.
I am proposing an improved ThirdParty packages selection mechanism based on a set of package-specific, pre-defined environment variables.

Using those environment variables, one can control the selection of the full list of ThirdParty packages he/she want to compile/use by simply editing the etc/prefs.sh or etc/prefs.csh file.

Using this new approach, you will no longer have to edit the ThirdParty/AllMake.stageXXX files or the etc/settings.[sh,csh] to suit your needs; every supported package is selectable from a single environment variable specified in your prefs.[sh,csh] file, or in one of your script file.

Another benefit from this improvement will also come from supplying a set of predefined prefs.[sh,csh]-EXAMPLE files for both generic or specialized configurations and/or for specific Operating Systems. For example:

prefs.sh-EXAMPLE-Centos-7
prefs.sh-EXAMPLE-Ubuntu-14.02
prefs.sh-EXAMPLE-MacOSX_Yosemite_without_MacPorts
prefs.sh-EXAMPLE-RaspberryPi2

I also took the liberty of bumping many ThirdParty packages to the latest version available.
2015-06-01 18:03:56 +02:00
Henrik Rusche
44f3fa0c75 BUGFIX: Fix of valgrind-messages caused by profiling code. Author: Bernhard Gschaider. Merge: Henrik Rusche.
Pointed out by Henrik Rusche: Foam loses memory and the cause is the profiling code.

Reason was that as singleton was created with the first Time-object but never created (ratio was that when the Time-object is destroyed the program ends anyway)

This merge request fixes this by destroying the singleton in the destructor of the Time-object. The second commit makes sure that only the Time-object that created the singleton will destroy it (this is important for programs that have more than one instance of Time)
2015-06-01 18:01:43 +02:00
Martin Beaudoin
cf6fd9f57a testHarness: adding git revision number to buildName 2015-05-28 12:13:15 -04:00
Martin Beaudoin
c756992532 ThirdParty: adding ParaView-Server .spec files 2015-05-26 01:14:20 -04:00
Martin Beaudoin
b4fb2f99a4 ThirdParty : adjusting AllClean scripts 2015-05-26 01:13:19 -04:00
Martin Beaudoin
0631e66ab6 ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
Martin Beaudoin
480e732b44 ThirdParty: llvm-3.6.0 2015-05-26 00:36:42 -04:00
Martin Beaudoin
7996bde801 ThirdParty: ParaView-4.1.0 2015-05-26 00:35:49 -04:00
Henrik Rusche
67a8323582 BUGFIX: Seg-fault in multiphaseInterFoam. Removed duplicate alphaContactAngle BC 2015-05-25 11:22:57 +02:00
Martin Beaudoin
114ba738fd Merge branch 'nr/ThirdPartyWithSelectionSwitches' of ssh://git.code.sf.net/u/mbeaudoin/openfoam-extend into nr/ThirdPartyWithSelectionSwitches 2015-05-24 16:43:28 -04:00
Martin Beaudoin
3b03327840 wmake rule darwinIntel64Gcc48: Removing mistake 2015-05-24 16:40:52 -04:00
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