Commit Graph

261 Commits

Author SHA1 Message Date
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
Mark Olesen
0ca515e3b1 Merge remote branch 'OpenCFD/master' into olesenm 2010-06-02 10:46:45 +02:00
mattijs
96a3de7a43 ENH: work with processors with 0 cells. polyMesh::directions, checkMesh. 2010-06-01 14:35:55 +01:00
mattijs
f84a91d7ce Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/createBaffles/createBaffles.C
	applications/utilities/postProcessing/patch/patchIntegrate/patchIntegrate.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.C
	src/dynamicMesh/motionSmoother/motionSmoother.C
	src/dynamicMesh/motionSmoother/motionSmoother.H
	src/dynamicMesh/motionSmoother/motionSmootherTemplates.C
2010-05-18 13:28:21 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
Mark Olesen
4712e131d9 STYLE: add some usage comments to some conversion utilities
STYLE: move polyDualMesh from conversion -> manipulation
2010-05-18 14:41:53 +02:00
mattijs
e1e4098600 ENH: Have different master and slave patch to handle cyclic baffles. 2010-05-17 17:08:40 +01:00
mattijs
925202da2e ENH: have -noSync option to prevent topoSet/setSet automatically syncing coupled faces. 2010-05-12 15:52:19 +01:00
mattijs
7507b5f6bd BUG: fixed subset action in topoSet; renamed sourceDict keyword to sourceInfo. 2010-05-11 12:09:49 +01:00
mattijs
9f2e06ed55 STYLE: added missing command line option descriptions for mapFields and splitMeshRegions. 2010-05-11 10:52:35 +01:00
mattijs
c367e07642 ENH: Converted all cellSet/faceSet/pointSet to topoSet. 2010-05-10 17:17:49 +01:00
mattijs
49bf24b194 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-05-10 14:31:52 +01:00
mattijs
1a1c6a57e2 STYLE: Added comment to explain usage. 2010-05-10 13:57:44 +01:00
mattijs
6660ec17e5 ENH: topoSet tool to replace cellSet,faceSet,pointSet. 2010-05-08 17:39:24 +01:00
Mark Olesen
0e9851b432 Merge remote branch 'OpenCFD/master' into olesenm 2010-05-03 09:34:31 +02:00
Mark Olesen
35afeb9b18 STYLE: remove superfluous uses of argList::validArgs.clear()
- a holdover from the old <root> <case> days
2010-05-03 08:38:39 +02:00
mattijs
7f6740a9eb Merge commit 'origin/master' into splitCyclic 2010-04-30 15:10:10 +01:00
mattijs
4e0fdc69ea BUG: createPatch was reading mesh before setting matchTol so could not correct illegal mesh 2010-04-30 11:16:57 +01:00
mattijs
a967d05fd3 BUG: was reading mesh before setting coupledPolyPatch::matchTol 2010-04-29 18:42:30 +01:00
Mark Olesen
72f7d46f23 ENH: add operator[](const word&) as "find-by-name" to some classes
- affected: polyBoundary, fvBoundaryMesh, ZoneMesh, searchableSurfaces

  before:
      const label zoneI = mesh.cellZones().findZoneID(zoneName);
      const cellZone& cz = mesh.cellZones()[zoneI];
  after:
      const cellZone& cz = mesh.cellZones()[zoneName];
2010-04-29 10:12:35 +02:00
Mark Olesen
147fa2a75d STYLE: add notes to some (most) command-line options
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
Mark Olesen
03338b9ea9 STYLE: partial revert for 5cfa97624e 2010-04-23 10:23:08 +02:00
Mark Olesen
4d2a297a67 BUG: syntax problems found by gcc-4.5.0
- "cpp -traditional-cpp" doesn't strip C++-style comments
  Probably need a workaround with sed -e 's@^ *//@@' if we
  wish to support C++-style comments in Make/{files,options}

- lduMatrixTests.C:121:1:
  error: ‘Foam::lduMatrix::solverPerformance::solverPerformance’ names
  the constructor, not the type

