Commit Graph

529 Commits

Author SHA1 Message Date
Mark Olesen
c59a6a5713 Merge remote branch 'opencfd/master' into olesenm 2011-05-10 17:08:23 +02:00
Mark Olesen
20693b96bd CONF: move OpenFOAM etc/apps -> etc/config
- use standard *.sh, *.csh endings
2011-05-02 14:52:11 +02:00
mattijs
eaa2a9f1b5 COMP: tutorial scripts: add #!/bin/sh, chmod +x etc. 2011-04-28 17:47:11 +01:00
Mark Olesen
22fae65263 BUG: FOAM_INST_DIR (or prefix) not passed correctly from foamExec 2011-04-28 15:33:38 +02:00
Mark Olesen
b55c3fb66b ENH: avoid stray options affecting _foamEval, pass FOAM_SETTINGS to foamExec 2011-04-28 08:32:00 +02:00
Mark Olesen
debb4b42fd ENH: add foamEtcFile -silent option to suppress stderr
- need to trap possibly weird input within etc/bashrc, etc/cshrc and
  can't easily redirect stderr in csh.
2011-04-27 16:55:32 +02:00
Henry
4ebe912f30 CleanFunctions: remove directories containing sampled data and graphs 2011-04-19 23:28:17 +01:00
Henry
f70593a8ff Renamed simpleSRFFoam -> SRFSimpleFoam and simpleWindFoam -> windSimpleFoam 2011-04-19 23:23:49 +01:00
Mark Olesen
a66a9bbc8e BUG: FOAM_INST_DIR not preserved across versions in foamExec, foamJob 2011-04-18 10:57:21 +02:00
andy
f0554905a1 ENH: Removed OpenCFD-specific behaviour out of hooks 2011-04-06 15:14:25 +01:00
mattijs
7969b20915 ENH: foamCleanTutorials: remove 0/pointLevel 0/cellLevel 2011-04-05 12:05:15 +01:00
Mark Olesen
3c30eca1cc STYLE: drop check for paraview versions
- we don't support paraview < 3.x anymore
2011-03-28 11:07:10 +02:00
Mark Olesen
f2a30512ec Merge remote branch 'opencfd/master' into olesenm 2011-03-28 10:47:17 +02:00
Mark Olesen
e2cf8f5cf3 ENH: foamCleanPath quick exit on empty 'path' 2011-03-25 18:20:34 +01:00
mattijs
a8bc6e46f0 ENH: CleanFunctions: remove .setSet 2011-03-23 14:24:01 +00:00
mattijs
90a80f490b Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-17 22:27:55 +00:00
mattijs
2475ffe9f8 ENH: foamConfigurePaths: rule to rewrite project version 2011-03-17 15:51:00 +00:00
Mark Olesen
0e871459b8 Merge remote branch 'OpenCFD/master' into olesenm 2011-03-17 08:50:13 +01:00
Mark Olesen
9cbc0efca3 ENH: add support for WM_PROJECT_SITE env variable
- alternative to WM_PROJECT_INST_DIR/site for systems with locked down
  installation paths (eg, when packaged as RPM or deb)

  When "$WM_PROJECT_SITE" is defined, it is used in favour of
  "$WM_PROJECT_INST_DIR/site"
2011-03-11 18:32:18 +01:00
mattijs
dc872d6bae ENH: mpirunDebug: generate bash script since executes OpenFOAM bashrc scripts 2011-03-09 18:08:57 +00:00
Mark Olesen
51399bbbd1 STYLE: use dynamicCode/ instead of codeStream/ for dynamically generated code 2011-02-24 13:21:39 +01:00
mattijs
2f3cb0f63c BUG: foamPackSource: moved up to bin/ 2011-02-23 16:05:14 +00:00
Mark Olesen
abde400dd5 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	bin/foamCleanPath
2011-02-22 19:24:31 +01:00
Mark Olesen
f8cae3f43c ENH: add cleanCodeStream to tools/CleanFunctions 2011-02-22 19:11:51 +01:00
mattijs
0ffe4c0fd9 BUG: foamCleanPath: did not remove last element in path when stripping using wildcards 2011-02-21 16:43:11 +00:00
Mark Olesen
3c43471021 Merge remote branch 'OpenCFD/master' into olesenm 2011-02-21 13:11:57 +01:00
mattijs
c37defa5e2 ENH: foamPackSource: moved back to bin so can be used externally 2011-02-18 13:54:08 +00:00
Mark Olesen
32292113f8 ENH: catch empty wildcards in foamCleanPath
- also split on colons for consistency
2011-02-17 16:11:55 +01:00
Mark Olesen
64b43070c9 GIT: skip tab check on Makefiles (not just wmake/Makefiles) 2011-02-16 09:57:03 +01:00
Mark Olesen
fc2bd19356 STYLE: use 'platforms/' for organizing wmake binaries as well
- replaces previously used 'bin/'

STYLE: add -help to makeWmake
2011-02-15 19:01:04 +01:00
Mark Olesen
28e6389173 STYLE: accept and silently ignore -current option in foamPackDeps
- may be useful in the future. For now it keeps consistency with
  foamPackMake, foamPackBins
