Commit Graph

726 Commits

Author SHA1 Message Date
mattijs
1f2829ac2a ENH: foamToEnsight : filter proc patches only if running parallel 2010-10-14 18:31:08 +01:00
mattijs
5158b331b3 BUG: foamToEnsight : missing truncation of hexes 2010-10-13 11:02:33 +01:00
mattijs
4ca067b143 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-10-11 11:07:42 +01:00
Henry
195510935d Courant number: new formulation
Improves boundary handling
Corresponds better to FVM equations
2010-10-08 22:52:18 +01:00
mattijs
3f2747c669 BUG: foamToEnsight: filtering empty patches from geom but not fields. 2010-10-08 18:00:50 +01:00
mattijs
f749327105 ENH: foamToEnsight : nodal values on boundaries. WIP. 2010-10-08 17:11:22 +01:00
andy
7136b18e5d ENH: Updated MUST_READ option for sample utility 2010-10-08 12:03:50 +01:00
mattijs
bb0e98f55b BUG: use of unset autoPtr 2010-10-05 19:28:04 +01:00
mattijs
9ad20b0a3b ENH: foamToEnsight : cleanup and -nodeValues for outputting interpolate 2010-10-05 12:11:46 +01:00
Henry
da150065e3 foamToFieldview9: Removed redundant floatScalar.H 2010-09-20 14:44:03 +01:00
graham
ebb9a9e1ac ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
mattijs
d400262c70 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-09-07 14:11:45 +01:00
Henry
8027112f89 PV3Reader: Corrected environment variable check 2010-09-06 17:21:21 +01:00
mattijs
97dff2650e ENH: foamToVTK : have surface fields on faceZones 2010-09-06 17:02:35 +01:00
mattijs
44c71d5537 BUG: having patchnames with uncached mesh 2010-09-06 12:26:10 +01:00
andy
f8d6ca60e0 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-08-27 10:42:11 +01:00
andy
83c10e1cf6 BUG: Fixes mantis issue 0000012: sample utiltiy update 2010-08-27 10:41:49 +01:00
mattijs
131185f5be COMP: added checking on PV_PLUGIN_PATH 2010-08-26 16:17:53 +01:00
mattijs
aa7fe837f5 COMP: ignore return value 2010-08-19 15:42:29 +01:00
graham
28345247a7 STYLE: Fixing code style requirements for more files - those not
picked up by a copyright change.
2010-07-29 11:28:44 +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
mattijs
d5fc3e2475 BUG: paraFoam : load pointFields 2010-07-06 11:42:58 +01:00
henry
10c81a6e0c PV3FoamReader: Use the vol-field name rather than volPointInterpolate<vol-field name> for the VTK point fields 2010-06-28 11:48:39 +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
andy
2d85507d51 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-06-23 09:45:34 +01:00
mattijs
a85f1fd9fd STYLE: changed comment in sampleDict 2010-06-10 08:20:08 +01:00
mattijs
3fd4142911 BUG: foamToVTK incorrect symmTensor components 2010-06-10 08:19:28 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
2eab4044f6 COMP: cellSource compilation 2010-06-02 11:08:52 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
andy
45db8fa4e3 resolve local conflict 2010-06-01 15:30:57 +01:00
andy
81189ebd4c ENH: wallHeatFlux utility - using basicPsiThermo instead of hCombustionThermo 2010-06-01 15:26:56 +01:00
mattijs
8551bfd36b BUG: PV3FoamReader : patch names was addressing outside of zoneCentres array. 2010-05-19 16:33:48 +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
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
Mark Olesen
1b4450890a ENH: write patches as vtkPolyData instead of vtkUnstructuredGrid
- slightly better memory efficiency and file sizes
- consistent with library reader
2010-05-07 09:35:40 +02:00
Mark Olesen
64ac5cbc78 ENH: allow direct writing of polyhedra from foamToVTK 2010-05-07 09:06:48 +02:00
Mark Olesen
5b588af7ab ENH: use simpler API for vtkPolyhedron 2010-05-06 17:56:37 +02:00
Mark Olesen
476f4bb7f6 ENH: reduce the number of trailing spaces when writing VTK legacy files 2010-05-06 11:21:47 +02:00
Mark Olesen
9b24f6c51b ENH: add first provisioning for foamToVTK without polyhedral decomposition 2010-05-03 10:42:45 +02:00
mattijs
7f6740a9eb Merge commit 'origin/master' into splitCyclic 2010-04-30 15:10:10 +01:00
Mark Olesen
4ea1f8f98a ENH: enable vtkPolyhedron support when detected 2010-04-30 12:36:49 +02: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
5debfe4cdf ENH: Remove vtk(Cxx|Type)RevisionMacro, vtkTypeRevisionMacro -> vtkTypeMacro
From VTK notes:
- The CVS $Revision$ keyword replacement will no longer maintain these
  macros automatically.  They were used only to implement CollectRevisions
  and vtkObjectBase::PrintRevisions, an API that was never used.
2010-04-26 09:24:03 +02:00
Mark Olesen
9c32ce1016 STYLE: use forAll macro in more places, avoid LF-CR endings 2010-04-23 18:35:55 +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
andy
2c54d448f5 ENH: Use const reference instead of const copy in loop 2010-04-13 09:57:33 +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
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
andy
42b4269c4e BUG: execFlowFunctionObjects utility
- moved creation of singlePhaseTransportModel to within RAS/LES model
  construction for incompressible cases
