Commit Graph

474 Commits

Author SHA1 Message Date
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
mattijs
c9033fc36f Added optional settings at comment 2010-01-15 17:14:06 +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
7a200e81b4 Add foamToSurface to dev repository.
- Extracts the boundary faces of a polyMesh to a meshedSurface and
  writes in various possible formats.
2010-01-15 16:20:06 +01:00
Mark Olesen
9478a81bce Use MeshedSurface instead of triSurface in ideasUnvToFoam 2010-01-15 15:04:44 +01:00
mattijs
3bfec62cee Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-17 15:55:21 +00:00
mattijs
b877323a33 Added baffle option and corrected default setting
When faceZones are present one has to decide whether to have zone faces
only on the edge of cellZones or also freestanding.
The setting for minMedialAxisAngle was corrected since the calculation
has also been corrected.
2009-12-15 15:56:35 +00: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
0e33bf0bba add some usage information to a few utilities 2009-12-04 10:20:15 +01:00
Mark Olesen
6e3ed58ae5 Merge commit 'OpenCFD/master' into olesenm 2009-12-03 16:40:37 +01:00
mattijs
1665a86206 more Icc11.1 changes 2009-12-02 18:32:03 +00: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
Mark Olesen
c3457b5152 argList - specializations for optionRead<string> etc.
- new optionLookupOrDefault and additional form of optionReadIfPresent
  with a default value
2009-12-02 13:45:11 +01:00
mattijs
47eb0c5cd2 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake
2009-12-01 16:47:45 +00: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
mattijs
648e485e7d adapted angle for medial axis determination 2009-11-26 13:06:56 +00: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
b3cdac4baf remove unused (and duplicate) Tuple.H in applications/utilities/mesh/advanced/modifyMesh/ 2009-11-25 12:07:03 +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
259a15d9f4 missing EOF 2009-11-13 18:15:29 +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
mattijs
19359869f4 use degToRad 2009-10-22 13:05:26 +01:00
mattijs
9120e00a59 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-10-22 11:59:45 +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
mattijs
10dd3ea2a4 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-10-20 22:15:23 +01:00
mattijs
32e2edb94b degrees to radians conversion 2009-10-20 22:15:18 +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
mattijs
61ad54ec03 skip group type 7 (nodes) as output by salome 2009-10-18 21:14:15 +01:00
andy
a8f7488e0f Merge branch 'olesenm' 2009-10-13 12:39:35 +01: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
Mark Olesen
84be998ebc Merge commit 'OpenCFD/master' into olesenm 2009-10-08 12:07:04 +02: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
2dcd867f47 blockMesh improvements
- expose point field throughout

- make output less verbose, but can switch on/off with verbose() static method
2009-10-05 22:53:22 +02: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
Mark Olesen
ad5d10b817 Merge commit 'OpenCFD/master' into olesenm 2009-09-23 09:14:28 +02: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
1bdfa97fc7 adapted extrudeProperties for new extrusion model 2009-09-22 15:25:53 +01:00
mattijs
859d727696 added patch non-manifold edge dumping 2009-09-22 15:25:16 +01:00
Mark Olesen
9dea06e9d8 Merge commit 'OpenCFD/master' into olesenm 2009-09-22 09:33:23 +02:00
Mark Olesen
d37378acf4 relocate autoMesh -> mesh/autoMesh 2009-09-21 18:20:03 +02:00
Mark Olesen
0e5899b841 relocate autoMesh -> mesh/autoMesh 2009-09-21 13:07:40 +02:00
mattijs
af62832bff master instead of masterNo 2009-09-21 10:58:51 +01:00
Mark Olesen
897baf81c0 blockMesh: most mesh data are now demand-driven
- Unless the points(), cells(), patches() methods are called, the classes
  should know maintain a lightweight representation for as long as possible.

- bugfix: old-code used xferMove() instead of xferCopy() when creating the
  topology mesh - causing const pointField& to break if the code order was
  changed

