Commit Graph

42 Commits

Author SHA1 Message Date
Mark Olesen
9de4a75813 ENH: expand data mask for foamToEnsight (issue #231)
- Default is a width of 8 characters, but this can be extended up to 31
  characters via the '-width' command-line option.

- Now use a similar structure as foamToEnsightParts for the masking.
  This reduces the clutter within the directory, makes it easier to
  selectively delete some time steps (using shell commands).

- Added in a "time" information data in each sub-directory to
  make it possible to reconstruct the case file with an external
  script.

- Conversion of cloud data should now also work in parallel
  (may need more testing).

- Support binary output for cloud data.

- Better avoidance of illegal ensight variable names.
  But still partially incomplete (due to patch fields).

==================================================
Example of NEW file structure:

    EnSight/verticalChannel.case        # case name
    EnSight/geometry                    # for non-moving geometry

    EnSight/data/                       # time-varying data
    EnSight/data/00000000/
    EnSight/data/00000001/
    ...

  Fields are stored by name within the data/********/ directories:

    EnSight/data/00000001/time          # human-readable time info
    EnSight/data/00000001/U
    EnSight/data/00000001/p
    ...
    EnSight/data/00000001/geometry      # for moving geometry

  Clouds are stored at the next sub-directory level:

    EnSight/data/00000001/lagrangian/<cloudName>/positions
    EnSight/data/00000001/lagrangian/<cloudName>/U
    ...

==================================================
The old structure was significantly more cluttered:

    EnSight/verticalChannel.case
    EnSight/verticalChannel.0000.mesh
    EnSight/verticalChannel.0001.p
    EnSight/verticalChannel.0001.<cloudName>
    EnSight/verticalChannel.0001.<cloudName>.U

==================================================
2016-09-13 18:26:00 +02:00
mattijs
61dd625227 ENH: checkMesh: have -writeSets option
- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.

    mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel

- fixed order writing of symmTensor in Ensight writers
2015-11-23 15:24:33 +00:00
sergio
feaa3021b6 STYLE: Updated copyright year 2014-02-21 11:17:31 +00:00
mattijs
59cef386cd BUG: foamToEnsight: handle empty patches 2014-02-20 13:39:56 +00:00
mattijs
8712b8276e BUG: foamToEnsight: reset facePrimitives 2013-10-18 16:19:33 +01:00
mattijs
198d0ebc6f ENH: foamToEnsight: cellZone support 2013-09-11 09:31:20 +01:00
mattijs
90a8332ffb ENH: foamToEnsight: add cellZone support 2013-09-05 16:25:03 +01:00
mattijs
ccb38822ea BUG: foamToEnsight: using 3 digit extension 2013-04-08 16:29:45 +01:00
andy
7c8522082e STYLE: Code formatting 2013-02-07 16:44:07 +00:00
mattijs
de638685be BUG: foamToEnsight: detect moving/changing meshes 2012-08-01 15:55:41 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
mattijs
1526db114b BUG: foamToEnsight : wedge and hex numbering inconsistent between mesh and fields 2010-10-15 15:26:25 +01:00
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
f749327105 ENH: foamToEnsight : nodal values on boundaries. WIP. 2010-10-08 17:11:22 +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
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
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
mattijs
edeb20c856 ENH: Added faceZones support. Reverted back to using scheduled comms
(less memory)
2010-03-04 13:47:09 +00: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
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
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
b6082c3005 ENH: extraneous checking for empty list in ensightMesh. Already done elsewhere. 2010-02-11 09:07:42 +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
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
c091d856ae pedantic changes: 'forAll (' -> 'forAll(' in applications/
- to match coding guidelines
2009-12-03 14:12:08 +01: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
henry
4c2adfe276 Fixed!!! 2009-06-11 16:18:19 +01: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
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
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
andy
750a8c78ad updated to incorporate particle post-processing 2008-06-16 10:37:57 +01:00
henry
6fffe6ff3f New foamToEnsight with support for binary files contributed by Francesco. 2008-06-09 13:39:39 +01:00
henry
91c5607c97 Mark's correction to the building of libccmio.so 2008-06-09 13:37:13 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00