sampledSurfaces: Write multiple fields to the same file
This prevents excessive duplication of surface geometry and makes post-processing tasks in paraview more convenient. The Nastran and Star-CD surface formats were found not to work, so support for these output types has been removed. Raw, VTK, Foam and Ensight formats are all still available.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -632,12 +632,12 @@ int main(int argc, char *argv[])
|
||||
vtkSurfaceWriter(IOstream::ASCII).write
|
||||
(
|
||||
surfFileName.path(),
|
||||
surfFileNameBase,
|
||||
"zone_" + surfFileNameBase,
|
||||
surf.points(),
|
||||
faces,
|
||||
false, // face based data
|
||||
"zone",
|
||||
scalarFaceZone,
|
||||
false // face based data
|
||||
scalarFaceZone
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user