- relocate blockMesh from src/meshing -> src/mesh
2009-09-17 23:45:52 +02:00
mattijs
8977f1f05f specified direction extrusion mode 2009-09-17 08:28:10 +01:00
Mark Olesen
dd093e0a37 blockMesh: rationalize file names/contents 2009-09-16 20:22:56 +02:00
Mark Olesen
6fc500d68d blockMesh: move classes into separate library 2009-09-16 19:46:58 +02:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
mattijs
2cee56ee01 extra printing 2009-09-15 15:02:41 +01:00
mattijs
40dd870588 sample gmsh files 2009-09-11 16:19:49 +01:00
mattijs
9bec0a6715 added some checking 2009-09-11 10:21:16 +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
c01cfedba8 added some comment 2009-09-04 12:44:45 +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
mattijs
6dc2e62946 do not map demand driven geometric data 2009-09-02 14:51:42 +01:00
andy
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
mattijs
2625d8910d extrudeMesh does extrusion from existing mesh 2009-08-21 17:36:42 +01:00
mattijs
65e925f1fe extrudeMesh does extrusion from existing mesh 2009-08-21 17:36:27 +01:00
mattijs
61b29463d1 renamed patches to patchInfo 2009-08-19 15:19:02 +01:00
mattijs
4575c3328b Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-18 22:12:22 +01:00
mattijs
ddfe6c39e9 user overrideable tolerances 2009-08-18 22:12:06 +01:00
henry
a7e4cdea99 Removed tabs. 2009-08-18 08:27:08 +01:00
mattijs
42001c007a extraneous printing 2009-08-17 17:05:57 +01:00
mattijs
5ac6840d06 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-07 11:28:12 +01:00
mattijs
dc999ad07e fvMesh xfer constructor change 2009-08-07 11:27:48 +01:00
mattijs
8d115b35c1 Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/advanced/modifyMesh/cellSplitter.C
	applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L
	applications/utilities/mesh/generation/blockMesh/blockMesh.C
	applications/utilities/mesh/generation/blockMesh/createTopology.C
	applications/utilities/mesh/generation/snappyHexMesh/Make/options
	src/OpenFOAM/containers/Lists/ListOps/ListOps.H
	src/OpenFOAM/containers/Lists/ListOps/ListOpsTemplates.C
	src/OpenFOAM/containers/Lists/UList/UList.H
	src/OpenFOAM/containers/Lists/UList/UListI.H
	src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
	src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.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/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
	src/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
	src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C
	src/decompositionAgglomeration/Allwmake
	src/decompositionAgglomeration/decompositionMethods/Make/files
	src/decompositionAgglomeration/decompositionMethods/Make/options
	src/dynamicMesh/attachDetach/attachInterface.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H
	src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
	src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H
	src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.H
	src/dynamicMesh/slidingInterface/coupleSlidingInterface.C
	src/finiteVolume/Make/files
	tutorials/channelOodles/channel395/constant/polyMesh/blockMeshDict
	tutorials/icoFoam/cavity/constant/polyMesh/blockMeshDict
	wmake/rules/linux64Gcc/c++Opt
