NASsurfaceFormatRunTime.C
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) 2011 OpenFOAM Foundation
9  Copyright (C) 2016-2020 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 \*---------------------------------------------------------------------------*/
28 
29 #include "NASsurfaceFormat.H"
32 
33 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
34 
35 namespace Foam
36 {
37 namespace fileFormats
38 {
39 
40 // Read MeshedSurface - .bdf (Bulk Data Format) and nas (Nastran)
42 (
43  MeshedSurface,
44  NASsurfaceFormat,
45  face,
47  nastran
48 );
50 (
51  MeshedSurface,
52  NASsurfaceFormat,
53  face,
55  bdf
56 );
58 (
59  MeshedSurface,
60  NASsurfaceFormat,
61  face,
63  nas
64 );
65 
67 (
68  MeshedSurface,
69  NASsurfaceFormat,
70  triFace,
72  nastran
73 );
75 (
76  MeshedSurface,
77  NASsurfaceFormat,
78  triFace,
80  bdf
81 );
83 (
84  MeshedSurface,
85  NASsurfaceFormat,
86  triFace,
88  nas
89 );
90 
92 (
93  MeshedSurface,
94  NASsurfaceFormat,
95  labelledTri,
97  nastran
98 );
100 (
101  MeshedSurface,
102  NASsurfaceFormat,
103  labelledTri,
105  bdf
106 );
108 (
109  MeshedSurface,
110  NASsurfaceFormat,
111  labelledTri,
113  nas
114 );
115 
116 
117 // Write MeshedSurfaceProxy
119 (
120  MeshedSurfaceProxy,
121  NASsurfaceFormat,
122  face,
123  write,
125  nastran
126 );
128 (
129  MeshedSurfaceProxy,
130  NASsurfaceFormat,
131  face,
132  write,
134  nas
135 );
137 (
138  MeshedSurfaceProxy,
139  NASsurfaceFormat,
140  triFace,
141  write,
143  nastran
144 );
146 (
147  MeshedSurfaceProxy,
148  NASsurfaceFormat,
149  triFace,
150  write,
152  nas
153 );
155 (
156  MeshedSurfaceProxy,
157  NASsurfaceFormat,
158  labelledTri,
159  write,
161  nastran
162 );
164 (
165  MeshedSurfaceProxy,
166  NASsurfaceFormat,
167  labelledTri,
168  write,
170  nas
171 );
172 
173 }
174 }
175 
176 // ************************************************************************* //
Foam::vtk::fileExtension
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
Foam::fileFormats::addNamedTemplatedToMemberFunctionSelectionTable
addNamedTemplatedToMemberFunctionSelectionTable(MeshedSurfaceProxy, ABAQUSsurfaceFormat, face, write, fileExtension, abaqus)
NASsurfaceFormat.H
addToMemberFunctionSelectionTable.H
Macros for easy insertion into member function selection tables.
addToRunTimeSelectionTable.H
Macros for easy insertion into run-time selection tables.
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::fileFormats::addNamedTemplatedToRunTimeSelectionTable
addNamedTemplatedToRunTimeSelectionTable(MeshedSurface, ABAQUSsurfaceFormat, face, fileExtension, abaqus)
Foam::vtk::write
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Definition: foamVtkOutputTemplates.C:36
triFace
face triFace(3)