2010-04-07 11:37:45 +01:00
andy
f99a145143 ENH: Renamed curveSet to polyLineSet to better represent sampling method 2010-04-01 12:35:41 +01:00
Mark Olesen
6adf0cbca8 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 11:42:19 +02:00
Mark Olesen
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +02:00
mattijs
9bb6e5ac25 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-30 08:28:19 +01:00
mattijs
1a741a2259 BUG: numbering on lagrangian files was not uptodate with field vtk files
If no particles are in cloud it does not get written. Hence it would also
not output a vtk file. Changed now to always output lagrangian data.
2010-03-30 08:26:45 +01:00
mattijs
9d216d5280 STYLE: Remove unused debug code 2010-03-30 08:20:22 +01:00
Mark Olesen
3213388ddf Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 09:11:52 +02:00
andy
4ba2681dd6 ENH: Updated pdfPlot utility
- pdf updated - needs to be inside pdfs namespace
- added writeData option - write individual data/samples to file
2010-03-29 17:34:50 +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
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
Mark Olesen
01f8538e27 ENH: ignore empty zones in paraview reader 2010-03-19 18:57:09 +01:00
Mark Olesen
ee0dea2284 ENH: add top-level Allwclean for paraview plugins 2010-03-12 14:24:04 +01:00
Mark Olesen
2788a12c08 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-10 15:15:23 +01: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
ebcb825fab BUG: used wrong variable names for faceZones. Did not close file. 2010-03-09 13:21:19 +00:00
Mark Olesen
767b35110f STYLE: use wordReList for patch and faceZone names in foamToEnsight
- avoids odd side effects that can occur when a wordList is treated as
  a list of regex patterns
2010-03-05 16:47:46 +01:00
Mark Olesen
be86669315 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-05 15:46:49 +01:00
Mark Olesen
10524cb8a1 STYLE: eliminate ParaView_INST_DIR variable and simplify plugin Make/options
- the 'make install' target from ParaView now installs all of the
  includes necessary for compiling plugins.
2010-03-05 13:04:30 +01:00
mattijs
edeb20c856 ENH: Added faceZones support. Reverted back to using scheduled comms
(less memory)
2010-03-04 13:47:09 +00:00
Mark Olesen
89615f708e ENH: respect face orientation when decomposing polyhedra.
ENH: use face::trianglesQuads() method for PV3FoamReader as well.
- this avoids missing faces (and weird cells) in the decomposed polyhedra.
2010-03-04 11:20:20 +01:00
mattijs
5ece14ec6f BUG: finite volume did not work before. 2010-03-03 10:12:35 +00:00
Mark Olesen
8c6a5dde5c BUG: match order of symmTensor tuples to match the paraview pqScalarBarRepresentation 2010-03-01 14:21:20 +01:00
Mark Olesen
9352e17eed BUG: fix incorrect node order for VTK_WEDGE in paraview3 reader
This appears to be a long-standing bug!?, since it was also in the
paraview-2 reader.
2010-02-24 16:41:21 +01:00
Mark Olesen
f319ddfa61 ENH: begin initial coding for using upcoming vtkPolyhedron 2010-02-24 15:24:32 +01:00
andy
e49e95a53b Merge branch 'olesenm' 2010-02-17 16:48:44 +00:00
mattijs
7cd9f82373 ENH: non-blocking for all transfers to master. 2010-02-17 16:04:41 +00:00
mattijs
827d7d7a8f Merge branch 'volPointInterpolation' 2010-02-17 15:20:56 +00:00
mattijs
62637d8471 ENH: initial overhaul of volPointInterpolation.
- removed globalPointPatch*
- removed pointPatchInterpolate*
since all is now inside volPointInterpolation.
2010-02-17 14:01:44 +00: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
b61537bd28 Merge commit 'OpenCFD/master' into olesenm 2010-02-17 09:32:41 +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
mattijs
bd58fa5322 BUG: globalMeshData::mergePoints was assuming patch was on master processor.
Each collocated set of coupled points has a single master assigned to it.
However when doing mergePoints on a patch the master does not have to be
on the patch. So now it returns mesh point labels, not patch point labels.
2010-02-12 12:45:00 +00:00
mattijs
8cf3f429a5 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-02-11 09:09:54 +00:00
mattijs
b6082c3005 ENH: extraneous checking for empty list in ensightMesh. Already done elsewhere. 2010-02-11 09:07:42 +00:00
andy
7b3da686d8 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-02-08 19:13:37 +00:00
mattijs
605088884e ENH: point merging of internal and patches.
Uses globalMeshData::mergePoints to topologically merge mesh points.
Also now require all patches on all processors so cleaned up all code for
handling zero-sized patches.
2010-02-08 17:36:13 +00:00
Mark Olesen
2f0692e002 Merge commit 'OpenCFD/master' into olesenm 2010-02-08 15:01:48 +01:00
mattijs
2fd63db933 ENH: Point merging when postprocessing parallel runs
foamToEnsight will merge points on coupled patches. (only for mesh, not for
patches)
2010-02-05 16:27:03 +00:00
Mark Olesen
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
mattijs
992344ffac ENH: sampling on triSurfaceMesh
sampledTriSurfaceMesh adds sampling on points/triangles of a triSurface(mesh).
All values outside mesh are set to 0.
2010-02-01 16:31:48 +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
4b0c5233a9 STYLE: 80 char line length 2010-01-28 11:55:06 +00:00
mattijs
29b76fa714 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-01-28 11:52:06 +00:00
mattijs
0bf1587872 BUG: cell/face/pointSet should be read from facesInstance, not pointsInstance.
This comes up when displaying sets on moving meshes. The topology does not
change so the set should stay the same.
2010-01-28 11:50:52 +00:00
andy
001c78e37d STYLE: no spaces around bracketed args, eg (x) NOT ( x ) 2010-01-28 10:57:48 +00:00
mattijs
3f559cbacd ENH: perturbed sample points 2010-01-27 10:25:25 +00:00
Mark Olesen
2d91dedaa0 Merge commit 'OpenCFD/master' into olesenm 2010-01-22 13:23:43 +01:00
mattijs
ed4d1f6bdf Changed order of include files so get included before tecio.h 2010-01-18 18:02:25 +00:00
Mark Olesen
a694f6e374 Replace a few uses of triSurface with the more general meshedSurface. 2010-01-15 17:27:03 +01:00
mattijs
21048d9600 Disabled writing zero-sized faceZones since upset tecio library 2010-01-13 19:10:54 +00:00
andy
1e086391b7 Branch merge + conflict resolution 2009-12-15 11:38:23 +00:00
mattijs
a029a59036 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-09 17:44:13 +00:00
mattijs
e8af5d62d5 Filter out zero-sized patches; add generic capability 2009-12-09 17:42:30 +00:00
andy
99c22976ea added git option 2009-12-09 10:06:00 +00:00
Mark Olesen
dd8f4f657a adjust usage for a few applications to account for new style 2009-12-09 10:19:53 +01:00
Mark Olesen
b634c17e55 fixed off-by-one error in argList text wrap 2009-12-04 14:34:04 +01: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
5ee1f98e2c linear interpolation always 2009-12-02 16:38:19 +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
49a2c73b2d tecplot360 converter 2009-12-01 16:43:47 +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
6bdb7fb7b5 fixup copyright dates on new code 2009-11-30 08:21:44 +01:00
Mark Olesen
a51f8d3534 Merge commit 'bundle/home' into olesenm 2009-11-30 08:12:04 +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
81891675ea Commit Paraview enhancements - quit working on sets/zones frills
- Include Sets/Zones now scans immediately to refresh the list of available
  mesh parts. Unfortunately, this also causes the object panel to be
  modified, even although the selection doesn't acutally need to change.
  This seems to be due to how the pqNamedWidgets are getting the information
  from the proxy properties. I can't figure if it's possible to acheive what
  I want, but we can probably live with the current implementation.

  After IncludeZones, simply us 'Reset' to undo the spurious GUI changes.
  Works fine - just looks a bit silly.