- edgeFaceCirculatorI.H:355:1:
  error: ‘Foam::edgeFaceCirculator::edgeFaceCirculator’ names the
  constructor, not the type

- patchPointEdgeCirculatorI.H:236:1:
  error: ‘Foam::patchPointEdgeCirculator::patchPointEdgeCirculator’
  names the constructor, not the type

- objToVTK.C:116:5:
  error: ‘Foam::argList::argList’ names the constructor, not the type

  same in surfaceClean.C, surfaceRefineRedGreen.C, surfaceSplitByPatch.C

- fireFoam/createFields.H:74:41:
  error: type/value mismatch at argument 1 in template parameter list
  for ‘template<class T> class Foam::autoPtr’
2010-04-22 09:00:31 +02:00
Mark Olesen
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +02:00
mattijs
cff2580336 Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
	src/meshTools/sets/topoSets/faceSet.C
	src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C
2010-04-16 12:09:34 +01:00
Mark Olesen
42807ddd7e STYLE: fix worst spacing violations for 'os <<' constructions
- accept some violations of the coding guidelines though
- perhaps adding a style exception would be simpler.
2010-04-13 17:45:49 +02:00
Mark Olesen
874120350c STYLE: use forAllIter, forAllConstIter in more places
ENH: change some iterator -> const_iterator access

BUG: found some places with forAllIter and ::iterator !
2010-04-13 09:10:36 +02:00
Mark Olesen
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
Mark Olesen
a50f01b079 STYLE: use forAllIter, forAllConstIter instead of long-hand version
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
mattijs
fd7e9c9ae4 ENH: Added option for explicitly providing regions. Restructured code. 2010-04-01 14:20:27 +01:00
mattijs
d947aa9c9e Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-30 21:54:08 +01:00
mattijs
883dbc2e2d ENH: Add concave cell checking 2010-03-30 21:48:57 +01: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
mattijs
d01adb74e3 ENH: Added tet volume check to checkMesh and snappyHexMesh 2010-03-26 13:39:51 +00:00
mattijs
d981028d35 STYLE: Added to header 2010-03-26 13:35:42 +00:00
mattijs
89c7523c72 Merge branch 'master' into splitCyclic
Conflicts:
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
	src/parallel/parMetisDecomp/parMetisDecomp.C
	src/sampling/sampledSurface/isoSurface/isoSurfaceCell.C
2010-03-25 13:54:12 +00:00
mattijs
09a986a89a STYLE: Remove unused static variable 2010-03-22 10:32:13 +00:00
mattijs
6680ddcfee ENH: Reuse existing zones. 2010-03-22 10:31:37 +00:00
mattijs
01d6eded39 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-18 14:41:26 +00:00
mattijs
9c60eb17d1 ENH: strip off comment lines 2010-03-18 14:38:44 +00:00
andy
dc06f24a0c ENH: Split src/parallel into decompse and reconstruct to remove cyclic build dependency 2010-03-18 12:23:01 +00:00
andy
45463d2325 ENH: Using more descriptive names for input entries for createPatch utility 2010-03-12 12:44:14 +00:00
mattijs
49fb39e8f3 Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/parallelProcessing/decomposePar/decomposePar.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
2010-03-09 21:28:53 +00:00
mattijs
18eb2d7099 STYLE: Typo in warning message 2010-03-04 13:47:51 +00:00
mattijs
5ece14ec6f BUG: finite volume did not work before. 2010-03-03 10:12:35 +00:00
Mark Olesen
91967fb196 COMP: compiling setSet directly (without Allwmake) now works 2010-02-22 13:51:17 +01:00
Mark Olesen
689d4b2860 ENH: provide operator[] for accessing argList options.
- operator[] with label -> get args at index
- operator[] with word  -> get named option
2010-02-17 11:43:42 +01:00
Mark Olesen
d857d671ac STYLE: use new argList argRead() method and operator[] for cleaner code.
- deprecate argList::additionalArgs() method and remove uses of it
2010-02-16 17:57:49 +01:00
Mark Olesen
ee293cde8e ENH: add usage information for '-overwrite' option.
- make centrally available via #include "addOverwriteOption.H"
2010-02-16 11:44:27 +01:00
Mark Olesen
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
mattijs
20ac00f67c ENH: have -loop option on setSet to enable -batch over a set of directories.
Only allowed in batch mode. Causes any set to be written to time directory
instead of facesInstance.
2010-01-29 11:43:28 +00:00
mattijs
8b7f6666ca ENH: sets are now searched for.
Some tools now output sets at the pointsInstance (if relating to geometry),
some at the facesInstance (if relating to topology).
So when loading them we now search for them from current time down
to facesInstance. They cannot be beyond facesInstance.
Adapted Time::findInstance to take optional limiting instance. Adapted
topoSet to use this. Adapted all uses of IOobjectList on sets to do the
same.
2010-01-29 10:25:13 +00:00
mattijs
e931525a0f BUG: sets relating to geometry (most mesh errors) should be written to
pointsInstance.

