Commit Graph

1091 Commits

Author SHA1 Message Date
fb91e80086 tutorial and misc Dict cosmetics 2008-08-10 22:25:06 +02:00
b87f997fdf fixed checkOrientation method - triSurface (and PrimitivePatchExtra)
- the old code used the edge information and examined the next face edges
    to find the orientation. This fails since the direction of the edge
    itself is missing.

  - simpler: find the edge start on both faces, check the next face point.
    If they are the same, the edge goes in the same direction on both faces
    and thus the orientation is incorrect.
2008-08-10 19:28:30 +02:00
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
7be206a5f3 Be pickier about only running certain scripts from the cwd 2008-08-09 18:50:27 +02:00
679fd493ca CleanFunction: removed *.foam files instead of *.OpenFOAM files 2008-08-09 18:46:26 +02:00
501c558f1f cht tutorial - use 'paraFoam -touch' to create files for paraview 2008-08-09 18:44:59 +02:00
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
ef794a45da split bc into compressible and incompressible to avoid debug symbol clashes 2008-08-08 11:08:43 +01:00
02a26640a9 corrected error message 2008-08-08 11:07:18 +01:00
701dd7bdb5 allow single intersection only 2008-08-08 11:02:58 +01:00
b6c8c1dca1 have single intersection only 2008-08-08 11:02:05 +01:00
38870e3256 no curvature refinement if no different maxLevel 2008-08-08 11:01:07 +01:00
e4bb4fc0f0 incorrect call of removeCells 2008-08-08 10:59:29 +01:00
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
6ac27012ff added debug printing 2008-08-07 16:17:40 +01:00
4455ed2cae Added the creation and writing of cell-centred Co. 2008-08-07 16:06:12 +01: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
837bc0a249 moved global parameters back to the top of the GUI panel 2008-08-06 10:12:08 +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