- Added 'Refresh' button to rescan for new times/fields.  Good for
  post-processing ongoing calculations without exiting the reader.

- Added 'Skip Zero Time' checkbox: many (some) calculations have
  data missing at time=0 (eg, rho, lagrangian, etc). This provides
  a convenient way to skip over this time.

- Future?:
  We could probably pick up favourite default values for these switches from
  ~OpenFOAM/controlDict, from a case system/paraview, or simply by making
  the casename.OpenFOAM also be an OpenFOAM dictionary with the settings.
2009-11-24 00:09:07 +01:00
Mark Olesen
87300f124e Merge commit 'OpenCFD/master' into olesenm 2009-11-23 12:03:10 +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
graham
fabbd8bb47 Merge branch 'master' into dsmc 2009-11-20 11:31:30 +00:00
andy
efb0d93a0c removed ParaView 2 reader module 2009-11-19 10:48:28 +00:00
henry
b93d762e5a Correction to the ordering of nsided and nfaced elements provided by
Francesco Del Citto.
2009-11-16 15:24:48 +00:00
andy
cf9b9bff17 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-12 13:29:10 +00:00
graham
0870e22400 Merge branch 'master' into dsmc 2009-11-11 13:24:48 +00:00
Mark Olesen
ebe39c4ea4 Merge commit 'OpenCFD/master' into olesenm 2009-11-04 08:56:20 +01:00
Mark Olesen
53a9208d9f Merge commit 'bundle/home' into olesenm
Conflicts:
	src/OpenFOAM/matrices/simpleMatrix/simpleMatrix.C
	src/OpenFOAM/matrices/simpleMatrix/simpleMatrix.H
	tutorials/incompressible/simpleFoam/airFoil2D/Allclean
	tutorials/multiphase/settlingFoam/ras/tank3D/Allclean
2009-11-04 08:54:34 +01:00
Mark Olesen
b54f89ac05 PV3Reader - render after toggling show point/patch names 2009-11-03 22:13:48 +01:00
henry
e596285b43 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-03 20:58:43 +00:00
henry
d109f88657 Fix for viewing glyphs on a set of patches provided by Mark Olesen. 2009-11-03 20:58:41 +00:00
Mark Olesen
e3b5d373d0 PV3FoamReader bugfix - interpolated point fields had wrong names on the patches 2009-11-03 21:36:50 +01:00
andy
23cf5d94cd code tidying 2009-11-03 14:33:01 +00:00
mattijs
cfdb0a5ec3 wildcards for excludedPatches 2009-11-02 13:31:17 +00:00
mattijs
5c98e0b652 Tecplot360 writer 2009-11-02 13:30:51 +00:00
mattijs
ba1422df46 Tecplot360 writer 2009-11-02 13:30:36 +00:00
henry
278e8c5030 Converted constant reference to primitive arguments to constant primitive arguments. 2009-10-26 22:45:21 +00:00
Mark Olesen
83cee1cb68 First useful Qt modifications to the PV3blockMeshReader, PV3FoamReader
- Show Point Numbers as is_internal="1" and hook directly into a QT-checkbox
  and thus bypass modifying the reader state.

