/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License This file is part of OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see . Application foamToTecplot360 Group grpPostProcessingUtilities Description Tecplot binary file format writer. Usage \b foamToTecplot360 [OPTION] Options: - \par -fields \ Convert selected fields only. For example, \verbatim -fields '( p T U )' \endverbatim The quoting is required to avoid shell expansions and to pass the information as a single argument. - \par -cellSet \ - \par -faceSet \ Restrict conversion to the cellSet, faceSet. - \par -nearCellValue Output cell value on patches instead of patch value itself - \par -noInternal Do not generate file for mesh, only for patches - \par -noPointValues No pointFields - \par -noFaceZones No faceZones - \par -excludePatches \ Specify patches (wildcards) to exclude. For example, \verbatim -excludePatches '( inlet_1 inlet_2 "proc.*")' \endverbatim The quoting is required to avoid shell expansions and to pass the information as a single argument. The double quotes denote a regular expression. - \par -useTimeName use the time index in the VTK file name instead of the time index \*---------------------------------------------------------------------------*/ #include "pointMesh.H" #include "volPointInterpolation.H" #include "emptyPolyPatch.H" #include "labelIOField.H" #include "scalarIOField.H" #include "sphericalTensorIOField.H" #include "symmTensorIOField.H" #include "tensorIOField.H" #include "passiveParticleCloud.H" #include "faceSet.H" #include "stringListOps.H" #include "wordRe.H" #include "vtkMesh.H" #include "readFields.H" #include "tecplotWriter.H" #include "TECIO.h" // Note: needs to be after TECIO to prevent Foam::Time conflicting with // Xlib Time. #include "fvCFD.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // template void print(const char* msg, Ostream& os, const PtrList& flds) { if (flds.size()) { os << msg; forAll(flds, i) { os << ' ' << flds[i].name(); } os << endl; } } void print(Ostream& os, const wordList& flds) { forAll(flds, i) { os << ' ' << flds[i]; } os << endl; } labelList getSelectedPatches ( const polyBoundaryMesh& patches, const List& excludePatches //HashSet& excludePatches ) { DynamicList