Commit graph

1312 commits

Author SHA1 Message Date
Franjo Juretic
a188134cb2 Updated meshLibrary 2015-08-06 11:41:37 +01:00
Henrik Rusche
e17654c7f3 BUGFIX: Throw error in geometric analysis for empty patches in parallel 2015-08-06 11:23:16 +01:00
Hrvoje Jasak
29d577235f Removed Info messages 2015-08-06 10:02:34 +01:00
Hrvoje Jasak
2a5b90ef50 Output message formatting 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
f7e12900b5 Resolved template resolution 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
209abce851 Performance improvement and template resolution 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
d2a22f8bf5 Fixed incorrect options library naming 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
671a2708ff Added det of TensorN 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
38cc58893b Formatting 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
3db84da180 Fixed incorrect options library naming 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
31c440ac56 Moved file 2015-08-06 10:02:33 +01:00
Hrvoje Jasak
ba8eba2eb0 Clean-up of Gauss div and least squares grad 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
55921ceaa8 Formatting 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
c464f1ca43 Added area check 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
bf042d8fb7 Formatting 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
92c31ee006 Better bounding box limits handling 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
f4410d5b9e Message formatting 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
c5a9ceb3a0 Handle missing flux field phi 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
6b2ed2536e Formatting 2015-08-06 10:02:32 +01:00
Hrvoje Jasak
2c21b8b9f7 Bug fix: fixed cell bounding box search 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
2f05fe31af Corrected format of zone write 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
a1540947b9 Efficiency improvement 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
f08d646764 Formatting 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
48bbd58124 Changed order of headers 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
76b49904c9 Removed fvSolver, missed file 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
49cd83ac5d Minor clean-up and documentation comments 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
ad6bce6a29 bug fix: optimisation switch use 2015-08-06 10:02:31 +01:00
Hrvoje Jasak
4019296d15 Removes fvSolver, bug fix in residual 2015-08-06 10:02:30 +01:00
Hrvoje Jasak
dfe2d658bb Bug fix: missing group index increment 2015-08-06 10:02:30 +01:00
Hrvoje Jasak
44ee06943a Update for non-blocking comms. NOTE: Scheduled comms are broken for coupled matrix 2015-06-11 19:29:44 +01:00
Hrvoje Jasak
c6ffe26776 Updated default comms to nonBlocking 2015-06-11 19:28:56 +01:00
Hrvoje Jasak
6f4acbb9c5 Formatting 2015-06-11 19:24:41 +01:00
Hrvoje Jasak
0d34546d97 Debug handling for parallel cases, where ggi patch may be empty 2015-06-11 15:55:51 +01:00
Hrvoje Jasak
badd84700a Debug check 2015-06-11 15:55:26 +01:00
Hrvoje Jasak
9aef7695ce Bug fix: handling solo faces in topo change 2015-06-10 11:45:31 +01:00
Hrvoje Jasak
8470a791b4 Copying correct debug 2015-06-10 11:45:11 +01:00
Hrvoje Jasak
b6b47d1017 Porting bug fix 2015-06-10 11:43:55 +01:00
Hrvoje Jasak
a8bc92b12a Changed default Pstream comms type to scheduled 2015-06-10 11:43:21 +01:00
Hrvoje Jasak
867da248b2 Better messaging 2015-06-10 11:42:56 +01:00
Hrvoje Jasak
4ccbdb4a75 Updated version of k-omega SST model 2015-06-10 11:42:39 +01:00
Hrvoje Jasak
7f92fbcae4 Prevent copying of switches: this causes double deletion error 2015-06-04 18:04:33 +01:00
Hrvoje Jasak
50dc19899e Alternative form of k-e coupling 2015-06-04 18:03:34 +01:00
Hrvoje Jasak
48e45fb1fb Formatting 2015-06-04 18:02:34 +01:00
Hrvoje Jasak
bf0f746ed5 Fixed debug treatment - cannot copy debug switch 2015-06-04 17:54:17 +01:00
Hrvoje Jasak
37492e45f4 Changed default debug level of block matrix 2015-06-04 17:53:51 +01:00
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
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
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
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
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
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
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
Hrvoje Jasak
9319d9459f Merge fixes 2015-05-15 16:23:41 +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
Hrvoje Jasak
3f2807735d Renamed CrankNicolson scheme: correct spelling 2015-04-23 15:22:00 +01:00
Hrvoje Jasak
dfe8d85a57 Formatting 2015-04-23 13:57:40 +01:00
Hrvoje Jasak
317a046c3d Improved handling of solo cells 2015-04-23 13:57:12 +01:00
Hrvoje Jasak
80c034aa99 AMG Robustness fix 2015-04-23 13:56:52 +01:00
Hrvoje Jasak
c143ca0fc7 Robustness fix 2015-04-23 13:56:35 +01:00
Hrvoje Jasak
ca9faf234e Formatting 2015-04-23 13:56:20 +01:00
Hrvoje Jasak
6078082079 Formatting 2015-04-23 13:55:58 +01:00
Hrvoje Jasak
fa9b839109 Moved implicit grad files 2015-04-23 13:55:04 +01:00
Hrvoje Jasak
3ee3b61aee Formatting 2015-04-23 13:54:50 +01:00
Hrvoje Jasak
f449d9fa1d Block AMG solver update 2015-04-23 13:54:28 +01:00
Hrvoje Jasak
cd73e347d9 Moved implicit grad files 2015-04-23 13:53:50 +01:00
Dominik Christ
10d8ba81cd BUGFIX: Fixed CrankNicholson ddt scheme for moving meshes. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-04-23 12:09:02 +01:00
Dominik Christ
8f829cc2e7 BUGFIX: Correct averaging in ProcessorPointPatchField. Author: Vanja Skuric. Merge: Dominik Christ. 2015-04-23 12:08:10 +01:00
Dominik Christ
a9efac2492 BUGFIX: Fixed CrankNicholson ddt scheme for moving meshes. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-04-23 11:22:41 +01:00
Dominik Christ
b138230f76 Fix for CrankNicholson in moving mesh cases 2015-04-23 10:56:25 +01:00
Dominik Christ
0e113e1a5d Correct averaging in ProcessorPointPatchField 2015-04-22 18:20:22 +01:00
Dominik Christ
22303c24bf Amended fix for basicSymmetryFvPatchField.C 2015-04-22 15:49:47 +01:00
Dominik Christ
4ef5a2ad65 FEATURE: Several minor feature improvements, including turbulent viscosity limiters, mesh flux check, 2nd order correction on symmetry plane. Author: Hrvoje Jasak. 2015-04-22 10:56:30 +01:00
Dominik Christ
4b50842cd9 FEATURE: Updates to coupled p-U solver, including ddt term and performance tuning. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-04-22 10:55:59 +01:00
Dominik Christ
ab85af8ae4 BUGFIX: Several minor bugfixes and corrected code formatting. Author: Hrvoje Jasak. Merge: Dominik Christ. 2015-04-22 10:55:23 +01:00
Hrvoje Jasak
736f1b496a Updates for multiple solution of 6-DOF ODE 2015-04-22 10:48:47 +01:00
Hrvoje Jasak
67409f71e7 Formatting
Conflicts:
	src/foam/fields/PointPatchFields/constraint/processor/ProcessorPointPatchField.C