2011-02-15 17:24:39 +01:00
Mark Olesen
f691fe7896 STYLE: more consistent use of stderr for script usage 2011-02-15 16:48:26 +01:00
Mark Olesen
2873f9fc8d ENH: add findEmptyMake for detecting rogue Make/ directories 2011-02-15 16:26:59 +01:00
Mark Olesen
9926d5f2a4 BUG: dir names missed in toucho, touchdep
- forgot in 10f5e80803
2011-02-15 16:12:12 +01:00
Mark Olesen
dd22de68d4 ENH: support bzip2 compression for foamPack* 2011-02-15 11:04:08 +01:00
Mark Olesen
449a0e253d ENH: add -current option to foamPackBin, foamPackMake
- reduces typing
2011-02-15 10:08:46 +01:00
Mark Olesen
cf65eebcd5 ENH: add foamPackDeps, foamPackMake to help transferring between machines 2011-02-15 09:29:33 +01:00
Mark Olesen
56e07de724 STYLE: changed some missed doxygen '@' to '\' 2011-02-14 10:00:48 +01:00
Mark Olesen
1e4d26429b Merge remote branch 'OpenCFD/master' into olesenm 2011-02-14 09:47:49 +01:00
Mark Olesen
10f5e80803 ENH: add -make option to touchdep, toucho
- restricts selection to Make/$WM_OPTIONS* subdirectories, which is
  useful when multiple compilers are in use
2011-02-11 09:21:08 +01:00
Henry
b3cde56f27 Doxygen docs: Corrected doxyFilter to preserve line numbers
Also corrected many formatting errors in the comments in C and H files
2011-02-07 22:50:49 +00:00
mattijs
fc1e443116 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-01-19 12:37:20 +00:00
Mark Olesen
ba5d689110 BUG: foamExec mangled the arguments
- use function when sourcing the bashrc to avoid these problems
2011-01-19 12:54:27 +01:00
mattijs
a6de8e746a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/test/lduMatrix/Test-lduMatrix.C
	applications/test/lduMatrix/Test-lduMatrix2.C
	applications/test/lduMatrix/Test-lduMatrix3.C
	applications/test/parallel/Test-parallel.C
	applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H
	bin/mpirunDebug
	etc/apps/paraview3/cshrc
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.C
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistribute.H
	src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C
	src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
	src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/primitives/Pair/labelPair.H
	src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
	src/postProcessing/functionObjects/field/streamLine/streamLineParticle.C
2011-01-17 21:40:13 +00:00
Mark Olesen
e95e9700c8 Merge remote branch 'OpenCFD/master' into olesenm 2011-01-17 10:21:58 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
mattijs
a78a7d5e6e ENH: mpirunDebug : removed $WM_PROJECT check in initialisation 2011-01-14 11:38:54 +00:00
Mark Olesen
ae0bf2b2fe BUG: single instead of double quotes in git hooks message 2011-01-13 11:23:03 +01:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
Mark Olesen
5d18583101 ENH: collect arch-specific directly under platforms/
- platforms/WM_OPTIONS/lib
      old: lib/WM_OPTIONS

- platforms/WM_OPTIONS/bin
      old: bin/WM_OPTIONS
      old: applications/bin/WM_OPTIONS

A runtime environment nows needs
    - bin/
    - etc/
    - platforms/
2011-01-05 08:49:42 +01:00
Mark Olesen
e2db4e630e Merge remote branch 'bundle/home' into olesenm 2011-01-03 10:06:56 +01:00
Mark Olesen
a3a2ea78be ENH: update, cleanup foam packing routines
- update packing for FOAM_EXT_LIBBIN and newer FOAM_APPBIN
- pack OpenFOAM source via 'git archive' for consistency with
  the git repository (use -nogit option to revert to manual packing)
- combine foamPackBin + foamPackThirdPartyBin
- add foamPackThirdPartyBinAll (like foamPackBinAll)

- relocate service scripts into bin/tools
- use more standard 'tgz' instead of 'gtgz'
2011-01-02 21:39:41 +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
Mark Olesen
185d417530 STYLE: zero padding directly in cleanTimeDirectories 2011-01-02 18:22:37 +01:00
Mark Olesen
18dbe9996a ENH: reorganize settings to avoid inheriting bad values
- avoid non-standard 'tempfile' in bin/tools/foamConfigurePaths
2010-12-23 07:37:32 +01:00
Mark Olesen
a169819168 ENH: adjust tools to handle architecture-specific dirs in bin/ as well 2010-12-23 06:53:05 +01:00
Mark Olesen
b9be5a6f2f ENH: foamSourceFiles allow through bin/tools subdir only
- filter out other subdirs, which could be architecture-specific
2010-12-23 06:36:50 +01:00
Mark Olesen
312d15c701 STYLE: use 'foamCompiler' instead of 'compilerInstall'
- more obvious in its meaning
2010-12-23 06:28:49 +01:00
Mark Olesen
603aa1e61c ENH: preserve command-line settings in FOAM_SETTINGS 2010-12-22 15:41:51 +01:00
Mark Olesen
d8fb38fbc1 BUG: single instead of double quotes in git hooks message 2010-12-14 17:52:27 +01:00
Mark Olesen
75e632115c ENH: add '-s|-t' options for foamNew, cat to stdout on '-' prefixed class name
- eg, "foamNewSource IO -", "foamNew -s IO -"  displays on stdout
  convenient for grabbing boilerplate directly