- Same for Cache Mesh and Show Patch Names
2009-10-23 00:33:42 +02:00
graham
e9cdaf6106 Merge branch 'master' into dsmc 2009-10-21 14:12:36 +01:00
Mark Olesen
1ef88a2aef blockMesh reader fix, start refactoring of PV3Readers
- apply scaleFactor (eg, mm->m) in PV3 reader - this looks better when
  overlaying with other objects

- stop segfault when paraview exits without deleting readers first
2009-10-18 17:50:41 +02:00
Mark Olesen
c57262c2a0 Cleanup/fixup paraview readers
- remove patch/point text labels upon deletion

- combined client/server plugin instead of separate .so files
  first experiment with adding panel decorations

- directory reorganization
2009-10-18 16:23:41 +02:00
graham
51ebdc5e80 Merge branch 'master' into dsmc 2009-10-11 11:16:56 +01: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
e003b5207a PV3blockMeshReader - added display of curvedEdges 2009-10-07 22:42:41 +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
Mark Olesen
b0f31c4b05 PV3FoamReader - cosmetic changes 2009-10-05 23:21:42 +02:00
Mark Olesen
1194af6a8a added foamListTimes utility
- can be used to query available time directories

- useful, for example, with a shell script
2009-10-05 09:14:14 +02:00
Mark Olesen
7e0a4d8eb8 foamToEnsightParts: cosmetic changes 2009-09-25 13:39:22 +02:00
graham
65ca8a8b99 Merge branch 'master' into dsmc 2009-09-24 09:55:56 +01:00
mattijs
da8198a487 added region option 2009-09-22 15:26:19 +01:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
andy
e829004a71 bugfix: use ptf.name() on point fields 2009-09-10 16:02:35 +01:00
graham
e10bb9589e Merge master, fixing conflicts 2009-09-07 12:23:13 +01:00
henry
0e782b6021 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-09-01 10:44:48 +01:00
henry
0d33a7eb46 Corrected conversion of tensor fields of all types. 2009-09-01 10:44:37 +01:00
andy
8a8e302999 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-26 18:31:31 +01:00
andy
7eb4019877 improved pdfPlot utility 2009-08-25 17:57:06 +01:00
mattijs
3b57660542 added genericFvPatchFields 2009-08-25 17:41:40 +01:00
mattijs
3355c8d9eb initial streamlines functionobject 2009-08-25 12:35:48 +01:00
mattijs
e7b3ede72e multiple line writing; vtk output 2009-08-24 17:41:20 +01:00
graham
d781ca0602 Merge branch 'master' into dsmc 2009-08-19 09:53:17 +01:00
mattijs
333dff7885 use of tensor::XX instead of symmTensor::XX 2009-08-13 12:14:05 +01:00
Mark Olesen
60549b30f5 ensightFoamReader - updated README* and global_extern*h from ensight-82
- still using the same version of the reader API (2.03)

- this seems to solve strange issues with genericPatchField symbols,
  but it still doesn't get the reader module working.

- added in the release information (the build string)
2009-08-06 14:53:40 +02: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
henry
268574393a Removed orphaned files. 2009-08-04 10:12:25 +01:00
andy
96f23c2796 Updated wall function boundary types for utils 2009-08-03 11:44:14 +01:00
graham
9d1fc15616 Merge branch 'master' into dsmc 2009-07-29 14:16:27 +01:00
andy
930477f0f1 updating verion dev->1.6 2009-07-24 17:49:15 +01:00
henry
816f6b3488 Updated the headers. 2009-07-24 17:01:31 +01:00
andy
9ff255962f added feedback in the case that no valid nut/mut BCs are identified 2009-07-24 12:07:50 +01:00
mattijs
5cda312edc Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-23 13:08:30 +01:00
mattijs
76b25b20e7 update comment 2009-07-23 12:57:38 +01:00
andy
c1993c92fa Merge branch 'olesenm' 2009-07-23 12:42:52 +01:00
andy
d7f3143a91 Revert "bugfix for extra RASModel::yPlus() parameters"
This reverts commit 82e59fa112.
2009-07-23 12:37:12 +01:00
andy
7acb2904f3 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-07-23 12:05:45 +01:00
andy
1a1abf3544 updated yPlusRAS utility 2009-07-23 12:02:36 +01:00
andy
711ef82589 updated yPlusRAS utility 2009-07-22 17:54:47 +01:00
Chris Greenshields
1bfa912781 Modified more Description entries in utilities for documenting purposes 2009-07-22 15:51:53 +01:00
Mark Olesen
82e59fa112 bugfix for extra RASModel::yPlus() parameters 2009-07-22 12:54:24 +02:00
Mark Olesen
5692a06a32 fixed up sloppy Allwclean files 2009-07-22 12:39:20 +02:00
Mark Olesen
bda95a48fd Export new environment variable FOAM_CASENAME
- contains the name part of the FOAM_CASE environment variable
2009-07-22 11:30:03 +02:00
andy
e5c36daef8 using fieldname as label for point field data instead of volPointInterpolate(X) 2009-07-17 18:06:33 +01:00
graham
9321f7e1e5 Adding pressure field measurement, internal and surface. 2009-07-15 15:28:04 +01:00
andy
d8145ab608 cosmetics/coding style updates 2009-07-13 14:38:56 +01:00
andy
51d68d011a adding example dictionary for particleTracks 2009-07-13 14:37:36 +01:00
henry
37b0fe0ade Corrections to get the tutorial test loop to run cleanly. 2009-07-09 23:28:54 +01:00
mattijs
92311ec76d cloud rereading 2009-07-07 17:36:32 +01:00
mattijs
7ebe502845 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Added softlinks for:

	tutorials/mesh/snappyHexMesh/iglooWithFridges
	tutorials/mesh/snappyHexMesh/motorBike