2009-08-07 08:19:53 +01:00
henry
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
mattijs
e5a710d3eb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 16:18:38 +01:00
henry
d4864d9b6e Moved the "generic" BCs into a separate library and included it only in those utilities
which need this functionality.  Solvers will now check the correctness of the BCs on
read.
2009-08-04 22:13:54 +01:00
mattijs
3ca538421d initial changes to compile src 2009-08-04 18:32:32 +01:00
mattijs
fe0745476d revert to reading surfaces from constant so parallel works out of the box 2009-08-04 16:43:38 +01:00
Mark Olesen
655608678e Merge commit 'OpenCFD/master' into olesenm 2009-07-27 08:31:06 +02:00
Mark Olesen
91157af10c All ThirdParty build-related stuff moved there. 2009-07-24 23:10:15 +02:00
henry
816f6b3488 Updated the headers. 2009-07-24 17:01:31 +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
mattijs
a6997c257a allow baffles on coupled boundary faces 2009-07-23 20:52:19 +01:00
andy
c1993c92fa Merge branch 'olesenm' 2009-07-23 12:42:52 +01:00
Chris Greenshields
1bfa912781 Modified more Description entries in utilities for documenting purposes 2009-07-22 15:51:53 +01:00
Mark Olesen
dacc93a568 Merge commit 'OpenCFD/master' into olesenm 2009-07-22 12:55:38 +02:00
Mark Olesen
5692a06a32 fixed up sloppy Allwclean files 2009-07-22 12:39:20 +02:00
mattijs
e3710c2b66 stabilise expansion calculation for if no point on arc 2009-07-22 11:24:03 +01:00
mattijs
b67065aadf option for reading cubit meshes 2009-07-16 14:16:12 +01:00
mattijs
85e0f54ec9 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-15 12:04:31 +01:00
mattijs
077b6ec769 extraneous include files 2009-07-15 12:03:43 +01:00
mattijs
e6cdada5d6 correct extrudeMesh 2009-07-09 16:01:36 +01:00
mattijs
4c13ef589b faceZone checking. wip 2009-07-09 11:57:21 +01:00
henry
37b0fe0ade Corrections to get the tutorial test loop to run cleanly. 2009-07-09 23:28:54 +01:00
mattijs
9015b7f493 added comment 2009-07-07 18:54:19 +01:00
mattijs
3d6be6aa5e expand on case directory 2009-07-07 15:48:18 +01:00
mattijs
6acfd6a3ae execute bit set 2009-07-07 15:48:04 +01:00
mattijs
d02e3f1468 unused files 2009-07-07 15:38:50 +01:00
mattijs
e17c87d876 wildcards for patch spec 2009-07-01 13:54:48 +01:00
mattijs
95dfa44497 missing entry 2009-07-01 13:54:20 +01:00
mattijs
12a924a3f5 no backup of old set 2009-06-30 22:17:20 +01:00
mattijs
1cabcf6c12 createBaffles with faceZone 2009-06-30 22:17:03 +01:00
mattijs
e28256477a checks on zones 2009-06-30 22:16:01 +01:00
mattijs
e6416c2604 preserve flipmap 2009-06-29 17:30:02 +01:00
mattijs
74d7cb2664 changed faceZone flip map usage 2009-06-25 23:42:49 +01:00
mattijs
70dfaf6456 moved message printing 2009-06-25 19:34:37 +01:00
mattijs
6c994a32d6 updated example dictionaries for new sources 2009-06-25 17:24:08 +01:00
mattijs
75945b507f error check for zero cells 2009-06-23 13:16:00 +01:00
mattijs
0fd2a5f056 making stitchMesh,mergePatchPairs work 2009-06-18 20:35:55 +01:00
mattijs
8900641265 not split concave angles by default 2009-06-17 13:37:53 +01:00
mattijs
e92d84b7a9 extrudeMesh improvements 2009-06-16 16:44:35 +01:00
mattijs
3a4cd98671 update face flip map on zone 2009-06-09 14:18:37 +01:00
mattijs
2d9ea72b6a allow -overwrite in snappyHexMesh 2009-06-09 14:02:10 +01:00
mattijs
466b95af86 use extrapolated cell-centre for testing;moved added patch information into meshRefinement class 2009-06-08 18:03:12 +01:00
Mark Olesen
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
Mark Olesen
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
Mark Olesen
4366d8df2c cosmetics - adjust copyright dates 2009-05-11 15:10:31 +02:00
Mark Olesen
51f443a345 Merge commit 'OpenCFD/master' into olesenm
Conflicts:
	applications/utilities/mesh/manipulation/createBaffles/createBaffles.C