2010-12-13 11:48:21 +01:00
mattijs
ecf998193f ENH: redistributeMeshPar : allow generic 2010-12-03 14:27:30 +00:00
andy
892e638724 ENH: check for existence of polyMesh before changing into it 2010-11-24 10:56:42 +00:00
Mark Olesen
f4c1042f80 BUG: had double quotes instead of single quotes in git hooks 2010-11-17 17:07:59 +01:00
Mark Olesen
a5a62467b5 ENH: skip tab-checking in git hooks for potential wmake/ makefiles 2010-11-17 11:39:37 +01:00
Mark Olesen
fee7f977e5 ENH: foamJob : allow systemopenmpi (as per 8be22e5176) 2010-11-17 09:16:21 +01:00
mattijs
8be22e5176 ENH: mppirunDebug : allow systemopenmpi 2010-11-12 14:31:50 +00:00
Mark Olesen
b06c778193 ENH: add bin/tools/pre-receive-hook
- allows us to follow the changes
2010-11-10 16:25:40 +01:00
Mark Olesen
ba19b63907 STYLE: generalize functions in pre-commit-hook
- improves code re-usage for pre-receive hook
2010-11-10 11:50:00 +01:00
mattijs
a45f394c37 BUG: foamConfigurePaths : incorrect logic 2010-11-04 12:50:09 +00:00
mattijs
bbf218d668 BUG: mpirunDebug : missing exec for gdb 2010-11-04 12:48:36 +00:00
mattijs
968dbf192f ENH: mpirunDebug: allow SYSTEMOPENMPI 2010-10-29 16:09:31 +01:00
mattijs
281f06df04 ENH: CleanFunctions : clear out sets/ postprocessing directory 2010-10-26 18:42:30 +01:00
mattijs
497daa3061 STYLE: foamConfigurePaths : expanded tab 2010-10-19 17:47:33 +01:00
mattijs
0d470d124e ENH: foamConfigurePaths : check that sed has done something 2010-10-19 17:46:21 +01:00
mattijs
60c81effb7 BUG: CleanFunctions using bash functionality 2010-10-15 16:24:39 +01:00
Henry
d3f0b7a06b Documentation: Added skeleton ReleaseNotes-dev 2010-10-06 12:05:25 +01:00
Mark Olesen
514661e990 Merge remote branch 'OpenCFD/master' into olesenm 2010-09-15 15:42:24 +02:00
mattijs
f7b96e2766 COMP: scanpackages : new utility to make Packages.gz 2010-08-25 15:31:27 +01:00
mattijs
bb16590704 ENH: mpirunDebug : WM_MPLIB checking 2010-08-19 15:41:02 +01:00
Mark Olesen
0f57f4ec8a STYLE: move bin/doxyFilt -> bin/tools/doxyFilter
- normally only for doxygen generation, not needed in the path
2010-08-11 11:03:43 +02:00
Mark Olesen
420ac3b5d0 ENH: skip checks in pre-commit hook when no files have changed
- this usage can correspond to a 'git commit --amend'
2010-08-10 08:39:13 +02:00
Mark Olesen
1866a2b0fd ENH: improve speed/flexibility of pre-commit-hook
- only search indexed files (BUGFIX)
- search for long-lines is faster when regex is anchored
- use git grep logic instead of sed logic where possible

- add support for running the hook manually as well.
  For example,
      bin/tools/pre-commit-hook  applications/test src/OpenFOAM/db

- add some feedback to pre-commit hook:
  The hook can be really slow, at least let people know that something
  is happening
2010-08-05 10:30:32 +02:00
Mark Olesen
f2793ffd51 ENH: allow #directive lines to exceed the 80-col line length limit 2010-07-27 17:01:41 +02:00
andy
7c1ca51598 Revert "ENH: Added DOS-style line ending check to git hook"
This reverts commit 102f797016.
2010-07-23 12:06:51 +01:00
andy
102f797016 ENH: Added DOS-style line ending check to git hook 2010-07-23 10:08:47 +01:00
Mark Olesen
e099012556 STYLE: use regex to avoid extra loop in pre-commit-hook 2010-07-23 09:31:18 +02:00
Mark Olesen
2a1ccb730e ENH: drop special treatment for C++ comments line length in pre-commit-hook
ENH: report line number for illegal words and for copyrights
2010-07-22 10:29:27 +02:00
Mark Olesen
3b7afb3ffb STYLE: add some comments to pre-commit-hook, unclutter some syntax 2010-07-21 13:50:20 +02:00
Mark Olesen
a76dd34d47 Adjust bin/tools/pre-commit-hook to avoid triggering pre-receive hook 2010-07-21 13:34:46 +02:00
Mark Olesen
b2d6ae091b ENH: made Andy's pre-receive hook into a pre-commit hook
- allows fixes before trying to push
2010-07-21 12:58:43 +02:00
Mark Olesen
48696bdb45 ENH: silently remove leading ~OpenFOAM/ in bin/foamEtcFile
- makes it easier to cut-and-paste from dictionary contents that use
  the Foam::findEtcFile expansion