2009-07-07 16:02:52 +01:00
mattijs
6acfd6a3ae execute bit set 2009-07-07 15:48:04 +01:00
henry
218b2baec4 Changed SP and DP to WM_SP and WM_DP. 2009-07-03 11:46:45 +01:00
andy
8d70babf13 adding time and region options 2009-06-23 15:19:51 +01:00
andy
cc6fe463cd updated since origProc and origId are now stored on the particle 2009-06-22 18:19:55 +01:00
andy
6a9dfcdc82 merge of thermo branch into master 2009-06-19 13:21:55 +01:00
graham
864e56d1df Merge branch 'master' into dsmc 2009-06-18 15:19:32 +01:00
graham
edcf49af67 More modified copyright years 2009-06-17 14:59:34 +01:00
andy
7d73dd3171 updates for new thermo and general code tidying 2009-06-15 15:36:57 +01:00
andy
9af9f9c478 merging master into local branch 2009-06-11 17:29:19 +01:00
andy
dee5c153ca Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-11 17:24:51 +01:00
andy
1ebc1c1ad4 Merge branch 'FT' 2009-06-11 17:10:58 +01:00
andy
42c240b97e cosmetics/code-tidying 2009-06-11 17:09:19 +01:00
henry
4c2adfe276 Fixed!!! 2009-06-11 16:18:19 +01:00
andy
c3c36e6b16 updated name change of combustion->reaction lib 2009-06-10 19:37:52 +01:00
andy
0903bf0b3b removed include file 2009-06-09 13:48:44 +01:00
andy
279df4d0e6 merge into master 2009-06-05 17:40:08 +01:00
andy
4e2dbe6598 added option to use time name instead of time index for file names 2009-06-02 10:41:32 +01:00
henry
46ca766a4b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-05-29 09:33:58 +01:00
henry
47beddc1c1 Added output of the patch area magnitude and the integral over the patch area magnitude. 2009-05-29 09:33:47 +01:00
mattijs
55f5241fc8 output wallDistance 2009-05-28 18:14:38 +01:00
andy
5969f1629c updates 2009-05-27 19:05:26 +01:00
andy
2a1236c0c2 updates 2009-05-27 16:49:58 +01:00
andy
02b6d0c661 adding new particle tracks app - needs work... 2009-05-22 17:03:49 +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
72362de6b1 foamToEnsight* fixes and tweaks
foamToEnsight:
    - add -noPatches option
    - had incorrect part# when the internalMesh was not output
    - case file is always ascii

foamToEnsightParts:
    - fixed field selection bug,
      no fields were selected when a single time-step was selected
2009-05-12 12:37:25 +02:00
mattijs
2d96e32b13 add region option 2009-04-25 14:46:03 +01:00
andy
fa794c981d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-26 13:50:34 +00:00
andy
5569bd4bfe Merge branch 'olesenm' 2009-03-24 13:38:19 +00:00
henry
a55441e758 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 19:25:25 +00:00
henry
232d22a7a1 New version from Niklas. 2009-03-23 19:25:17 +00:00
andy
9bc9b9cd65 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 17:44:57 +00:00
Mark Olesen
852d9f3298 #undef VTKPV3FOAM_DUALPORT to disable dual-port output for paraview reader 2009-03-23 18:39:29 +01: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
Mark Olesen
549c78f9fe PV3FoamReader fix
- using a filter such as clip-plane on a multi-port source causes
  inconsistent UPDATE_TIME_STEPS() on each port. This looks like a
  VTK/Paraview bug to me.
  Workaround: check both ports and take the first one that has a value
  different than the last time set.
2009-03-23 14:53:14 +01:00
andy
ff78c6d637 conflict resolution 2009-03-23 11:58:03 +00:00
mattijs
84c8fe33ce probing on regions 2009-03-20 16:29:23 +00:00
Mark Olesen
681cd5fc30 sampling: use proxy surfaceWriter to generate obj, stl and other formats 2009-03-17 14:13:03 +01:00
Mark Olesen
fb1e155eed Merge commit 'OpenCFD/master' into olesenm 2009-03-16 08:28:08 +01:00
Mark Olesen
fe455d1cbf cloud, surfaceRegistry: rename subInstance -> prefix 2009-03-16 08:27:03 +01:00
andy
e5dd634327 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-13 16:43:36 +00:00
andy
48b3071742 Merge branch 'dsmc' 2009-03-13 16:26:52 +00:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
andy
156b71b9f1 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 17:22:35 +00:00
Mark Olesen
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
graham
542e05ce7f Changed way of populating database for dsmcFieldCalc. Added correctBoundaryConditions() to sigmaTcRMax on initialisation 2009-03-10 14:25:15 +00:00
mattijs
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
graham
e49d70a85a Created new functionObject for dsmcFields, renamed post processing utility dsmcFields to dsmcFieldsCalc and calling function object from there. 2009-03-09 19:29:08 +00:00
Mark Olesen
6ecdf4fc41 updated DebugSwitches, surfaceWriter
- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
2009-03-09 15:37:54 +01:00
graham
a7341a7e95 Merge branch 'master' into dsmc 2009-03-09 11:20:58 +00:00
Mark Olesen
b968e62ef9 objectRegistry fixes
- objectRegistry gets a rename() that also adjusts the dbDir
- cloud reworked to use static variables subInstance and defaultName.
  This avoids writing "lagrangian" everywhere

