writeSurfaceFields.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2021 OpenCFD Ltd.
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
12 
13 Description
14  Write surface fields from volume mesh
15 
16 \*---------------------------------------------------------------------------*/
17 
18 #ifndef writeSurfaceFields_H
19 #define writeSurfaceFields_H
20 
21 #include "readFields.H"
22 #include "primitivePatch.H"
24 
25 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
26 
27 namespace Foam
28 {
29 
30 // Writer type for face zones + fields
31 typedef
32  vtk::GenericPatchGeoFieldsWriter<primitiveFacePatch>
34 
35 } // End namespace Foam
36 
37 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
38 
39 #endif
40 
41 // ************************************************************************* //
Helper routines for reading a field or fields, optionally with a mesh subset (using fvMeshSubsetProxy...
vtk::GenericPatchGeoFieldsWriter< primitiveFacePatch > vtkWriterType_faceZone
Namespace for OpenFOAM.