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-------------------------------------------------------------------------------
11License
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
35namespace Foam
36{
37namespace fileFormats
38{
39
40// Read MeshedSurface - .bdf (Bulk Data Format) and nas (Nastran)
42(
45 face,
46 fileExtension,
47 nastran
48);
50(
53 face,
54 fileExtension,
55 bdf
56);
58(
61 face,
62 fileExtension,
63 nas
64);
65
67(
70 triFace,
71 fileExtension,
72 nastran
73);
75(
78 triFace,
79 fileExtension,
80 bdf
81);
83(
86 triFace,
87 fileExtension,
88 nas
89);
90
92(
96 fileExtension,
97 nastran
98);
100(
104 fileExtension,
105 bdf
106);
108(
112 fileExtension,
113 nas
114);
115
116
117// Write MeshedSurfaceProxy
119(
122 face,
123 write,
124 fileExtension,
125 nastran
126);
128(
131 face,
132 write,
133 fileExtension,
134 nas
135);
137(
140 triFace,
141 write,
142 fileExtension,
143 nastran
144);
146(
149 triFace,
150 write,
151 fileExtension,
152 nas
153);
155(
159 write,
160 fileExtension,
161 nastran
162);
164(
168 write,
169 fileExtension,
170 nas
171);
172
173}
174}
175
176// ************************************************************************* //
Macros for easy insertion into member function selection tables.
#define addNamedTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames, lookupName)
Add to hash-table of functions with 'lookupName' as the key.
Macros for easy insertion into run-time selection tables.
#define addNamedTemplatedToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookupName)
Add to construction table with 'lookupName' as the key.
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
Definition: MeshedSurface.H:99
A face is a list of labels corresponding to mesh vertices.
Definition: face.H:75
Nastran surface reader/writer.
A triFace with additional (region) index.
Definition: labelledTri.H:60
A triangular face using a FixedList of labels corresponding to mesh vertices.
Definition: triFace.H:72
Namespace for OpenFOAM.
runTime write()