7.1
general documentation
cs_ht_convert.h
Go to the documentation of this file.
1 #ifndef __CS_HT_CONVERT_H__
2 #define __CS_HT_CONVERT_H__
3 
4 /*============================================================================
5  * Enthaly to and from temperature conversion.
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2021 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 /*=============================================================================
41  * Type definitions
42  *============================================================================*/
43 
44 /*=============================================================================
45  * Public function prototypes
46  *============================================================================*/
47 
48 /*----------------------------------------------------------------------------*/
58 /*----------------------------------------------------------------------------*/
59 
60 void
62  cs_real_t t[]);
63 
64 /*----------------------------------------------------------------------------*/
71 /*----------------------------------------------------------------------------*/
72 
73 void
75 
76 /*----------------------------------------------------------------------------*/
86 /*----------------------------------------------------------------------------*/
87 
88 void
90  cs_real_t t[]);
91 
92 /*----------------------------------------------------------------------------*/
104 /*----------------------------------------------------------------------------*/
105 
106 void
108  const cs_lnum_t face_ids[],
109  const cs_real_t t[],
110  cs_real_t h[]);
111 
112 /*----------------------------------------------------------------------------*/
113 
115 
116 #endif /* __CS_HT_CONVERT_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
void cs_ht_convert_h_to_t_faces(const cs_real_t h[], cs_real_t t[])
Convert enthalpy to temperature at all boundary faces.
Definition: cs_ht_convert.c:301
void cs_ht_convert_h_to_t_cells_solid(void)
Convert enthalpy to temperature at solid cells only.
Definition: cs_ht_convert.c:245
double cs_real_t
Floating-point value.
Definition: cs_defs.h:322
Definition: cs_field_pointer.h:91
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:316
#define END_C_DECLS
Definition: cs_defs.h:511
void cs_ht_convert_t_to_h_faces_l(cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_real_t t[], cs_real_t h[])
Convert temperature to enthalpy at selected boundary faces.
Definition: cs_ht_convert.c:412
Definition: cs_field_pointer.h:92
void cs_ht_convert_h_to_t_cells(const cs_real_t h[], cs_real_t t[])
Convert enthalpy to temperature at all cells.
Definition: cs_ht_convert.c:135