ABAQUSsurfaceFormatRunTime.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) 2020 OpenCFD Ltd.
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 #include "ABAQUSsurfaceFormat.H"
31 
32 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
33 
34 namespace Foam
35 {
36 namespace fileFormats
37 {
38 
39 // Read MeshedSurface - tag as abaqus or abq
40 // avoid .inp (name conflict with starcd)
42 (
43  MeshedSurface,
44  ABAQUSsurfaceFormat,
45  face,
47  abaqus
48 );
49 
51 (
52  MeshedSurface,
53  ABAQUSsurfaceFormat,
54  face,
56  abq
57 );
58 
59 // Write with MeshedSurfaceProxy
61 (
62  MeshedSurfaceProxy,
63  ABAQUSsurfaceFormat,
64  face,
65  write,
67  abaqus
68 );
70 (
71  MeshedSurfaceProxy,
72  ABAQUSsurfaceFormat,
73  face,
74  write,
76  abq
77 );
79 (
80  MeshedSurfaceProxy,
81  ABAQUSsurfaceFormat,
82  triFace,
83  write,
85  abaqus
86 );
88 (
89  MeshedSurfaceProxy,
90  ABAQUSsurfaceFormat,
91  triFace,
92  write,
94  abq
95 );
97 (
98  MeshedSurfaceProxy,
99  ABAQUSsurfaceFormat,
100  labelledTri,
101  write,
103  abaqus
104 );
105 
107 (
108  MeshedSurfaceProxy,
109  ABAQUSsurfaceFormat,
110  labelledTri,
111  write,
113  abq
114 );
115 
116 }
117 }
118 
119 // ************************************************************************* //
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)
ABAQUSsurfaceFormat.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)