2010-07-12 11:48:24 +02:00
Mark Olesen
43407380f9 ENH: improve debian handling in foamEtcFile
- remove all corresponding logic from foamExec
2010-07-06 16:33:25 +02:00
Mark Olesen
fd0bcbb480 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	bin/foamExec
2010-07-06 14:30:30 +02:00
Mark Olesen
9745b86ef3 ENH: improve foamEtcFile handling (-prefix, -version options)
- This lets foamExec use foamEtcFile as well, but debian packaging
  still needs some work
2010-07-06 14:01:15 +02:00
mattijs
502987ac7a BUG:foamExec : save arguments; handle debian naming 2010-07-06 11:43:44 +01:00
Mark Olesen
266c4c61da STYLE: remove tabs and trailing space from new scripts 2010-07-02 09:14:10 +02:00
mattijs
ed650a1643 ENH: debian/ pack files initial versions 2010-06-30 13:45:14 +01:00
henry
3e5c744969 foamPackSource: Added new filters from 1.7.0 2010-06-28 11:48:59 +01:00
henry
6574570ba0 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/0/rho
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/polyMesh/boundary
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/RASProperties
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/thermophysicalProperties
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/turbulenceProperties
	tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/cp
	tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/rho
	tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/constant/polyMesh/boundary
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/include/fixedInlet
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/include/sideAndTopPatches
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/nut
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/p
	tutorials/incompressible/simpleFoam/windTurbineTerrain/constant/RASProperties
	tutorials/incompressible/simpleFoam/windTurbineTerrain/system/decomposeParDict
2010-06-23 16:56:45 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
mattijs
4418d3f003 ENH: paraFoam : unset FOAM_ABORT to prevent backtrace printing hanging paraFoam 2010-06-11 10:03:36 +01:00
Mark Olesen
824df2c378 ENH: add org-pdflatex to create pdf files 2010-06-01 10:14:56 +02:00
henry
93ab2f0e33 foamPackSource: Removed unnecessary filter. 2010-05-20 09:09:42 +01:00
Mark Olesen
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
Mark Olesen
3dd66066a7 STYLE: remove ToDo paragraph from doxygen processing
- avoids them showing on related pages
2010-05-07 15:15:43 +02:00
Mark Olesen
0f58ac5a9b ENH: abort if rsync is missing - foamCopySettings, foamNewCase 2010-04-12 11:12:51 +02:00
Mark Olesen
4209af4d77 ENH: cleanup foamEndJob to work with -case option instead of <root> <case> 2010-04-09 17:40:06 +02:00
Mark Olesen
f7b0b7ca71 STYLE: drop 'getopt' in favour of hand-rolled option parsing
- improves flexibility and allows more consistent long options
2010-04-09 16:55:47 +02: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
8fe5f7f9ee ENH: relax compiler check in foamInstallationTest (can use system gcc) 2010-03-25 08:38:04 +01:00
Mark Olesen
f1d03a3802 ENH: cleanup shell scripts, BUG: unclosed 'if' in inlineReplace 2010-03-23 14:05:51 +01:00
mattijs
f65fe3244a BUG: foamEtcFile cannot use 'case' inside $( ) construct.
Reverted to using additional variable.
2010-03-22 17:33:56 +00:00
Mark Olesen
4326096153 STYLE: cleanup some shell script syntax 2010-03-19 20:02:05 +01:00
Mark Olesen
db34c43ab0 STYLE: use 'setenv PATH' instead of 'set path=' for c-shell scripts
- the path is accesible either way, but use setenv for consistency with
  other environment variables. It also simplifies foamCleanPath again.
2010-03-19 16:49:41 +01:00
Mark Olesen
3ee8595169 ENH: add -m <mode> option to foamEtcFile to allow chaining.
For example, within the user ~/.OpenFOAM/<VER>/prefs.sh:

    foamPrefs=`$WM_PROJECT_DIR/bin/foamEtcFile -m go prefs.sh` \
        && _foamSource $foamPrefs

could be used to write a personal adjustment that also includes the
site-wide prefs.
2010-03-19 13:06:49 +01:00
andy
5332347887 ENH: minor typo 2010-03-17 14:57:26 +00:00
Mark Olesen
6b6dd51a27 STYLE: more consistent shell style in tutorial run/clean scripts 2010-03-10 10:55:42 +01:00
Mark Olesen
2068c67a33 ENH: 'wclean all' now uses either Allwclean or Allclean files if
present.
2010-03-09 17:16:23 +01:00
Mark Olesen
03b30396cb ENH: relocate third-party binaries
old: $WM_THIRD_PARTY_DIR/<packageName>/platforms/$WM_ARCH*
new: $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH*/<packageName>

