8.0
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  int nzones;
42  int znmurx;
48 
55 
58 
60 
61 /*============================================================================
62  * Static global variables
63  *============================================================================*/
64 
65 /* Pointer to wall condensation descriptor structure */
66 
68 
69 /*=============================================================================
70  * Public function prototypes
71  *============================================================================*/
72 
73 /*----------------------------------------------------------------------------*/
79 /*----------------------------------------------------------------------------*/
80 
82 
83 void
85 
86 /*----------------------------------------------------------------------------*/
90 /*----------------------------------------------------------------------------*/
91 
93 
94 /*----------------------------------------------------------------------------*/
100 /*----------------------------------------------------------------------------*/
101 
103 
104 /*----------------------------------------------------------------------------*/
105 
107 
108 #endif /* __CS_WALLCONDENSATION_1DTHERMAL_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:509
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
#define END_C_DECLS
Definition: cs_defs.h:510
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:313
const cs_wall_cond_1d_thermal_t * cs_glob_wall_cond_1d_thermal
Definition: cs_wall_condensation_1d_thermal.c:124
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:285
void cs_wall_condensation_1d_thermal_create(int nzones)
Create the context for wall condensation thermal models.
Definition: cs_wall_condensation_1d_thermal.c:206
void cs_wall_condensation_1d_thermal_free(void)
Free all structures related to wall condensation models.
Definition: cs_wall_condensation_1d_thermal.c:260
void cs_wall_condensation_1d_thermal_mesh_create(int znmurx, int nfbpcd, int nzones)
Definition: cs_wall_condensation_1d_thermal.c:236
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:102
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:40
cs_real_t * ztpar
Definition: cs_wall_condensation_1d_thermal.h:54
cs_lnum_t * znmur
Definition: cs_wall_condensation_1d_thermal.h:45
cs_real_t * ztmur
Definition: cs_wall_condensation_1d_thermal.h:57
int znmurx
Definition: cs_wall_condensation_1d_thermal.h:42
cs_real_t * zepais
Definition: cs_wall_condensation_1d_thermal.h:46
int nzones
Definition: cs_wall_condensation_1d_thermal.h:41
cs_real_t * ztheta
Definition: cs_wall_condensation_1d_thermal.h:43
cs_real_t * zrob
Definition: cs_wall_condensation_1d_thermal.h:51
cs_real_t * zcondb
Definition: cs_wall_condensation_1d_thermal.h:52
cs_real_t * zdxp
Definition: cs_wall_condensation_1d_thermal.h:56
cs_real_t * zdxmin
Definition: cs_wall_condensation_1d_thermal.h:44
cs_real_t * zhext
Definition: cs_wall_condensation_1d_thermal.h:49
cs_real_t * ztext
Definition: cs_wall_condensation_1d_thermal.h:50
cs_real_t * ztpar0
Definition: cs_wall_condensation_1d_thermal.h:47
cs_real_t * zcpb
Definition: cs_wall_condensation_1d_thermal.h:53