For now also dump topology related sets to pointsInstance since otherwise
paraFoam cannot see them (only looks at first 'sets' directory when searching
back)
2010-01-28 12:19:17 +00:00
mattijs
011bbf46bc ENH: splitMeshRegions now fills in coupling information in directMapped patch.
- added directMapped*Patch constructors with uniform offset
- changed splitMeshRegions to use it
- adapted chtMultiRegionFoam tutorials
2010-01-27 13:24:06 +00:00
mattijs
9f6d081654 STYLE: added comment to explain limitations on pointsync 2010-01-27 10:24:12 +00:00
mattijs
46ad2e55d6 Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/algorithms/MeshWave/FaceCellWave.C
	src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/cyclicLduInterfaceField/cyclicLduInterfaceField.C
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.C
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H
	src/OpenFOAM/meshes/polyMesh/syncTools/dummyTransform.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/edgeMesh/edgeFormats/vtk/VTKedgeFormat.H
	src/mesh/blockMesh/curvedEdges/spline.H
	src/meshTools/PointEdgeWave/PointEdgeWave.C
	src/meshTools/sets/topoSets/faceSet.C
2010-01-26 17:11:18 +00:00
Mark Olesen
2d91dedaa0 Merge commit 'OpenCFD/master' into olesenm 2010-01-22 13:23:43 +01:00
mattijs
d0b95d6949 Added mesh region option 2010-01-15 17:16:07 +00:00
mattijs
b7ba2d273a Corrected printing to be on master only 2010-01-15 17:15:42 +00:00
Mark Olesen
a694f6e374 Replace a few uses of triSurface with the more general meshedSurface. 2010-01-15 17:27:03 +01:00
Mark Olesen
2760c3db5f Merge commit 'OpenCFD/master' into olesenm 2009-12-15 10:48:51 +01:00
Mark Olesen
dd8f4f657a adjust usage for a few applications to account for new style 2009-12-09 10:19:53 +01:00
mattijs
960c192d25 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/mesh/manipulation/transformPoints/transformPoints.C
2009-12-08 11:49:13 +00:00
mattijs
a8c400de1d added region option 2009-12-07 14:59:57 +00:00
Mark Olesen
37c4f2f375 remove empty 'Description' from various .C files 2009-12-04 14:11:33 +01:00
Mark Olesen
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
Mark Olesen
6e3ed58ae5 Merge commit 'OpenCFD/master' into olesenm 2009-12-03 16:40:37 +01:00
mattijs
a0a05c1b77 allow region interfaces on processor patches 2009-12-02 16:37:59 +00:00
Mark Olesen
c091d856ae pedantic changes: 'forAll (' -> 'forAll(' in applications/
- to match coding guidelines
2009-12-03 14:12:08 +01:00
Mark Olesen
58b7e64185 Use argList::addOption, argList::addBoolOption (almost) everywhere
- ensure that the standard options (eg, from timeSelector) also have
  some usage information