string fixes
- avoid masking of std::string::replace in string.H
- avoid old strstream in PV3FoamReader
2009-03-06 15:18:00 +01:00
graham
e111540322 Info line tweaks. 2009-03-06 13:41:24 +00:00
graham
31964adc76 Averaging does not need to be weighted if the fields being averaged are extensive - they weight themselves automatically. Recording momentum and energy denisty, and averaging them, then once decent averaged fields exist, using the new dsmcFields utility to create the intensive fields: UMean and TMean (translational, internal and overall). 2009-03-06 12:59:58 +00:00
mattijs
7e69b33586 include file 2009-03-05 17:01:16 +00:00
mattijs
50df688455 demand driven volPointInterpolation 2009-03-05 14:01:23 +00:00
Mark Olesen
0cfce1a7ab Merge commit 'OpenCFD/master' into olesenm 2009-03-05 11:00:34 +01:00
mattijs
f411ac6884 patchnames on uncached meshes 2009-03-04 12:34:53 +00:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
andy
8d97ebf3cd Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-24 15:57:53 +00:00
andy
1f7a41b297 cosmetics 2009-02-24 15:57:34 +00:00
mattijs
a1525f016a extrapolate to any non-constraint patch 2009-02-20 16:47:09 +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
19aa23d707 Merge commit 'OpenCFD/master' into olesenm 2009-02-17 16:35:00 +01:00
mattijs
68f1ba6a6d extraneous files 2009-02-13 15:33:04 +00:00
Mark Olesen
b5a1f09321 functionObjectList with SHA1Digest tracking 2009-02-12 10:51:30 +01:00
Mark Olesen
3d126aca51 Merge commit 'OpenCFD/master' into olesenm 2009-02-11 10:37:22 +01:00
mattijs
7bc85824aa typos 2009-02-10 16:49:03 +00: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
Mark Olesen
bf6915455d Merge commit 'OpenCFD/master' into olesenm 2009-02-02 16:58:00 +01:00
Mark Olesen
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
mattijs
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
mattijs
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
andy
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
andy
5e20eeb0e9 bugfix:
- convertPointField caused a seg-fault if the internal field was null
      - attempted to name the vtk object the name of the null field

+ minor clean-up
2009-01-28 15:54:42 +00:00
Mark Olesen
29db6a6517 Merge commit 'OpenCFD/master' into olesenm 2009-01-20 18:56:29 +01:00
andy
e5e9902bec added output for areas of cyclic halves 2009-01-20 11:44:03 +00: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
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
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
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
48af574040 new management for sampledSurface(s)
//- Does the surface need an update?
        virtual bool needsUpdate() const = 0;

        //- Mark the surface as needing an update.
        //  May also free up unneeded data.
        //  Return false if surface was already marked as expired.
        virtual bool expire() = 0;

        //- Update the surface as required.
        //  Do nothing (and return false) if no update was required
        virtual bool update() = 0;

    The constructors for the derived classes should generally start in a
    'expired' condition (ie, needsUpdate() == true) and rely on a subsequent
    call to the update() method to complete the initialization. Delaying the
    final construction as late as possible allows the construction of
    surfaces that may depend on intermediate calculation results (eg,
    iso-surfaces) and also avoids the unnecessary reconstruction of surfaces
    between sampling intervals.

    It is the responsibility of the caller to ensure that the surface
    update() is called before the surface is used.  The update() method
    implementation should do nothing when the surface is already up-to-date.
2008-12-31 18:53:57 +01:00
henry
09463aaa9f Further correction for commit bf92e86. 2008-12-30 23:02:05 +00:00
henry
bf92e869a9 Changed the IOOutputFilter constructor to accept a "name" argument. For details see the changes proposed by Vincent Tang:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10405
2008-12-30 21:18:04 +00:00
Mark Olesen
bf057f99c0 small change to CMakeLists.txt for cmake-2.6.2 2008-12-15 22:06:44 +01:00
Mark Olesen
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +01:00
Mark Olesen
e2d140fa94 timeSelector: improved functionality
- the improved side-effect of enabling -zeroTimea alters default selection
  behaviour and -latestTime selection behaviour for utilities in which
  accidentally using the 0/ directory can cause damage (eg, reconstructPar)
