OpenFOAM
10
The OpenFOAM Foundation
libuserd.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration | Website: https://openfoam.org
5
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
Application
25
libuserd-foam
26
27
Description
28
EnSight library module to read OpenFOAM data directly without translation
29
30
It can currently handle most cell types.
31
32
See also: README_USERD_2.0
33
24 Sep 2001: NN - Added support for Ensight API 2.0
34
02 Sep 2002: NN - Added support for ghost cells
35
14 Mar 2004: NN - Added patches to the parts
36
37
\*---------------------------------------------------------------------------*/
38
39
#include <stdio.h>
40
41
#include "
fvCFD.H
"
42
#include "
IOobjectList.H
"
43
#include "
Cloud.H
"
44
#include "
passiveParticle.H
"
45
#include "
fvMesh.H
"
46
#include "
cellModeller.H
"
47
#include "
globalFoam.H
"
48
49
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50
51
extern
"C"
52
{
53
54
#include "
USERD_API.H
"
55
#include "global_extern.h"
56
57
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
58
// same API as in 1.0
59
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
60
61
#include "
USERD_bkup.H
"
62
#include "
USERD_get_name_of_reader.H
"
63
#include "
USERD_set_filenames.H
"
64
#include "
USERD_get_number_of_model_parts.H
"
65
#include "
USERD_get_changing_geometry_status.H
"
66
#include "
USERD_get_dataset_query_file_info.H
"
67
#include "
USERD_get_element_label_status.H
"
68
#include "
USERD_get_node_label_status.H
"
69
#include "
USERD_get_number_of_files_in_dataset.H
"
70
#include "
USERD_get_number_of_variables.H
"
71
#include "
USERD_stop_part_building.H
"
72
73
74
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75
// slightly changed with 2.0 from 1.0
76
// (to handle complex variables - not used by OpenFOAM anyway)
77
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
78
79
#include "
USERD_get_constant_val.H
"
80
#include "
USERD_get_descrip_lines.H
"
81
#include "
USERD_get_var_value_at_specific.H
"
82
#include "
USERD_get_gold_variable_info.H
"
83
84
85
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
86
// critical changes with 2.0 from 1.0
87
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
88
89
#include "
USERD_get_gold_part_build_info.H
"
90
#include "
USERD_get_num_of_time_steps.H
"
91
#include "
USERD_get_sol_times.H
"
92
#include "
USERD_set_time_set_and_step.H
"
93
94
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95
// new additions with 2.0 from 1.0
96
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97
98
#include "
USERD_get_var_by_component.H
"
99
#include "
USERD_get_part_coords.H
"
100
#include "
USERD_get_part_node_ids.H
"
101
#include "
USERD_get_part_elements_by_type.H
"
102
#include "
USERD_get_part_element_ids_by_type.H
"
103
104
#include "
USERD_exit_routine.H
"
105
#include "
USERD_get_model_extents.H
"
106
#include "
USERD_get_reader_version.H
"
107
#include "
USERD_get_reader_release.H
"
108
#include "
USERD_get_number_timesets.H
"
109
#include "
USERD_get_timeset_description.H
"
110
#include "
USERD_get_geom_timeset_number.H
"
111
112
#include "
USERD_get_border_availability.H
"
113
#include "
USERD_get_border_elements_by_type.H
"
114
115
#include "
USERD_get_maxsize_info.H
"
116
#include "
USERD_set_server_number.H
"
117
118
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119
// new additions with 2.03 from 2.02
120
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121
122
#include "
USERD_get_number_of_material_sets.H
"
123
#include "
USERD_get_matf_set_info.H
"
124
#include "
USERD_get_number_of_materials.H
"
125
#include "
USERD_get_matf_var_info.H
"
126
#include "
USERD_size_matf_data.H
"
127
#include "
USERD_load_matf_data.H
"
128
#include "
USERD_get_nsided_conn.H
"
129
#include "
USERD_get_nfaced_nodes_per_face.H
"
130
#include "
USERD_get_nfaced_conn.H
"
131
132
//**********************************************************************
133
//======================================================================
134
// STRUCTURED DATA STUFF - not used in OpenFOAM
135
//======================================================================
136
//**********************************************************************
137
138
#include "
USERD_structured_data.H
"
139
140
}
141
142
// ************************************************************************ //
fvCFD.H
USERD_get_part_elements_by_type.H
USERD_get_part_coords.H
USERD_get_gold_variable_info.H
USERD_get_reader_release.H
passiveParticle.H
USERD_load_matf_data.H
USERD_get_part_element_ids_by_type.H
USERD_get_node_label_status.H
USERD_get_nfaced_nodes_per_face.H
fvMesh.H
USERD_get_descrip_lines.H
USERD_get_border_availability.H
USERD_get_var_by_component.H
USERD_get_number_of_files_in_dataset.H
cellModeller.H
USERD_API.H
USERD_get_dataset_query_file_info.H
IOobjectList.H
Cloud.H
USERD_stop_part_building.H
USERD_get_timeset_description.H
USERD_set_server_number.H
USERD_get_border_elements_by_type.H
USERD_get_number_of_variables.H
USERD_get_number_of_model_parts.H
USERD_get_number_of_material_sets.H
USERD_get_geom_timeset_number.H
USERD_size_matf_data.H
USERD_get_gold_part_build_info.H
USERD_set_time_set_and_step.H
USERD_bkup.H
USERD_get_matf_set_info.H
USERD_get_maxsize_info.H
USERD_structured_data.H
USERD_get_name_of_reader.H
USERD_get_constant_val.H
USERD_get_num_of_time_steps.H
USERD_get_model_extents.H
USERD_get_element_label_status.H
USERD_get_reader_version.H
USERD_get_var_value_at_specific.H
USERD_get_changing_geometry_status.H
globalFoam.H
USERD_get_sol_times.H
USERD_set_filenames.H
USERD_get_number_of_materials.H
USERD_get_nfaced_conn.H
USERD_get_number_timesets.H
USERD_get_nsided_conn.H
USERD_exit_routine.H
USERD_get_part_node_ids.H
USERD_get_matf_var_info.H
applications
utilities
postProcessing
graphics
ensightFoamReader
libuserd.C
Generated by
1.8.13