2009-12-03 13:32:12 +01:00
Mark Olesen
00985638d8 remove fvCFD.H usage from remaining library source
- exception calcType.H since it'll most likely be used for building
  applications anyhow

- use quailified names in more of the lagrangian code

- killed some tab indents in various places.
2009-12-02 15:34:52 +01:00
mattijs
be1b1ceefc Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/generation/blockMesh/blockMeshApp.C
	applications/utilities/parallelProcessing/decomposePar/decomposeMesh.C
	etc/bashrc
	etc/cshrc
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
	src/decompositionMethods/parMetisDecomp/parMetisDecomp.C
	src/dynamicMesh/Make/files
	src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
	src/dynamicMesh/perfectInterface/perfectInterface.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H
	src/finiteVolume/Make/files
	src/mesh/blockMesh/blockMesh/blockMesh.C
	src/mesh/blockMesh/blockMesh/blockMeshTopology.C
	src/meshTools/Make/files
	src/meshTools/sets/topoSets/faceSet.C
2009-11-30 15:20:52 +00:00
Mark Olesen
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +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
d17d015f88 Use new last() method for List-type classes
- use first() method in some places as well where it helps clarity

- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
Mark Olesen
9157364a4b Merge commit 'OpenCFD/master' into olesenm 2009-11-25 12:29:31 +01:00
Mark Olesen
2c52705cf7 move reconstructPar 'guts' to src/parallel/reconstruct
- in preparation for adding an optional '-reconstruct' to a few utilities
  re-use as -lreconstruct library

- move related stuff there too
      src/decompositionMethods/decompositionMethods
      -> src/parallel/decompositionMethods

- added missing namespace qualifiers
2009-11-20 14:37:56 +01:00
mattijs
467feeb659 changed comment 2009-11-19 19:37:49 +00:00
mattijs
13bddac8f0 singleCellFvMesh and application 2009-11-11 11:29:22 +00:00
mattijs
151f30e779 made container constructors explicit 2009-11-03 18:09:52 +00:00
mattijs
69a4c76c6e changed help text 2009-11-03 18:08:53 +00:00
mattijs
122f3c466f extraneous reduce on noFailedChecks 2009-10-23 18:35:26 +01:00
henry
d6a278f2b2 Introduced the new file unitConversion.H to hold degToRad, radToDeg
and other unit conversion functions as they are required e.g. slug <-> kg.
2009-10-21 10:55:00 +01:00
Mark Olesen
ffc9d0d97b find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()
- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
  It looks suspicious, but the change was recent, so maybe it means something
2009-10-19 13:53:25 +02:00
henry
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
mattijs
f6ec4dee46 added -constant 2009-10-01 19:34:53 +01:00
mattijs
1ea20c864e overwrite to write to original instance 2009-09-30 15:23:57 +01:00
mattijs
6b439e6392 fix writing to 0/ instead of constant 2009-09-29 20:28:48 +01:00
mattijs
7e985f898e added remove command 2009-09-24 23:48:19 +01:00
mattijs
fad330d3f2 added zoneSets 2009-09-24 18:51:17 +01:00
mattijs
72cacc9588 added zoneSets 2009-09-24 18:39:04 +01:00
mattijs
1c8ad89145 added cellZonesOnly option which does not use walk 2009-09-22 15:26:40 +01:00
mattijs
da8198a487 added region option 2009-09-22 15:26:19 +01:00
mattijs
af62832bff master instead of masterNo 2009-09-21 10:58:51 +01:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
mattijs
10ae335e08 added warning message - coupled bcs not handled 2009-09-10 12:43:51 +01:00
mattijs
21ba33aad1 added region option 2009-09-08 17:37:56 +01:00
mattijs
1198d3e0ad added region option 2009-09-04 12:25:28 +01:00
mattijs
e94d59d88e check on existence of faceZone 2009-09-03 08:56:07 +01:00
mattijs
4594d03b32 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-09-02 14:51:49 +01:00