- can combine -time ranges and -latestTime
2008-12-10 09:14:00 +01:00
mattijs
f5b23d5065 missing patch selection 2008-12-03 11:19:40 +00:00
mattijs
1cff9e5409 merge 2008-11-24 16:42:44 +00:00
henry
47d0a28d7d Updated utilities to use the new turbulenceModels paths. 2008-11-23 16:17:05 +00:00
mattijs
b352c06f0f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-21 15:19:25 +00:00
mattijs
fcf3262fb5 do not zonify baffles 2008-11-21 15:19:10 +00:00
Mark Olesen
74cb43af0b s/openfoam\.org/OpenFOAM.org/g 2008-11-19 19:03:22 +01:00
mattijs
4d2284c99d rmt isosurface correction 2008-11-12 16:05:22 +00:00
mattijs
29d67c3240 averaging in isoSurfaces 2008-11-07 18:14:06 +00:00
henry
fd57af9980 Changed sum to gSum for parallel execution. 2008-10-29 13:18:36 +00:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
andy
10e8b73275 merge Mark's branch 2008-10-16 12:47:25 +01:00
Mark Olesen
e8843a35b5 foamToEnsightParts: add -noMesh option 2008-10-14 18:00:33 +02:00
Mark Olesen
56296e89c1 foamToEnsightParts: added -index option, streamlined IOobject usage, fixed typo 2008-10-14 15:29:30 +02:00
mattijs
682c247e00 gcc 4.2.1 compiler warning 2008-10-13 09:33:36 +01:00
Mark Olesen
7a77e7ad3e Merge commit 'OpenCFD/master' into olesenm 2008-10-09 16:13:41 +02:00
mattijs
9891d37172 parallel postChannel 2008-10-08 07:55:07 +01:00
Mark Olesen
28696e51ab Use LIB_SRC instead of FOAM_SRC in Make/options files 2008-10-07 09:18:18 +02:00
mattijs
bac9f1e1b7 wildcards in dictionaries 2008-10-02 17:28:17 +01:00
mattijs
ce41e4596d sample consistent with tutorial 2008-10-02 08:43:32 +01:00
henry
b722041fff Corrected reading of "LESProperties". 2008-09-28 22:46:33 +01:00
andy
b76714f202 Merge branch 'olesenm' 2008-09-24 15:40:08 +01:00
henry
8e4c7fb2c3 Corrected output of patch area. 2008-09-24 11:10:45 +01:00
Mark Olesen
f73739c79e modified remaining Allwmake scripts to run from anywhere 2008-09-19 14:47:06 +02:00
mattijs
c4c0f54fc6 dynamicList change 2008-09-17 11:53:14 +01:00
henry
481f4730da Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-09-10 16:52:35 +01:00
henry
7b4e30d80a Updated the writePatchField function. 2008-09-10 16:52:14 +01:00
mattijs
764cfa2ffe consistent numbering with postChannel tutorial 2008-09-10 13:57:48 +01:00
mattijs
24fcef879d empty surface fields 2008-09-03 10:55:04 +01:00
andy
0f4dc98c0d moving global setting back to the top of the reader GUI 2008-08-15 11:41:51 +01:00
andy
4c42474779 resolving conflict 2008-08-15 11:39:06 +01:00
andy
2117bf62b7 Merge branch 'olesenm' 2008-08-15 11:15:16 +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
7be206a5f3 Be pickier about only running certain scripts from the cwd 2008-08-09 18:50:27 +02:00
Mark Olesen
9427a34c2a PV3FoamReader gets (single) mesh region handling
- handling multiple regions require multiple readers
  - a region is currently recognized by the file name, anything after the
    '=' delimiter (eg, "case=region.OpenFOAM") is used to determine the
    mesh region, but might be changed in the future
    eg, 'case%region', 'case^region', 'case~region', 'case{region}' ...

Note:
  - Having a separate reader for each region instead attempting to handle
    all the mesh regions in a single reader is the better solution.
    It is not only simpler, but allows distinct field selections for
    each region
Todo:
  - Haven't a test for Lagrangian and multi-regions.
2008-08-08 23:23:06 +02:00
henry
4455ed2cae Added the creation and writing of cell-centred Co. 2008-08-07 16:06:12 +01:00
andy
837bc0a249 moved global parameters back to the top of the GUI panel 2008-08-06 10:12:08 +01:00
Mark Olesen
de195bf1fd PV3FoamReader - minor changes
- remove TimeRange property from XML. Not needed for discrete time data
  - represent Lagrangian data as VTK_VERTEX for simple visualization
2008-08-05 21:41:47 +02:00
Mark Olesen
6ffd5a3358 foamToEnsightParts updated
- handle new cloud locations, got missed before the release
  - handle multiple clouds
  - more efficient checking of fields etc.
  - write case file at the end, thus we can potentially
    do something more intelligent about the time set handling
2008-08-05 20:32:23 +02:00
Mark Olesen
a9b8a507e7 Merge commit 'OpenCFD/master' into olesenm 2008-08-04 18:24:41 +02:00
Mark Olesen
22a13ea28b PV3FoamReader - tooltips and reclaim memory if mesh caching is turned off 2008-08-04 18:23:10 +02:00
Mark Olesen
062bb36693 PV3FoamReader - code cleanup
- streamlined code somewhat, minor attempt to reclaim some memory
 - now use "mesh parts" for patches/zones/sets/etc throughout to avoid
   ambiguity with mesh regions
 - collect superCells and addPointCellLabels in a class. The old version
   actually seemed to have overwritten the addPointCellLabels with each
   cellSet/cellZone. This means that part of the pointFields would be trashed
   in the combination of polyhedral cells, cellSets/cellZones and internalMesh
 - polyDecomp information for muitiple mesh regions, but not yet exploited
 - pointFields now working for cellZones/cellSets
 - extroplating fields onto walls also works as expected for interpolated
   pointFields
 - added tooltips to reader GUI

TODO:
 - pointFields (real and interpolated) for faceSets/faceZones
2008-08-03 14:17:25 +02:00
Mark Olesen
775ef2c843 PV3FoamReader improvements
- various GUI properties are now animateable="0"
    (meaning they no longer show up on the time-line)
  - move reader switches to the bottom of the GUI
  - move Lagrangian fields above pointFields for better visibility
  - basic support for multiple clouds
  - filter fields based on selection before looping over all the geometry bits
  - mesh conversion functions now return VTK mesh types for easier handling
  - faceZones mesh conversion had points/faces allocation reversed
  - updateInfo with every call to setTime() that changes the timeIndex
    This seems to be the only way to notice Lagrangian fields
  - restore displaying patchnames that got forgotten in the last commit
  - misc reorganization