This streamlines the creation of binary packs, eases distribution and
helps when testing the robustness of relocatable installations.
2010-03-09 10:15:10 +01:00
Mark Olesen
4fdd5b3b18 BUG: engridFoam did not use ParaView_MAJOR variable
BUG: engridFoam had $WM_ARCH instead of $WM_ARCH$WM_COMPILER
2010-03-08 10:22:34 +01:00
Mark Olesen
be86669315 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-05 15:46:49 +01:00
Mark Olesen
06910c1cd1 ENH: add -space option to foamCleanPath
- this allows more direct use by c-shell
2010-03-05 14:35:47 +01:00
Mark Olesen
1fe4264f3f ENH: add foamNewCase script
Create a new case from a template for particular applications
2010-03-03 10:49:12 +01:00
henry
5c9aa7f4d2 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-03 09:30:18 +00:00
henry
62c2f4d1bb Corrected header formatting. 2010-03-03 09:30:11 +00:00
Mark Olesen
2073dcf9d7 STYLE: move source templates from bin/templates/ to etc/codeTemplates/ 2010-03-03 09:19:23 +01:00
Mark Olesen
ca7a624fec ENH: draft version of paraFoam with -touchAll option 2010-02-22 09:11:14 +01:00
Mark Olesen
cf49a74f9c STYLE: combine removal of .gz file versions in foamClearPolyMesh 2010-02-18 18:23:54 +01:00
Mark Olesen
07283ff315 ENH: add -builtin option to paraFoam (VTK builtin OpenFOAM reader)
- Also adjusted formatting of usage to match what argList generates
2010-02-05 08:36:44 +01:00
mattijs
cae4d383cf BUG: script uses bash but starts /bin/sh 2010-01-27 10:26:04 +00:00
andy
99c22976ea added git option 2009-12-09 10:06:00 +00:00
Mark Olesen
975d56086c promote org-mode conversion utilities from bin/tools -> bin/ 2009-12-04 10:49:04 +01:00
Mark Olesen
6b9534c9ce foamCopySettings - skip sampled directories and Ensight output directories 2009-12-02 10:06:32 +01:00
Mark Olesen
2bfd449cf3 added bin/tools/org-{batch,html,latex}
- make it easier for non-emacs users to generate some of the
  documentation
2009-11-30 13:33:06 +01:00
Mark Olesen
fa93ce8cd7 coding style adherence
- markup codingStyleGuide.org examples so they actually indent correctly

- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
Mark Olesen
1c6dd6de70 removed Paraview2 support from paraFoam
- mention PV3blockMeshReader in the README as well
2009-11-25 12:33:00 +01:00
mattijs
79ffe06758 support for mpich 2009-11-21 10:51:49 +00:00
Mark Olesen
5e852915f5 Merge commit 'bundle/home' into olesenm
Conflicts:
	src/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
	src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
	src/mesh/blockMesh/blockMesh/blockMeshMerge.C
	src/postProcessing/functionObjects/field/streamLine/streamLineParticle.H
2009-10-08 12:03:35 +02:00
Mark Olesen
da62572187 ParaView reader for blockMesh
- first version. Only uses simple hex shapes for the blocks.
2009-10-05 23:36:08 +02:00
mattijs
610fec9ebe remove compressed files 2009-08-25 12:41:15 +01:00
mattijs
3355c8d9eb initial streamlines functionobject 2009-08-25 12:35:48 +01:00
henry
cf08f081da Corrected tutorials. 2009-08-18 17:12:15 +01:00
andy
d51e4b8ea2 adding <current> location to list of searched locations for foamLog.db 2009-08-13 16:58:10 +01:00
andy
6f1a813044 minor formatting changes 2009-08-12 10:48:07 +01:00
Mark Olesen
ce567e4b76 foamCopySettings: more readable with sed/tr 2009-08-10 09:04:26 +02:00
Mark Olesen
9960977642 foamCopySettings enhancement
- read ~OpenFOAM/foamCopySettings.rc file for an extra rsync options
  for example, to ignore post-processing or sampling directories
2009-08-09 19:02:05 +02:00
Mark Olesen
bdbdd25bac Allwmake and {applications,src}/Allwmake use wmake/wmakeCheckPwd
- solves problems that can occur when checking $PWD and links are involved
2009-08-07 20:24:11 +02:00
Mark Olesen
1d8294b5b0 added draft of foamCheckPwd 2009-08-07 17:06:49 +02:00
andy
676c842a63 Revert "drop support for paraview 2.x reader"
- this was not agreed.

This reverts commit 41b196ffeb.
2009-08-03 16:30:48 +01:00
Mark Olesen
e211ff7dab consistency update: foamNew, foamNewSource, foamNewTemplate
- simplified the logic
- provide direct link to the respective scripts
- provide help from the respective scripts
2009-08-02 12:43:24 +02:00
Mark Olesen
270f14f644 foamGraph* : check if log file exists 2009-08-02 11:23:00 +02:00
Mark Olesen
b5616b4ea4 consistency fix for scripts: foamCheckJobs, foamPrintJobs, foamLog
- drop reference to license directory
- check -help before checking directories

