Mark Olesen
c792a9d7df
TUT: script cleanup, provide cleanCase0 for commonly used operation
2017-10-12 19:20:56 +02:00
Mark Olesen
8005e2b4a2
ENH: add cloneParallelCase function into bin/tools/RunFunctions
2017-06-22 14:45:53 +01:00
Mark Olesen
b970ba0901
ENH: minor improvements to environment
...
- handle sourcing bashrc with a relative path (issue #383 )
- handle sourcing from bash and zsh.
Still need manual intervention when sourcing dash, sh, or ksh.
- replace grep in etc/cshrc with sed only
- logical instead of physical path for WM_PROJECT_DIR (issue #431 ).
Doesn't seem to be possible for csh/tcsh.
* Continue using physical locations when comparing directories,
but not for the top-level FOAM_INST_DIR, WM_PROJECT_DIR.
- relocate WM_CC, WM_CXX overrides from etc/config.*/compiler
to etc/config.*/settings to ensure that they are left untouched
when etc/config.sh/compiler is sourced while making third-party
packages (eg, gcc, llvm, CGAL).
- provide fallback FOAM_TUTORIALS setting in RunFunctions
STYLE: remove "~OpenFOAM" fallback as being too rare, non-obvious
2017-03-20 08:57:12 +01:00
Mark Olesen
0067c9e369
STYLE: avoid spurious messages when cloning cases
...
- either (or both) of 0/, 0.orig/ may exist, so error messages about
one of them being missing is a bit misleading
2017-02-09 13:41:48 +01:00
Andrew Heather
9e8031f285
BUG: RunFunctions - updated retrieval of nProcs to suppress warning when no system/deomposeParDict
2017-02-03 12:27:50 +00:00
Mark Olesen
58fad3ab79
BUG: snappyHexMesh with -decomposeParDict option (issue #265 )
...
- only occurs in combination with distributedTriSurfaceMesh in snappy.
- workaround similar to that previously used for surfaceRedistributePar
(issue #60 ).
Minor adjustment of incompressible motorBike tutorial to detect use of
distributedTriSurfaceMesh.
2016-11-24 12:02:11 +01:00
Mark Olesen
9ab0406b47
BUG: tutorial RunFunctions ignore non-standard decomposeParDict (issue #279 )
2016-10-28 13:22:19 +02:00
Mark Olesen
ba6f59a79e
ENH: provide isParallel test in RunFunctions
...
- allows writing Allrun scripts that can be easily tested in
serial or parallel
2016-10-07 18:00:00 +02:00
Andrew Heather
1fbcb686ff
STYLE: Consistency updates
2016-09-23 16:52:46 +01:00
Andrew Heather
9fbd612672
GIT: Initial state after latest Foundation merge
2016-09-20 14:49:08 +01:00
Henry Weller
0a2c2d76de
RunFunctions: corrected typo $SUFFIX -> $LOG_SUFFIX
...
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2176
2016-08-02 21:32:38 +01:00
Mark Olesen
a95ca8293a
BUG: runParallel ignores presence of log file ( closes #203 )
...
- was a small typo
2016-08-02 18:31:50 +02:00
Henry Weller
5b38cb4862
bin/tools/RunFunctions: Simplified using the foamDictionary -value option
2016-06-10 20:24:12 +01:00
Henry Weller
2f84769710
bin/tools/RunFunctions: Updated to use foamDictionary
2016-06-10 18:02:26 +01:00
Mark Olesen
820f809bd5
STYLE: cleanup handling of 0.org directories (in parallel)
...
- remove duplicate 0/ files from the repository
2016-06-29 13:34:36 +02:00
Mark Olesen
dd60cfcd06
FIX: provide restore0Dir function to fix issue #159
...
- makes it easier to ensure the correct behaviour, consistently
2016-06-27 16:33:55 +02:00
Henry Weller
4bc77e6aff
Sprucing up the tutorials folder and adding -dict to "collapseEdges"
...
Patch provided by Bruno Santos
Resolves patch application request http://www.openfoam.org/mantisbt/view.php?id=2015
2016-03-06 19:06:44 +00:00
Prashant
e0a0f94e6f
ENH: added -decomposeParDict as argument to getNumberOfProcessors()
2016-05-06 11:25:11 +05:30
Andrew Heather
48caf88af9
STYLE: corrected header
2016-04-29 15:47:35 +01:00
andy
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
Henry Weller
cfa7678ba8
foamRunTutorials: Rationalized support for the "-test" option
...
RunFunctions: Added "isTest()" argument parsing function
tutorials: Updated Allrun scripts to propagate the "-test" option
tutorials: Removed the lower Alltest scripts and updated the Allrun to
use the "isTest()" function to handle test-specific operation
2016-02-15 15:49:05 +00:00
Henry Weller
1507178a1b
RunFunctions::getNumberOfProcessors: Added support for files included in decomposeParDict
2016-02-08 10:51:49 +00:00
Henry Weller
b3d47f0423
bin/tools/RunFunctions: runParallel now obtains the number of processors from numberOfSubdomains
...
in decomposeParDict.
This default number of processors may be overridden by the new "-np"
option to runParallel which must be specified before the application
name e.g.:
runParallel -np 4 pisoFoam
2016-01-27 14:19:25 +00:00
mattijs
2e7d7d1609
BUG: RunFunctions: missing fi. Renamed variable. Updated Allrun scripts
2015-12-08 14:35:02 +00:00
Andrew Heather
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
Henry Weller
26a2c1778a
RunFunctions: Added -append and -overwrite options
...
-append: append to log file
-overwrite: overwrite log file
Original patch provided by Timm Severin
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1919
2015-11-19 15:48:06 +00:00
mattijs
916dcb8685
ENH: parallel: overhaul of parallel mapping
...
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
Henry
6a4fd43ee0
Update header
2015-05-14 12:13:22 +01:00
Henry
e734952e79
bin/tools/RunFunctions: handle tabs and spaces
...
when retrieving entries from dictionaries
Patch supplied by Timm Severin
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1689
2015-05-14 12:11:44 +01:00
laurence
6b24bdd45d
ENH: Add getNumberOfProcessors() to bin/tools/RunFunctions
2012-12-11 16:28:39 +00:00
andy
9429143369
BUG: Updated tutorial RunFunctions - mantis #668
2012-10-26 10:27:08 +01:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
mattijs
4f4decc4b9
ENH: RunFunctions: disable scheduler for parallel run
2011-06-06 12:21:33 +01:00
mattijs
0211d507b1
ENH: paraFoam: filter out ld.so messages about 'inconsistency detected'
2011-06-03 12:26:45 +01:00
Mark Olesen
e2db4e630e
Merge remote branch 'bundle/home' into olesenm
2011-01-03 10:06:56 +01:00
Mark Olesen
6091cdb0a5
BUG: incorrect log-check in runParallel (RunFunctions)
...
STYLE: minor rewording, drop grep/sed in favour of sed only
2011-01-02 18:42:26 +01:00
mattijs
ecf998193f
ENH: redistributeMeshPar : allow generic
2010-12-03 14:27:30 +00:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
Mark Olesen
6b6dd51a27
STYLE: more consistent shell style in tutorial run/clean scripts
2010-03-10 10:55:42 +01:00
Mark Olesen
2073dcf9d7
STYLE: move source templates from bin/templates/ to etc/codeTemplates/
2010-03-03 09:19:23 +01:00
henry
90298600e0
Corrected buoyancy BCs for p.
2009-07-10 12:59:51 +01:00
henry
e461ef53e9
Removed support for LAM.
2009-07-10 12:04:42 +01:00
henry
9f46545159
Get the application from the controlDict where necessary.
2009-07-09 17:44:50 +01:00
Mark Olesen
28b200bcd9
update copyrights for 2009
2008-12-31 19:01:56 +01:00
Mark Olesen
02cabc3cf2
updated Copyright (C) \d+-2008 OpenCFD Ltd.
2008-06-25 15:01:46 +02:00
Mark Olesen
0067393011
bin/tools/*Functions are not executable - use editor hint instead of #!/bin/sh
2008-06-16 17:10:19 +02:00
henry
8ddee4ccdc
New tutorial run and clean scripts.
2008-06-16 12:51:20 +01:00