Skip to content
Snippets Groups Projects
  1. Nov 24, 2018
    • Mark OLESEN's avatar
      ENH: improvements for dataCloud function object (issue #1044) · 58dae2de
      Mark OLESEN authored
      - now supports a parcel selection mechanism like vtkCloud,
        giving the ability to select a subset of parcels.
        For example, a given stride, or removal of parcels with a small
        diameter.
      
        Eg,
            dataCloud output Time: 3.2
            Applying parcel filtering to 994 parcels
            - add stride 4
            - subtract field U : (less 0.2)
            After filtering using 214/994 parcels
      
      - add output precision control for dataCloud
      58dae2de
  2. Nov 23, 2018
    • Mark OLESEN's avatar
      BUG: errors found in feature-vtm merge !213 · 05353da5
      Mark OLESEN authored
      - vtkWrite with moving mesh was not updated the subsets properly,
        which caused it to crash.
      
      - foamToVTK -overwrite ignored for single region cases,
        was working for multi-region cases
      
      - minor documentation changes
      05353da5
  3. Nov 13, 2018
    • Mark OLESEN's avatar
      ENH: output filtering of vtkCloud by user selection (#1056) · 0f48b891
      Mark OLESEN authored
      - can filter by stride or field information.
        For example,
      
            selection
            {
                stride
                {
                    // every 10th parcelId
                    action  add;
                    source  stride;
                    stride  10;
                }
                Umin
                {
                    // Remove slow parcels
                    action  subtract;
                    source  field;
                    field   U;
                    accept  (less 1e-3);
                }
                diam
                {
                    // Only particular diameter ranges
                    action  subset;
                    source  field;
                    field   d;
                    accept  (greater 1e-3) and (less 1e-3);
                }
            }
      0f48b891
  4. Oct 16, 2018
  5. Nov 12, 2018
  6. Oct 09, 2018
    • Mark OLESEN's avatar
      ENH: restructuring of foamToEnsight code · 2b42076d
      Mark OLESEN authored
      - align with foamToVTK code base
      2b42076d
    • Mark OLESEN's avatar
      ENH: rewrite of foamToVTK to include parallel output (#926) · 89cca857
      Mark OLESEN authored
      - Default format is now XML binary (base64) instead of legacy format.
        The old -xml option is redundant and ignored.
        The new -legacy option can be used to force legacy output instead.
      
      - Polyhedral decomposition is now off by default (old -poly is ignored).
        The option -poly-decomp forces decomposition of polyhedrals into
        primitive shapes.
      
      - reduced memory footprint by reading and converting fields
        successively.
      
      - Creation of symlinks to processor files is no longer required or
        desired. The old -noLinks option is ignored.
      
      - Ignore -useTimeName option. Always number according to timeIndex.
      89cca857
    • Mark OLESEN's avatar
      ENH: improvements for ensightWrite function object (issue #926) · 8cff734a
      Mark OLESEN authored
      - align input parameters and some of the behaviour with vtkWrite
      
        The output is now postProcessing/<name> for similar reasoning as
        mentioned in #866 - better alignment with other function objects, no
        data collision with foamToEnsight output.
      
      - separate controls for internal and boundary meshes
      
      - can restrict conversion based on zone names, enclosing volumes,
        bounding box.
      8cff734a
  7. Oct 10, 2018
  8. Oct 09, 2018
    • Mark OLESEN's avatar
      ENH: cleanup ensightMesh method names and handling of internal vs boundary · e4fac35d
      Mark OLESEN authored
      - this removes the old 'magically' means of suppressing the internal
        mesh in favour of specifying it directly.
      e4fac35d
    • Mark OLESEN's avatar
      ENH: improvements for vtkWrite function object (issue #926) · 42bb4970
      Mark OLESEN authored
      - parallel output.
      
        The output is now postProcessing/<name> for similar reasoning as
        mentioned in #866 - better alignment with other function objects, no
        collision with foamToVTK output.
      
      - align the input parameters with those of vtkCloud so that we can
        specify the ASCII precision and the padding width for the output
        file names as well.
      
      - emit TimeValue field, support file series generation
      
      - support internal or boundary meshes, combining the result into a vtm
        file.
      
      - can restrict conversion based on zone names, enclosing volumes,
        bounding box
      42bb4970
  9. Oct 02, 2018
  10. Sep 17, 2018
    • Mark OLESEN's avatar
      ENH: code improvements for vtkCloud function object (issue #926) · 03eec4a5
      Mark OLESEN authored
      - use parallel list writing, beginDataArray methods.
      
      - use static_assert to restrict conversion of non-label integral types
      
      - cache .vtp.series information by fileName instead of by cloud name.
        This issues if the output directory changes, and simplifies code.
      
      ENH: emit TimeValue in files generated by vtkCloud
      
      - additional information for passing to ParaView
      
      ENH: vtkCloud output to postProcessing/ (issue #866)
      
      - better alignment with other function objects, no collision with
        foamToVTK output.
      03eec4a5
  11. Sep 27, 2018
  12. Sep 17, 2018
  13. Oct 16, 2018
  14. Sep 13, 2018
  15. Sep 10, 2018
  16. Aug 13, 2018
  17. Sep 17, 2018
  18. Oct 02, 2018
  19. Sep 29, 2018
  20. Sep 17, 2018
    • Mark OLESEN's avatar
      ENH: use some updated vtk output methods · d8375248
      Mark OLESEN authored
      d8375248
    • Mark OLESEN's avatar
      ENH: improvements for foamVtkOutput, foamVtkFormatter (issue #926) · 05427217
      Mark OLESEN authored
      - parallel list output for foamVtkOutput
      
      - simplified '.series' file output
      
      - beginDataArray() method instead of openDataArray() + closeTag()
        since this seems to be the most common use anyhow.
        With an optional argument for leaving the tag open, this works the
        same as openDataArray() which may be deprecated in the future.
      
      - begin/end methods for CellData, PointData, FieldData (commonly used)
      
      - templating parameters for file headers, content version,
        legacy fields. This improves coding robustness and convenience of use.
      
      - use formatter and higher-level methods for legacy output
      
      - attribute quoting character now part of the formatter itself
        instead of as an argument for xmlAttr().
        Toggle with quoting() method.
      
      - pair-wise processing of xml attributes, which also allows them to be
        passed as optional entries when creating an xml tag.
      
      - xmlComment with multiple arguments
      05427217
    • Mark OLESEN's avatar
      ENH: add renumbering support into foamVtuSizing algorithm (issue #926) · 19e03f7d
      Mark OLESEN authored
      - allows cell point labels will use global numbering, but only for
        unmerged points. We'd ideally like to avoid point merging per se,
        and instead use VTK point blanking instead (as required).
      
        This approach allows parallel collation of the output into a single
        piece directly.
      19e03f7d
  21. Nov 23, 2018
  22. Nov 22, 2018