- search for foamLog.db is more consistent with foamEtcFile
    $HOME/.OpenFOAM/$WM_PROJECT_VERSION
    $HOME/.OpenFOAM
    $WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION
    $WM_PROJECT_INST_DIR/site
    $WM_PROJECT_DIR/etc
    $PROGDIR/tools
2009-08-02 11:08:33 +02:00
Mark Olesen
41b196ffeb drop support for paraview 2.x reader 2009-08-02 10:04:17 +02:00
Mark Olesen
ff5137e459 more consistent naming convention for aliases
- old-style (left untouched for now):
  app, lib, run, sol, tut, util

- new-style:
  foamApps, foamLib, foamRun, foamSol, foamTut, foamUtils

- additional aliases:
  userApps, whichFoam

NB: ideally we'd have 'foamSrc' instead of 'src'.
    Do we really need 'foamsrc' and 'foamfv' anyhow?
2009-08-02 09:44:00 +02:00
Mark Olesen
1afd00c63b Merge commit 'OpenCFD/master' into olesenm
Conflicts:
	README
2009-07-28 09:05:03 +02:00
henry
e2a74e59d9 Corrected gcc version test.
Removed network tests.
2009-07-27 12:32:20 +01:00
Mark Olesen
91157af10c All ThirdParty build-related stuff moved there. 2009-07-24 23:10:15 +02:00
henry
35ba91be8e Reverted change and moved the ThirdParty scripts back to ThirdParty. 2009-07-24 11:40:19 +01:00
Mark Olesen
b1a3bcc9a9 take control of Allwmake scripts for third-party sources
- this improves the chances of having a current version
2009-07-24 11:01:29 +02:00
Mark Olesen
b095d78496 drop bin/tools/foamThirdParty (unused) in favour of straight text form
- doc/THIRD_PARTY lists where various third party sources can be found
2009-07-24 08:46:32 +02:00
Mark Olesen
dfd42b6b4a new script - foamEtcFile
- Locate user/site/shipped file with the semantics used in the
  ~OpenFOAM/fileName expansion
2009-07-23 20:26:40 +02:00
henry
92d8f5789a Moved the ThirdParty build scripts to bin so that they are under the git. 2009-07-24 11:04:05 +01:00
Mark Olesen
7c3ab7620b new script - foamEtcFile
- Locate user/site/shipped file with the semantics used in the
  ~OpenFOAM/fileName expansion
2009-07-23 20:26:40 +02:00
Mark Olesen
d28cf0f242 update foamInstallationTest for 1.6 and new FOAM_SITE_{APPBIN,LIBBIN} 2009-07-23 10:59:10 +02:00
henry
9b44034d8c Changed more references to wmake/utilbin to wmake/bin. 2009-07-20 11:02:57 +01:00
henry
fa34079e5a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-16 12:42:45 +01:00
henry
589a342e89 Added -qmake option to specify the location of qmake which defaults to the system one.
The Qt version is now checked for >= 4.3.
2009-07-16 12:30:54 +01:00
Mark Olesen
375e968bd1 fixup foamPack* scripts
- handle ThirdParty-VERSION properly

- handle wmake/utilbin/ location

