Commit Graph

1024 Commits

Author SHA1 Message Date
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
752c8eaeba paraFoam improvements
- only create (and remove) case.OpenFOAM file if it doesn't already exist
  - new -touch option just generates case.OpenFOAM file and exits
  - new -region option to create case=regionName.OpenFOAM file
    (the delimiter may change in the future)
2008-08-08 23:20:03 +02:00
3bc28f6cb0 foamUpdate scripts - avoid destroying soft-links or trashing existing {RAS,LES}Properties 2008-08-08 23:15:28 +02:00
2e6f99627b replace 'prinf' with 'print' in blockMeshDict.m4 files
- how did the old versions actually even work?
2008-08-08 22:40:40 +02:00
a99632d441 cht tutorial tidy up
- remove inappropriate fields from the regions
    (only important or useful for post-processing)
  - Allclean script had missed some files
2008-08-08 22:38:25 +02:00
851abe7661 adjusted and improved buildParaView script
- usage, explicit -fast option for rebuilding new -mpi, -python, -mesa
    options for specifying alternative modules to include without editing
    the file
  - the build options can also be grabbed from the script name itself.
    eg, the soft-link buildParaView3.3-cvs-python specifies that the python
    module should be included
  - misc. cleanup in tools/buildParaViewFunctions: give the user some
    feedback about the python version, set all variables at the bottom
    of the file rather between initialise and build.
  - be more careful when changing the hard-links to avoid the find
    '-execdir' option (fails when the user has '.' in the path), and
    do separate find/loop/grep/sed on the files to avoid touching too many
    files and ruining a later rebuild stage.

Notes:
  - the cmake uses -DCMAKE_INSTALL_PREFIX=$PARAVIEW_APP_DIR, but this
    variable isn't defined anywhere.
2008-08-08 17:55:28 +02:00
4085575669 usage and argument handling for bin/rm* and bin/touch* utilities 2008-08-08 13:07:10 +02:00
de525cda45 added PrimitivePatchExtra as candidate for extending PrimitivePatch
- routines taken from triSurface but are not restricted to triangles
2008-08-07 11:32:08 +02:00
63a9d5e66d new container 'Keyed' - useful for tagging things with a label 2008-08-07 11:42:06 +02:00
fd7dcffd50 meshTools/coordinateSystems cosmetic cleanup 2008-08-07 11:05:28 +02:00
f5e73da8aa Merge commit 'OpenCFD/master' into olesenm 2008-08-06 18:08:53 +02:00
731d257f34 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-08-06 16:15:58 +01:00
c809c1d5bd adding coefficient logging 2008-08-06 16:14:05 +01:00
44d5e5cdbb simplification of file handling 2008-08-06 16:13:02 +01:00
95bb8d6577 tidy up 2008-08-06 13:35:10 +01:00
ad1b9d4738 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-08-06 12:54:47 +01:00
6a16c52842 Added the missing defineTemplateTypeNameAndDebug(Cloud<solidParticle>, 0) 2008-08-06 12:54:39 +01:00
49c7752ba6 extra check on illegal input 2008-08-06 10:25:37 +01:00
75efb76033 exposed boudarry faces 2008-08-06 10:25:00 +01:00
1b3cf9133a operator== 2008-08-06 10:24:35 +01:00
7d9b0b103d handle marked internal faces 2008-08-06 10:24:19 +01:00
c647881d7b remove override option since goes to constant anyway 2008-08-06 10:24:01 +01:00
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
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
2734e77775 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-08-05 13:22:02 +01:00
d7a506c5f4 Added missing access function. 2008-08-05 13:21:52 +01:00
e6935c5269 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-08-05 13:00:08 +01:00
a9b8a507e7 Merge commit 'OpenCFD/master' into olesenm 2008-08-04 18:24:41 +02:00
22a13ea28b PV3FoamReader - tooltips and reclaim memory if mesh caching is turned off 2008-08-04 18:23:10 +02:00
f3f8ee3335 Fixed update of kappa_. 2008-08-04 16:17:49 +01:00
fe4b18b053 Set the min value to 1e-8. 2008-08-04 16:05:06 +01:00
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
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
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
57949f8e82 status was not cleared 2008-08-01 17:56:48 +01:00
3bd7010781 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-31 10:33:52 +01:00
436b8f075d Added support for sphericalTensor and symmTensor. 2008-07-31 10:33:37 +01:00
e9d424b7a8 removal of warning 2008-07-30 16:28:54 +01:00
eb562dfdc6 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-30 16:28:43 +01:00
e97b721db7 bugfix for lambda_ 2008-07-30 15:32:51 +01:00
281591b70d non-default region handling 2008-07-30 15:19:13 +01:00
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
ce111a8954 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-30 10:43:47 +01:00
09e48af795 Merge commit 'OpenCFD/master' into olesenm 2008-07-30 10:15:00 +02:00
170c434997 unused file 2008-07-30 09:01:27 +01:00
987dcb5c5c no return value 2008-07-30 09:01:09 +01:00
93b6ac2331 Merge commit 'OpenCFD/master' into olesenm 2008-07-30 09:16:22 +02:00
3f753a3eb7 Merge commit 'OpenCFD/master' into olesenm 2008-07-30 08:44:15 +02:00
ad9e324c33 Merge commit 'origin/olesenm' 2008-07-29 23:03:54 +01:00
700ba91ec7 changed header 2008-07-29 18:49:49 +01:00