Can't use [0] to assign the first value of a DynamicList unless it has been
preceded by a setSize() - use append() instead.
2009-05-06 09:33:38 +02:00
mattijs
3d88003e77 order of creation consistent with cyclics 2009-04-30 20:31:13 +01:00
Mark Olesen
3ce125ff48 minor build fix
- createBaffles used List::append(const T&), changed to DynamicList
2009-04-28 10:18:34 +02:00
mattijs
92dbf49ae6 allow multiple coincident baffles 2009-04-24 09:02:03 +01:00
mattijs
d55c97669a directMapped extension for inter-region 2009-04-17 11:00:15 +01:00
mattijs
676b7bfe73 added region option 2009-04-15 12:32:33 +01:00
mattijs
c203c3d6fd fixed layer addition iterations 2009-04-09 13:04:23 +01:00
henry
51b470c0ee Improved argument handling and error messages.
Changed "axisNormal" to "axis": it isn't the normal to the axis.
2009-04-07 12:52:59 +01:00
mattijs
2e6888a714 write hexRef8 data to correct mesh 2009-04-03 12:29:40 +01:00
mattijs
bfb8d042fd split of decompositionAgglomeration 2009-04-02 13:29:28 +01:00
mattijs
96da5f0e5b sorted zones
modified:   ../applications/utilities/mesh/manipulation/setsToZones/setsToZones.C
	modified:   dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