- should the wmake/rules/* really be packed with a binary distribution?
  I think this is just left over from before.
2009-07-16 09:56:54 +02:00
Mark Olesen
65d7aff96d Merge commit 'OpenCFD/master' into olesenm 2009-07-16 08:55:22 +02:00
henry
d89d2eadd5 Reinstate editing the paths in the .cmake files as the default behaviour. 2009-07-15 23:12:06 +01:00
Mark Olesen
999ed8812c removed last remnants of LAM support 2009-07-15 12:26:12 +02:00
Mark Olesen
0e5e84f4ed removed last remnants of LAM support 2009-07-15 12:26:12 +02:00
andy
beb66860e1 moved private and protected to above constructor 2009-07-13 18:31:08 +01:00
andy
27bcbc53ea added +x permissions 2009-07-13 18:25:13 +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
5f246c45e6 Improved the basic tutorial clean functions. 2009-07-10 11:55:50 +01:00
henry
9f46545159 Get the application from the controlDict where necessary. 2009-07-09 17:44:50 +01:00
andy
9e54053f2e merge with master + fix conflicts in tuts/mesh 2009-07-08 12:15:44 +01:00
andy
d535ebc906 adding Mark's change to the build PV options 2009-07-08 11:20:46 +01:00
henry
7485b1c867 Added execute permissions. 2009-07-07 22:57:02 +01:00
henry
07793793ae Remove .gz and files with other extensions. 2009-07-01 22:27:02 +01:00
mattijs
dcbb8c94b2 remove sets and snappyHexMesh *Level files 2009-07-01 11:20:57 +01:00
Henry Weller
3345fd8378 Removed support for cint. 2009-06-22 21:03:57 +01:00
mattijs
67c9666d21 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-09 14:02:33 +01:00
henry
2c1f78ee9c Changed start-date for the copyright of new files. 2009-06-09 12:30:48 +01:00
mattijs
92172c5d21 snappyHexMesh files 2009-06-09 09:54:27 +01:00
andy
88ea18c3a7 change to QMAKE_PATH 2009-05-22 12:32:17 +01:00
henry
cc5506f103 Added backward compatibility in the naming of the ParaView directory. 2009-05-21 18:29:13 +01:00
henry
a562395687 Allow the setting of the Qt version via the path to the appropriate qmake. 2009-05-21 17:45:56 +01:00
Mark Olesen
2aec8f2820 renamed buildParaView3.5-cvs -> buildParaView and reworked
- get version from $ParaView_VERSION or from -version option
- added QT gui support (useful when compiling enGrid)
- update files for finding cmake-2.6.4 as well
- added bin/engridFoam for calling a version of enGrid that uses the
  paraview libraries compiled with/for OpenFOAM
- added foam3rdParty change directory alias
2009-05-13 11:31:44 +02:00
Mark Olesen
d2a78f7e96 finally drop references to ~/.OpenFOAM-<ver> (use ~/.OpenFOAM/<ver>) 2009-05-07 10:37:55 +02:00
henry
48c6fbcab2 Added tags file to help locate files. 2009-05-05 21:23:56 +01:00
mattijs
cbd181fa90 do not strip non-existent dirs 2009-04-02 13:11:14 +01:00
henry
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
henry
23a579774a Better tag generation. 2009-03-09 19:51:44 +00:00
henry
35eac2b9a3 Better tagging support. 2009-03-01 20:31:47 +00:00
mattijs
76dd475a67 sun porting 2009-02-13 13:03:10 +00:00
andy
ee416e8105 promoting MESA paths to top level 2009-01-14 11:57:05 +00:00
andy
e16a7676cb minor updates + removed old FoamX cfg option 2009-01-14 10:21:59 +00:00
andy
e059870ad2 typo 2009-01-14 10:21:16 +00:00
Mark Olesen
d7f99e3db6 cosmetics 2009-01-12 08:47:25 +01:00
Mark Olesen
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
henry
d793344af2 Corrected mhdFoam tutorial scripts. 2009-01-05 22:18:19 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
172b862c47 added command bin/finddep, added copyright headers to misc bin/ scripts 2008-12-31 16:16:20 +01:00
Mark Olesen
a15d0f8ad4 output banner cosmetics
- move url to lower right: makes version information stand out better
2008-12-18 20:29:24 +01:00
Mark Olesen
ae9057c9fe build paraview with experimental PARAVIEW_INSTALL_DEVELOPMENT 2008-12-18 19:52:37 +01:00
Mark Olesen
6151df3ef1 paraview build - reworking build/install directories 2008-12-16 13:20:53 +01:00
Mark Olesen
7072a998e8 paraview build - add -abspath/-envpath options 2008-12-16 11:45:12 +01:00
Mark Olesen
49bbb29ac8 update build scripts and etc/apps/paraview3 settings for paraview-3.5 (cvs)
- The new cmake seems to be even smarter. If we try to use env variables in
  the .cmake files (eg, with And's sed fixup), they are rewritten in a
  subsequent re-make and take much longer).  Adjusting the compiler values
  themselves causes a full remake. On the positive side, disabling the rpath
  seems to mean we may not need any of this.

  In summary - yuck!
2008-12-15 22:06:54 +01:00
Mark Olesen
aa522c93f1 buildParaView changes
- set CMAKE_INSTALL_PREFIX:PATH now
- allow separation between -config/-make/-install stages
- update for cmake 2.6
2008-12-13 17:55:07 +01:00
Mark Olesen
b94c3fb8a1 paraFoam - check for region-specific fvSchemes, fvSolution 2008-12-10 09:47:24 +01:00
Mark Olesen
8b02802696 renamed bin/foamCheckSourceDeps -> bin/rmdepold and cleaned up 2008-11-29 12:26:54 +01:00
Mark Olesen
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
sergio
747db59c3a basic.H
XiModel.H
SCOPELaminarFlameSpeed.H
basicXiSubXiEq.H
basicXiSubG.H
Doxyfile (include PATH to OpenCFD Macros)
doxyFilt (include class documentation in /src)
2008-11-27 11:22:08 +00:00
Mark Olesen
c61868e91b Merge commit 'OpenCFD/master' into olesenm 2008-11-24 08:33:55 +01:00
henry
dfba9d772f Updated the indentation style for #include statements and separators. 2008-11-23 16:19:13 +00:00
Mark Olesen
bad35371b8 bin/foamCheckSourceDeps works again
- added -rm | -remove option
 - added -rmdir option
2008-11-21 11:23:50 +01:00
Mark Olesen
c8de1c150d foamNew templates:
- add static/protected member function subsections
  - static members up front, constructors/destructors next
    private/protected/public members next
2008-11-10 20:59:15 +01:00
Mark Olesen
50a2ddfcc7 bin/ wmake/ script updates
- send error messages to stderr
  - added -h/-help options where some were missing
  - changed 3-space to 4-space indentation
  - where possible, allow multiple directories from the command-line
2008-10-22 14:33:59 +02:00
mattijs
1b33f69e79 new option for normal running 2008-10-02 13:23:13 +01:00
mattijs
9c58b6268c xterm+log option 2008-09-12 14:44:19 +01:00
Mark Olesen
120e32a58d Decided upon the format case{region}.OpenFOAM for denoting regions (paraview)
Pro: Good delimitation. Good visual distinction. No confusion with normal
       cases, since '{}' characters are excluded by !word::valid()
  Con: Possible quoting issues when creating directly instead of via paraFoam,
       but seemed to work fine with bash TAB completion.
2008-08-10 16:54:55 +02:00
Mark Olesen
679fd493ca CleanFunction: removed *.foam files instead of *.OpenFOAM files 2008-08-09 18:46:26 +02:00
Mark Olesen
752c8eaeba paraFoam improvements
- only create (and remove) case.OpenFOAM file if it doesn't already exist
  - new -touch option just generates case.OpenFOAM file and exits
  - new -region option to create case=regionName.OpenFOAM file
    (the delimiter may change in the future)
2008-08-08 23:20:03 +02:00
Mark Olesen
3bc28f6cb0 foamUpdate scripts - avoid destroying soft-links or trashing existing {RAS,LES}Properties 2008-08-08 23:15:28 +02:00
Mark Olesen
851abe7661 adjusted and improved buildParaView script
- usage, explicit -fast option for rebuilding new -mpi, -python, -mesa
    options for specifying alternative modules to include without editing
    the file
  - the build options can also be grabbed from the script name itself.
    eg, the soft-link buildParaView3.3-cvs-python specifies that the python
    module should be included
  - misc. cleanup in tools/buildParaViewFunctions: give the user some
    feedback about the python version, set all variables at the bottom
    of the file rather between initialise and build.
  - be more careful when changing the hard-links to avoid the find
    '-execdir' option (fails when the user has '.' in the path), and
    do separate find/loop/grep/sed on the files to avoid touching too many
    files and ruining a later rebuild stage.

Notes:
  - the cmake uses -DCMAKE_INSTALL_PREFIX=$PARAVIEW_APP_DIR, but this
    variable isn't defined anywhere.
2008-08-08 17:55:28 +02:00
Mark Olesen
4085575669 usage and argument handling for bin/rm* and bin/touch* utilities 2008-08-08 13:07:10 +02:00
mattijs
a972933b85 rpath was set 2008-07-25 13:34:53 +01:00
Mark Olesen
b43378747a Merge commit 'OpenCFD/master' into olesenm 2008-07-23 13:41:51 +02:00
henry
7be8bc1d06 Changed packing for OpenMPI.
Not by me, Chris/Mattijs?
2008-07-21 11:34:44 +01:00
Mark Olesen
4d96b876e4 cleanup of foam-pack scripts
- removed legacy foamDiffSourceList, foamPackChanged
  - added foamPackDoxygen for separate distribution of docs
    handles -prefix option
  - misc. cosmetic changes
2008-07-20 15:53:43 +02:00
Mark Olesen
fbf250af65 foamCopySettings ignore log files as well 2008-07-18 13:53:42 +02:00
Mark Olesen
b6c6953ba3 foamClearPolyMesh gets -region option too 2008-07-18 12:23:48 +02:00
Mark Olesen
1884b91c8c bin/script changes
foamUpdateCaseFileHeader:
      - handle multiple files
      - use fixed version width
      - replace grep/tr/cut -> sed

    foamUpgradeTurbulenceProperties:
      - handle multiple files
2008-07-17 23:26:54 +02:00
Mark Olesen
a34c8d635b foamUpgradeTurbulenceProperties : do not use dirname with missing arguments 2008-07-17 10:04:30 +02:00
Mark Olesen
931c30e61e foamClearPolyMesh minor cleanup 2008-07-17 10:03:16 +02:00
Mark Olesen
2fc54a50ff Merge commit 'OpenCFD/master' into olesenm 2008-07-14 12:59:35 +02:00
Mark Olesen
04ffbbc51a foamAllHC / foamEbrowse / foamNew - error checking 2008-07-14 11:00:41 +02:00
Mark Olesen
fbac898f53 updated foamClearPolyMesh
* now removes the same files as Foam::polyMesh::removeFiles()
  * accepts -case option
2008-07-14 10:12:20 +02:00
Mark Olesen
f22d251d60 added foamCopySettings script
* copies case contents without the polyMesh
2008-07-14 10:11:01 +02:00
andy
22dd42b04e tidy up and turn all 3rd party library functionality off 2008-07-11 16:39:05 +01:00
henry
b48f6ac2d3 Moved buildParaView3.3-cvs to be on the PATH and added more path corrections 2008-07-10 18:44:31 +01:00
henry
60c3a635ef Removed foamPackThirdPartyBinAll 2008-07-10 17:56:42 +01:00
henry
e89dae6084 New script. 2008-07-10 17:16:31 +01:00
andy
ba72941650 general update - but still needs work 2008-07-10 16:03:15 +01:00
henry
f5f9435838 Removed java test. 2008-07-10 11:12:32 +01:00