Commit Graph

474 Commits

Author SHA1 Message Date
mattijs
79a12e1dd8 ENH: extrudeToRegionMesh : generate columns of 1D cells 2010-08-19 05:18:03 +01:00
mattijs
16e5a28085 ENH: refineMesh : add region option. 2010-08-05 17:08:54 +01:00
mattijs
7bcdbfc33a ENH: do not print boundinb box for zero-sized patches 2010-08-05 15:21:34 +01:00
graham
f26b8c1cc7 STYLE: 80 char lines. 2010-07-28 16:42:53 +01:00
graham
012494fdb5 STYLE: Fixing code style requirements for all apps.
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
graham
3ee05530e8 Merge branch 'master' of ssh://graham@hunt//home/noisy3/OpenFOAM/OpenFOAM-dev 2010-07-27 12:24:42 +01:00
graham
67136c25ee STYLE: Remove tabs. 2010-07-27 12:24:27 +01:00
mattijs
d2d8b813be STYLE: checkGeometry.C 80char line length 2010-07-27 10:33:33 +01:00
mattijs
e3f20df12f ENH: checkMesh : wedge & empty checking improved
- aspect ratio and cellDeterminant do not use 3rd direction
- wedges are properly check for having opposite one
2010-07-23 12:06:42 +01:00
mattijs
f38ad5e44d BUG: renumberMesh : writing XXXProcAddressing 2010-07-15 09:27:05 +01:00
mattijs
d8c7792e9c ENH: renumberMesh.C : renumber XXXXProcAddressing maps in parallel 2010-07-06 11:42:26 +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
Mark Olesen
c1857db513 Merge remote branch 'OpenCFD/master' into olesenm 2010-06-18 12:52:46 +02:00
mattijs
d4d7611c9f ENH: handle msh2.2 format 2010-06-18 11:41:08 +01:00
henry
bd77d50b5f Miscellaneous developments from Hilary 2010-06-10 13:15:04 +01:00
Mark Olesen
1a17581567 STYLE: consistent handling of compile/link flags for fileMonitor and setSet 2010-06-08 14:35:11 +02:00
mattijs
fbe04b18ec Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
2010-06-04 16:09:16 +01:00
mattijs
dafbfb5c20 ENH: multiLevel decomposition method. 2010-06-04 15:31:19 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
f1ee573aa0 Merge branch 'inotify'
Conflicts:
	TODO
2010-06-02 10:10:52 +01:00
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
2eee1666c0 BUG: extrudeToRegionMesh : make it work again
- constrain multiple normals per point
- introduce special cyclic type nonuniformTransformCyclic inbetween zones
2010-05-26 16:09:02 +01:00
mattijs
17a6cac97b Merge commit 'origin/splitCyclic' 2010-05-18 13:35:56 +01:00
mattijs
5d3e38e34e ENH: extrudeToRegionMesh : allow extrusion on cyclics.
Still not good enough - only handles single extrusion vector per cyclic point.
2010-05-18 13:30:32 +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
Mark Olesen
59c0e8e24d STYLE: fix 'forAll (' -> 'forAll(' format (again) 2010-06-02 09:13:48 +02:00
mattijs
78e5ef9dbd ENH: specification of selection of cellZone in snappyHexMeshDict.
Now allows specification of inside point to help leaky surfaces.
2010-05-17 11:45:01 +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
937e0d23d0 STYLE: consistent naming of files containing the 'New' method
before:
    - 'new' prefixed to camel-cased class name: eg, someClass -> newSomeClass
    - 'New' prefixed to templated class name:   eg, TmplClass -> NewTmplClass
    - 'New' suffixed to class name:             eg, someClass -> someClassNew

after:
    - consistent 'New' suffixed to class name, no change of case
          eg, someClass -> someClassNew
          eg, TmplClass -> TmplClassNew
2010-04-13 18:47:47 +02: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
mattijs
defea5836e Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H
	src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.C
	src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.C
2010-04-13 11:07:19 +01: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
mattijs
3b53ff5658 ENH: Make snappyHexMeshDict consistent with nGrow change.
nGrow in 1.6.x was always taken to be 0!
2010-04-12 17:27:39 +01: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
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +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
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
5d93fbe16d ENH: Removed parmetis. Use ptscotch instead. 2010-03-22 16:48:48 +00:00
mattijs
9f5c39af53 ENH: have ptscotch
ptscotch - compiles into ptscotchDecomp. All thirdparty decompositionMethods
now moved out of decompositionMethods so add them explicitly to link line
for programs that need them (decomposePar, snappyHexMesh etc.)
2010-03-22 15:38:35 +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
a6af4e272c ENH: offset calculation for multiple directMapped patches. 2010-03-18 14:39:33 +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
mattijs
a703cb3b94 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-17 18:13:13 +00:00
mattijs
e0fcca3858 ENH: don't use directMapped on top patch. 2010-03-17 18:12:48 +00:00
andy
08f10e8ea1 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-17 15:06:16 +00:00
mattijs
06d2dc9e4c ENH: application to extrude a faceZone into a separate region mesh
Extrudes either internal faces to inflate a baffle or extrudes boundary
faces to create separate mesh. Inserts directMappedWall between the two
meshes.
2010-03-17 11:17:17 +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
andy
803556d761 ENH: initialised edge values to avoid compiler warning msg 2010-03-01 17:14:33 +00:00
andy
22ce56db17 Merge branch 'olesenm' 2010-03-01 15:55:30 +00:00
mattijs
27634a044e STYLE: Add help to command-line arguments 2010-03-01 14:50:41 +00:00
Mark Olesen
f2f2f60cf5 STYLE: remove unused cruft from flex-based lexers 2010-02-25 16:18:34 +01:00
Mark Olesen
f319ddfa61 ENH: begin initial coding for using upcoming vtkPolyhedron 2010-02-24 15:24:32 +01:00
Mark Olesen
91967fb196 COMP: compiling setSet directly (without Allwmake) now works 2010-02-22 13:51:17 +01:00
Mark Olesen
a3fec987a8 CLEANUP: remove most references to (deprecated) .ftr file format
- use .obj files for debugging purposes instead.
2010-02-17 13:56:56 +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
2f4efd20d7 STYLE: rename starToFoam -> star3ToFoam for the sake of clarity 2010-02-16 18:40:10 +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
3613752115 ENH: add -tri (triangulate) option to foamToSurface, surfaceMeshConvert
STYLE: drop surface extraction from foamToStarMesh

- retain surfZone names when writing surfaces
- remove surface extraction/writing from meshWriter since it now
  duplicates what the meshedSurface class can do.
2010-02-10 11:49:53 +01:00
Mark Olesen
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
mattijs
36346ec1a2 ENH: Do a weighted balance before refinement and layer addition.
Have weight=7 on cells to be refined and balance. Then after refinement
there will be perfect balancing. Similar for layer addition.
2010-02-03 06:18:30 +00:00
Mark Olesen
a070321792 ENH: Add usage information for snappyHexMesh -overwrite option.
Make debug optional.

- minor wording changes in the messages
2010-02-02 15:39:45 +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