Commit Graph

320 Commits

Author SHA1 Message Date
a75fe38a1d Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-08-07 16:18:15 +01:00
37297583d0 new utility - like autoPatch but for surfaces 2008-08-07 16:18:06 +01:00
4455ed2cae Added the creation and writing of cell-centred Co. 2008-08-07 16:06:12 +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
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
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
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
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
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
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
d8638da06f set number of patches before changing faces 2008-07-29 11:50:18 +01:00
6bd5df7f41 added comment for distributed running 2008-07-29 11:03:29 +01:00
faf3fd19b4 Merge commit 'OpenCFD/master' into olesenm 2008-07-29 09:30:18 +02:00
f1d7955e45 BUGFIX - blockMeshApp should now handle paths properly 2008-07-29 09:11:11 +02:00
7165747ffd Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-28 16:27:26 +01:00
d3ccd23b42 boundary face handling 2008-07-28 16:27:17 +01:00
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
cbd606d398 Minor format correction. 2008-07-27 10:14:32 +01:00
6663702c45 cleaned up output message (removed dims etc) 2008-07-25 18:01:06 +01:00
a7d1ef36e7 Merge commit 'OpenCFD/master' into olesenm 2008-07-25 18:09:01 +02:00
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
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
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
af5674aca5 PV3FoamReader - remove old time-selection arrays 2008-07-24 15:58:59 +02:00
898742e6eb Corrected the update of pd from p in closed-volume cases. 2008-07-24 12:39:44 +01:00
fc6780cd23 restored and updated (doxygen) usage for blockMesh 2008-07-24 08:28:32 +02:00
db00b5e1ad Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-23 17:47:29 +01:00
5508e0b6cb added -dict option 2008-07-23 17:47:26 +01:00
c9148dd1dd Minor rearrangement. 2008-07-23 17:06:55 +01:00
7320858835 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-23 16:58:46 +01:00
8136d271e8 Revert "DebugSwitches in etc/controlDict is incomplete/incorrect"
This reverts commit 7446cee720.
2008-07-23 16:51:45 +01:00
1bd82369ff Revert "blockMesh:"
This reverts commit 3ae1a49119.
2008-07-23 16:49:16 +01:00
6281e94a37 reverting blockMesh changes 2008-07-23 16:49:01 +01:00
eb604fdb88 revert to previous search order - constant/polyMesh/blockMeshDict
- retain failsafe check (constant/blockMeshDict)
2008-07-23 15:12:44 +02:00
b43378747a Merge commit 'OpenCFD/master' into olesenm 2008-07-23 13:41:51 +02:00
7343b3853c very minor formatting 2008-07-23 11:12:30 +01:00
dcdce31460 paraview reader: export modified FOAM_CASE for parallel sub-cases 2008-07-23 09:59:41 +02:00
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
202570dce4 renamed ensight76FoamExec -> ensightFoamReader for consistency 2008-07-22 14:52:57 +02:00
e629d33a08 paraview reader: export FOAM_CASE env variable 2008-07-22 13:07:45 +02:00