sampledSurface::writers: Added writeFormat option to select ascii or binary

e.g. in tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/cuttingPlane

    surfaceFormat   vtk;
    writeFormat     binary;
    fields          (p U);

selects writing the VTK surface files in binary format which significantly
speeds-up reading of the files in paraview.

Currently binary writing is supported in VTK and EnSight formats.
This commit is contained in:
Henry Weller
2020-01-29 14:59:31 +00:00
parent ccc8a78ec1
commit b55bc28698
12 changed files with 53 additions and 54 deletions

View File

@ -13,6 +13,7 @@ surfaces
writeControl writeTime;
surfaceFormat vtk;
writeFormat binary;
fields (p U Q);
interpolationScheme cellPoint;

View File

@ -14,6 +14,7 @@ cuttingPlane
writeControl writeTime;
surfaceFormat vtk;
fields ( p U );
interpolationScheme cellPoint;

View File

@ -13,6 +13,7 @@ cuttingPlane
writeControl writeTime;
surfaceFormat vtk;
writeFormat binary;
fields (p U);
interpolationScheme cellPoint;

View File

@ -66,6 +66,7 @@ functions
startTime 10;
surfaceFormat vtk;
writeFormat binary;
fields (p_rgh U);
interpolationScheme cellPoint;