8.1
general documentation
cs_wall_condensation_1d_thermal.h
Go to the documentation of this file.
1 #ifndef __CS_WALLCONDENSATION_1DTHERMAL_H__
2 #define __CS_WALLCONDENSATION_1DTHERMAL_H__
3 
4 /*============================================================================
5  * Base wall condensation model data.
6  *============================================================================*/
7 
8 /*
9  This file is part of code_saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2023 EDF S.A.
12 
13  This program is free software; you can redistribute it and/or modify it under
14  the terms of the GNU General Public License as published by the Free Software
15  Foundation; either version 2 of the License, or (at your option) any later
16  version.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21  details.
22 
23  You should have received a copy of the GNU General Public License along with
24  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25  Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27 
28 /*----------------------------------------------------------------------------*/
29 
30 /*----------------------------------------------------------------------------
31  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "cs_defs.h"
35 
36 /*----------------------------------------------------------------------------*/
37 
39 
40 typedef struct {
41 
42  int nzones;
43  int znmurx;
49 
56 
59 
61 
62 typedef struct {
63 
67 
75 
77 
78 /*============================================================================
79  * Static global variables
80  *============================================================================*/
81 
82 /* Pointer to wall condensation descriptor structure */
83 
86 
87 /*=============================================================================
88  * Public function prototypes
89  *============================================================================*/
90 
91 /*----------------------------------------------------------------------------*/
97 /*----------------------------------------------------------------------------*/
98 
99 void
101 
102 void
104  int nfbpcd,
105  int nzones);
106 
107 /*----------------------------------------------------------------------------*/
111 /*----------------------------------------------------------------------------*/
112 
114 
115 /*----------------------------------------------------------------------------*/
121 /*----------------------------------------------------------------------------*/
122 
125 
126 /*----------------------------------------------------------------------------*/
132 /*----------------------------------------------------------------------------*/
133 
134 void
136  cs_lnum_t ncmast);
137 
138 /*----------------------------------------------------------------------------*/
142 /*----------------------------------------------------------------------------*/
143 
144 void
146 
147 /*----------------------------------------------------------------------------*/
153 /*----------------------------------------------------------------------------*/
154 
157 
158 /*----------------------------------------------------------------------------*/
163 /*----------------------------------------------------------------------------*/
164 
165 void
167 
168 /*----------------------------------------------------------------------------*/
169 
171 
172 #endif /* __CS_WALLCONDENSATION_1DTHERMAL_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
cs_real_t cs_real_2_t[2]
vector of 2 floating-point values
Definition: cs_defs.h:333
#define END_C_DECLS
Definition: cs_defs.h:515
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:313
void cs_wall_condensation_0d_thermal_create(cs_lnum_t nvolumes, cs_lnum_t ncmast)
Create the context for 0D wall condensation thermal models.
Definition: cs_wall_condensation_1d_thermal.c:331
void cs_wall_condensation_0d_thermal_free(void)
Free structures related to 0D wall condensation models.
Definition: cs_wall_condensation_1d_thermal.c:365
cs_wall_cond_0d_thermal_t * cs_get_glob_wall_cond_0d_thermal(void)
Provide writeable access to cs_wall_cond_0d_thermal_t structure.
Definition: cs_wall_condensation_1d_thermal.c:401
const cs_wall_cond_1d_thermal_t * cs_glob_wall_cond_1d_thermal
Definition: cs_wall_condensation_1d_thermal.c:129
cs_wall_cond_1d_thermal_t * cs_get_glob_wall_cond_1d_thermal(void)
Provide writeable access to _wall_cond structure.
Definition: cs_wall_condensation_1d_thermal.c:387
void cs_wall_condensation_0d_thermal_solve(void)
Use 0-D thermal model to solve the temperature and themal flux at the volume structure walls.
Definition: cs_wall_condensation_1d_thermal.c:414
const cs_wall_cond_0d_thermal_t * cs_glob_wall_cond_0d_thermal
Definition: cs_wall_condensation_1d_thermal.c:132
void cs_wall_condensation_1d_thermal_create(int nzones)
Create the context for wall condensation thermal models.
Definition: cs_wall_condensation_1d_thermal.c:246
void cs_wall_condensation_1d_thermal_free(void)
Free all structures related to wall condensation models.
Definition: cs_wall_condensation_1d_thermal.c:304
void cs_wall_condensation_1d_thermal_mesh_create(int znmurx, int nfbpcd, int nzones)
Definition: cs_wall_condensation_1d_thermal.c:278
integer(c_int), pointer, save nvolumes
number of the volume strutures with a specific condensation source terms depending on the wall temper...
Definition: cs_nz_condensation.f90:174
integer(c_int), pointer, save ncmast
number of the cells in which a condensation source terms is imposed. See lstmast list and the subrout...
Definition: cs_nz_condensation.f90:167
integer(c_int), pointer, save nzones
number of the zones with a specific condensation source terms depending on the wall temperature and m...
Definition: cs_nz_condensation.f90:103
integer(c_int), pointer, save nfbpcd
number of faces in which a condensation source terms is imposed. See ifbpcd and the user subroutine c...
Definition: cs_nz_condensation.f90:55
integer(c_int), pointer, save znmurx
Maximal number of discretized points associated to the (ii)th face with the 1-D thermal model coupled...
Definition: cs_nz_tagmr.f90:55
Definition: cs_wall_condensation_1d_thermal.h:62
cs_real_t * volume_rho
Definition: cs_wall_condensation_1d_thermal.h:68
cs_real_t * volume_thickness
Definition: cs_wall_condensation_1d_thermal.h:65
cs_lnum_t nvolumes
Definition: cs_wall_condensation_1d_thermal.h:64
cs_real_t * volume_cp
Definition: cs_wall_condensation_1d_thermal.h:69
cs_real_t * volume_surf
Definition: cs_wall_condensation_1d_thermal.h:72
cs_real_t * volume_measure
Definition: cs_wall_condensation_1d_thermal.h:74
cs_real_t * volume_lambda
Definition: cs_wall_condensation_1d_thermal.h:70
cs_real_t * volume_t0
Definition: cs_wall_condensation_1d_thermal.h:73
cs_real_t * volume_mass
Definition: cs_wall_condensation_1d_thermal.h:71
cs_real_2_t * volume_t
Definition: cs_wall_condensation_1d_thermal.h:66
Definition: cs_wall_condensation_1d_thermal.h:40
cs_real_t * ztpar
Definition: cs_wall_condensation_1d_thermal.h:55
cs_lnum_t * znmur
Definition: cs_wall_condensation_1d_thermal.h:46
cs_real_t * ztmur
Definition: cs_wall_condensation_1d_thermal.h:58
int znmurx
Definition: cs_wall_condensation_1d_thermal.h:43
cs_real_t * zepais
Definition: cs_wall_condensation_1d_thermal.h:47
int nzones
Definition: cs_wall_condensation_1d_thermal.h:42
cs_real_t * ztheta
Definition: cs_wall_condensation_1d_thermal.h:44
cs_real_t * zrob
Definition: cs_wall_condensation_1d_thermal.h:52
cs_real_t * zcondb
Definition: cs_wall_condensation_1d_thermal.h:53
cs_real_t * zdxp
Definition: cs_wall_condensation_1d_thermal.h:57
cs_real_t * zdxmin
Definition: cs_wall_condensation_1d_thermal.h:45
cs_real_t * zhext
Definition: cs_wall_condensation_1d_thermal.h:50
cs_real_t * ztext
Definition: cs_wall_condensation_1d_thermal.h:51
cs_real_t * ztpar0
Definition: cs_wall_condensation_1d_thermal.h:48
cs_real_t * zcpb
Definition: cs_wall_condensation_1d_thermal.h:54