2008-08-02 16:05:22 +02:00
Mark Olesen
fa0b034338 PV3FoamReader - neater multiblocks and dual output ports
- normal mesh data on port0
  - Lagrangian data on port1
  - no fixed block numbers for dividing internalMesh, patches, zones etc.
    This helps avoid ugly gaps in the multiblock output
  - avoid segfault if Lagrangian fields are converted without positions

  TODO:
  - can we label the output ports?
  - the selection of Lagrangian data and fields is wonky.
2008-08-01 20:04:38 +02:00
mattijs
eb562dfdc6 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-30 16:28:43 +01:00
Mark Olesen
5d715694dd PV3FoamReader fixes
- added printMemory() method to aid debugging memory used
  - call UpdateInformation() if the mesh has changed
  - automatic activation of "internalMesh", "p", "U"
    is suppressed if a fvMesh is cached. Otherwise,
    appearing/disappearing volFields can cause a crash

  Note:
  The message "had to make up a selection value" that sometimes occurs
  seems to be paraview related (see paraview mailing list),
2008-07-30 15:50:30 +02:00
andy
ce111a8954 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-30 10:43:47 +01:00
Mark Olesen
f8b2746327 PV3FoamReader reorganization
- vtkPV3Foam get PrintSelf (reduces number of methods)
  - move output data member from vtkPV3Foam -> PV3FoamReader
    in preparation for rewriting output method
  - roughed in code to track mesh/field changes in preparation for rewriting
    output method
  - progress bar with arbitrary values to give the user something to watch
2008-07-28 13:36:23 +02:00
andy
6663702c45 cleaned up output message (removed dims etc) 2008-07-25 18:01:06 +01:00
Mark Olesen
07d8a616f8 minor cleanup of Allwmake
- Remove paraFoam/Allwmake leftover junk
  - Always attempt make of libccmio to ensure lnInclude/ exists
2008-07-25 16:04:32 +02:00
Mark Olesen
3cdc8ca03c static label Time::findClosestTimeIndex(const instantList&, const scalar)
- avoid code duplication in vtkPV3Foam.C and checkTimeOption.H
  - can also be used in Time::findClosestTime(), but didn't touch that
2008-07-25 15:37:38 +02:00
Mark Olesen
8a2596a05c PV3FoamReader repaired several misfeatures
- On the first call, select 'internalMesh' and the 'p', 'U' fields.
    This corresponds to a fairly common default case without loading all
    possible fields etc.
  - Include zones should now work without issuing a FatalError when the
    corresponding files are missing. I must have tried too many things
    at once and didn't notice this before.
  - Use ZoneMesh for zone names if the fvMesh is already cached
    (skips re-reading the same files).
  - Change reader description to "OpenFOAM Reader" to distinguish it a bit
    from the vtkOpenFOAMReader built into paraview/vtk
  - Misc. file and method names reorganized

  - Remaining problem:
    mixing internalMesh and cellZones is clunky since there aren't yet
    interpolated point values for cellSets/cellZones. Paraview complains
    about the mismatch, but extracting a block is still okay.

  TODO:
  - multi-port output for Lagrangian
  - hold all the vtk mesh parts (including multiblock) and just pass the
    reference. With this, the pipeline might notice that the geometry is
    actually identical and skip the PVGeometryFilter that takes so long.
2008-07-25 10:46:10 +02:00
Mark Olesen
af5674aca5 PV3FoamReader - remove old time-selection arrays 2008-07-24 15:58:59 +02:00
Mark Olesen
b43378747a Merge commit 'OpenCFD/master' into olesenm 2008-07-23 13:41:51 +02:00
Mark Olesen
dcdce31460 paraview reader: export modified FOAM_CASE for parallel sub-cases 2008-07-23 09:59:41 +02:00
Mark Olesen
04f065cf4c fix PV3FoamReader to restore mesh caching
previous disabling of the TimeSelection arrays [commit c52b20b..]
resulted in the mesh caching being disabled :(

Simplified code is enabled/disabled by PV3FOAM_TIMESELECTION define.
Might be removed in the future.
2008-07-22 16:26:03 +02:00
Mark Olesen
202570dce4 renamed ensight76FoamExec -> ensightFoamReader for consistency 2008-07-22 14:52:57 +02:00
Mark Olesen
e629d33a08 paraview reader: export FOAM_CASE env variable 2008-07-22 13:07:45 +02:00
Mark Olesen
85c164340e Added IOobject::readOption to IOOutputFilter
- allows post-processing functions with an optional dictionary
   (eg, the developer can hard-wire some defaults)
2008-07-21 16:40:05 +02:00
andy
3c07d20652 more fixing... removed epsilon - this utility needs a serious re-write 2008-07-18 11:41:21 +01:00
andy
a02890a972 changed R -> UPrime2Mean to comply with fieldAverage function object field output 2008-07-18 11:14:57 +01:00
andy
0b7c46f0d6 updated umean as in previous commit, but all this code is commented??? to be tidied/removed??? 2008-07-18 10:14:56 +01:00
andy
e3f44132cf updated Umean -> UMean to comply with fieldAverage function oject 2008-07-18 09:54:36 +01:00
andy
ced9f11065 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-17 16:17:25 +01:00