2015-04-22 10:48:47 +01:00
Hrvoje Jasak
668548c946 Updates for multiple solution of 6-DOF ODE 2015-04-08 16:16:53 +01:00
Hrvoje Jasak
0a3af6dd00 Formatting
Conflicts:
	src/foam/fields/PointPatchFields/constraint/processor/ProcessorPointPatchField.C
2015-04-08 16:16:53 +01:00
Hrvoje Jasak
999559bfee Formatting 2015-04-08 16:16:53 +01:00
Hrvoje Jasak
2181f9f897 Formatting 2015-04-08 16:16:52 +01:00
Hrvoje Jasak
676a511a12 Formatting 2015-04-08 16:16:52 +01:00
Hrvoje Jasak
da7e0293a0 Formatting 2015-04-08 16:16:52 +01:00
Hrvoje Jasak
588263d03c Bug fix: Evaluating coupled boundaries on least squares vectors 2015-04-08 16:16:52 +01:00
Hrvoje Jasak
2d899b8551 Parallel bug fix, processor boundaries comms. Zeljko Tukovic 2015-04-08 16:16:52 +01:00
Hrvoje Jasak
50079ba990 Bug Fix: #268 P. Beckstein: nbr polyPatch normals 2015-04-08 16:16:52 +01:00
Hrvoje Jasak
12791df21d Formatting 2015-04-08 16:16:51 +01:00
Hrvoje Jasak
088f7f9764 Formatting 2015-04-08 16:16:51 +01:00
Hrvoje Jasak
db5d127b3e Formatting 2015-04-08 16:16:51 +01:00
Hrvoje Jasak
f43e99e172 Detailed error message 2015-04-08 16:16:51 +01:00
Hrvoje Jasak
3cc2dcfe6f Removed woarning on mutiple constraints 2015-04-08 16:16:51 +01:00
Hrvoje Jasak
74d6357196 Formatting 2015-04-08 16:16:50 +01:00
Hrvoje Jasak
fbcafa1334 Formatting 2015-04-08 16:16:50 +01:00
Hrvoje Jasak
08729fb00e Formatting 2015-04-08 16:16:50 +01:00
Hrvoje Jasak
67fe945cdd Formatting 2015-04-08 16:16:50 +01:00
Hrvoje Jasak
da5728270d Formatting 2015-04-08 16:16:50 +01:00