1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright held by original author
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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 the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
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
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 Module for EnSight 7.6 to read FOAM data directly without translation
31 It can currently handle cells of type:
32 Z_HEX08, Z_PEN06, Z_TET04, Z_PUR05
34 See also: README_USERD_2.0
35 24 Sep 2001: NN - Added support for Ensight API 2.0
36 02 Sep 2002: NN - Added support for ghost cells
37 13 Mar 2004: NN - Added patches to the parts
39 \*---------------------------------------------------------------------------*/
44 #include "IOobjectList.H"
46 #include "passiveParticle.H"
48 #include "cellModeller.H"
50 #include "globalFoam.H"
52 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 #include "global_extern.h"
59 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
61 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63 #include "USERD_bkup.H"
64 #include "USERD_get_name_of_reader.H"
65 #include "USERD_set_filenames.H"
66 #include "USERD_get_number_of_model_parts.H"
67 #include "USERD_get_changing_geometry_status.H"
68 #include "USERD_get_dataset_query_file_info.H"
69 #include "USERD_get_element_label_status.H"
70 #include "USERD_get_node_label_status.H"
71 #include "USERD_get_number_of_files_in_dataset.H"
72 #include "USERD_get_number_of_variables.H"
73 #include "USERD_stop_part_building.H"
76 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77 // slightly changed with 2.0 from 1.0
78 // (to handle complex variables - not used by FOAM anyway)
79 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
81 #include "USERD_get_constant_val.H"
82 #include "USERD_get_descrip_lines.H"
83 #include "USERD_get_var_value_at_specific.H"
84 #include "USERD_get_gold_variable_info.H"
87 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
88 // critical changes with 2.0 from 1.0
89 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91 #include "USERD_get_gold_part_build_info.H"
92 #include "USERD_get_num_of_time_steps.H"
93 #include "USERD_get_sol_times.H"
94 #include "USERD_set_time_set_and_step.H"
96 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97 // new additions with 2.0 from 1.0
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 #include "USERD_get_var_by_component.H"
101 #include "USERD_get_part_coords.H"
102 #include "USERD_get_part_node_ids.H"
103 #include "USERD_get_part_elements_by_type.H"
104 #include "USERD_get_part_element_ids_by_type.H"
106 #include "USERD_exit_routine.H"
107 #include "USERD_get_model_extents.H"
108 #include "USERD_get_reader_version.H"
109 #include "USERD_get_number_timesets.H"
110 #include "USERD_get_timeset_description.H"
111 #include "USERD_get_geom_timeset_number.H"
113 #include "USERD_get_border_availability.H"
114 #include "USERD_get_border_elements_by_type.H"
116 #include "USERD_get_maxsize_info.H"
117 #include "USERD_set_server_number.H"
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 // new additions with 2.03 from 2.02
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 #include "USERD_get_number_of_material_sets.H"
124 #include "USERD_get_matf_set_info.H"
125 #include "USERD_get_number_of_materials.H"
126 #include "USERD_get_matf_var_info.H"
127 #include "USERD_size_matf_data.H"
128 #include "USERD_load_matf_data.H"
129 #include "USERD_get_nsided_conn.H"
130 #include "USERD_get_nfaced_nodes_per_face.H"
131 #include "USERD_get_nfaced_conn.H"
133 //**********************************************************************
134 //======================================================================
135 // STRUCTURED DATA STUFF - not used in foam
136 //======================================================================
137 //**********************************************************************
139 #include "USERD_structured_data.H"
143 // ************************************************************************ //