2009-03-26 12:07:56 +00:00
Mark Olesen
5af070f914 Merge commit 'OpenCFD/master' into olesenm 2009-03-23 17:22:48 +01:00
Mark Olesen
be8cbc1018 use timeSelector mechanism in a few more utilities 2009-03-23 16:57:26 +01:00
mattijs
8ef30f0fb8 use runtime selection mechanism 2009-03-20 18:13:16 +00:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
mattijs
642dadf1f7 yaw pitch roll 2009-03-12 15:12:31 +00:00
mattijs
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
mattijs
00328814d9 disconnected cell check 2009-03-06 13:34:35 +00:00
mattijs
11d9c0f279 rename snappy parameter 2009-03-05 17:01:31 +00:00
mattijs
aa7be71de3 problem cell deletion 2009-03-05 13:11:28 +00:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
mattijs
c49b302aa3 added solutionD and geometricD 2009-02-24 19:20:55 +00:00
mattijs
af8a42067c collapse cell detection 2009-02-24 12:05:35 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
Mark Olesen
c2256e51f3 change solvers, utilities, etc. to use while (..) time-looping idiom
- this (now deprecated) idiom:
      for (runTime++; !runTime.end(); runTime++) { ... }
  has a few problems:
    * stop-on-next-write will be off-by-one (ie, doesn't work)
    * function objects are not executed on exit with runTime.end()
  Fixing these problems is not really possible.

- this idiom
      while (runTime.run())
      {
          runTime++;
          ...
      }
  works without the above problems.
2009-02-17 08:47:42 +01:00
andy
ac084b840b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-11 12:45:17 +00:00
andy
6a908364c2 added cylinderToCell and sphereToCell options 2009-02-09 11:59:31 +00:00
Mark Olesen
844211a940 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 21:19:42 +01:00
Mark Olesen
69918f23c5 consistency update
- OSspecific: chmod() -> chMod(), even although it's not used anywhere

- ListOps get subset() and inplaceSubset() templated on BoolListType

- added UList<bool>::operator[](..) const specialization.
  Returns false (actually pTraits<bool>::zero) for out-of-range elements.
  This lets us use List<bool> with lazy evaluation and no noticeable
  change in performance.

- use rcIndex() and fcIndex() wherever possible.
  Could check if branching or modulus is faster for fcIndex().

- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
  Similar to the STL front() and std::string::data() methods, they return a
  pointer to the first element without needing to write '&myList[0]', recast
  begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
mattijs
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
Mark Olesen
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
mattijs
206caf4ccb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 14:45:10 +00:00
mattijs
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
Mark Olesen
6ac84bf1ef Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:08:33 +01:00
mattijs
1ab7bdce12 new pointMesh allocation method 2009-01-28 16:05:32 +00:00
Mark Olesen
22df173acb Merge commit 'OpenCFD/master' into olesenm 2009-01-27 23:13:37 +01:00
mattijs
bdb532e0f3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-27 20:25:19 +00:00
mattijs
8abbcc08c1 added option for sloppily matching cell zones to regions 2009-01-27 20:18:35 +00:00
Mark Olesen
c048dd88c7 use new IOobject constructor: blockMesh, surfaceCoordinateSystemTransform(beta) 2009-01-27 15:12:19 +01:00
Mark Olesen
ce14f243c6 Removed handling of single-quoted strings. 2009-01-23 15:17:01 +01:00
Mark Olesen
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
mattijs
45bfb91afb thisDb to get at objectRegistry 2009-01-23 08:46:54 +00:00
Mark Olesen
6d57bb4e7b added PackedBoolList typedef (used everywhere) and improved PackedList
- new members:  capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +01:00
Mark Olesen
d9096c1e47 cosmetics 2009-01-20 17:14:53 +01:00
Mark Olesen
19fc795489 Merge commit 'OpenCFD/master' into olesenm 2009-01-20 09:22:45 +01:00
mattijs
3c426d3b2e wildcard usage 2009-01-16 17:14:24 +00:00
Mark Olesen
be9051d375 Merge commit 'OpenCFD/master' into HEAD 2009-01-16 12:26:11 +01:00
Mark Olesen
246d569c4d consistency update for null pointers
- uniform use of reinterpret_cast<foo*>(0) instead of
  reinterpret_cast<foo*>(NULL)

- make all static null() members inline since they are really only a cast:
      "*reinterpret_cast<foo*>(0)"
2009-01-16 10:15:49 +01:00
mattijs
2dbf42085d Initial set of changes. 2009-01-15 18:29:08 +00:00
mattijs
782bd24fb1 unsynchronised looping 2009-01-14 12:24:42 +00:00
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
Mark Olesen
b85c9a7487 avoided some unneeded conversions of string::npos, minor cleanup of className
- string doesn't use any debug info, remove it
- restructured the macros to add in NoDebug macro versions to className,
  typeInfo.  Might be helpful with tackling the globals bootstrapping issue.
- HashTableName + StaticHashTableName - avoid lookup of debug switch when
  FULLDEBUG is not defined
2009-01-09 15:15:21 +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
mattijs
eb2e37b296 SiCortex port 2009-01-06 21:41:20 +00:00
Mark Olesen
19503c93e1 rename xfer<T> class to Xfer<T>
- The capitalization is consistent with most other template classes, but
  more importantly frees up xfer() for use as method name without needing
  special treatment to avoid ambiguities.

  It seems reasonable to have different names for transfer(...) and xfer()
  methods, since the transfer is occuring in different directions.
  The xfer() method can thus replace the recently introduced zero-parameter
  transfer() methods.
  Other name candidates (eg, yield, release, etc.) were deemed too abstract.
2009-01-05 12:30:19 +01:00
Mark Olesen
973b9ea0ce boundBox, octree cleanup
- added boundBox(const tmp<pointField>&) constructor for use with
    coordinate systems
  - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
2009-01-01 17:03:19 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
dcc82bf77b boundingBox has mag() and span() methods - use them 2008-12-31 17:58:23 +01:00
Mark Olesen
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +01:00
mattijs
ffa75238a6 comment 2008-12-11 15:49:29 +00:00
Mark Olesen
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
Mark Olesen
41bbcb6337 DynamicList changes.
- setSize() adjusts the addressable length only.
  Changed setSize(label) usage to setCapacity(label) or reserve(label)
  throughout. The final name (capacity vs. storageSize() vs. whatever) can
  easily be decided at a later date.
- added setSize(label, const T&), which may still not be really useful, but
  is at least now meaningful
- made shrink() a bit more legible.
- added append(UList<T>&)
- copying from a UList avoids reallocations where possible

The following bits of code continue to use the DynamicList::setSize(), but
appear to be legitimate (or the corresponding code itself needs rethinking).

  src/OpenFOAM/meshes/primitiveMesh/primitiveMeshPointCells.C:167: error: within this context
  src/OpenFOAM/lnInclude/faceTemplates.C:44: error: within this context
  src/surfMesh/surfaceFormats/tri/TRIsurfaceFormatCore.C:178: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:737: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:741: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:745: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:749: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:754: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:935: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:940: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1041: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1046: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2161: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2162: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2201: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2205: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2261: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2262: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2263: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2264: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2265: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3011: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3076: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3244: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3371: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
2008-11-24 17:22:37 +01:00