programmer's documentation
cs_ctwr_mesh.h
Go to the documentation of this file.
1 #ifndef __CS_CTWR_MESH_H__
2 #define __CS_CTWR_MESH_H__
3 
4 /*============================================================================
5  * Specific mesh functions for cooling towers modelling
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2015 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_base.h"
35 #include "cs_mesh.h"
36 #include "cs_mesh_quantities.h"
37 
38 /*----------------------------------------------------------------------------*/
39 
41 
42 /*============================================================================
43  * Public function prototypes for Fortran API
44  *============================================================================*/
45 
46 /*----------------------------------------------------------------------------
47  * Create nodal coupled mesh.
48  * Send vertices's coordinates and connectivity of coupled mesh.
49  *
50  * Fortran Interface:
51  *
52  * SUBROUTINE GEOct
53  * *****************
54  *
55  * INTEGER n_ct : <-- : number of exchange area
56  *----------------------------------------------------------------------------*/
57 
58 void CS_PROCF(geoct, GEOCT) (void);
59 
60 /*============================================================================
61  * Public function definitions
62  *============================================================================*/
63 
64 /*----------------------------------------------------------------------------
65  * Construction du maillage eau
66  *----------------------------------------------------------------------------*/
67 
68 void cs_ctwr_maille
69 (
70  const cs_mesh_t *mesh, /* <-- structure maillage associee */
71  const cs_mesh_quantities_t *mesh_quantities /* <-- grandeurs du maillage */
72 );
73 
74 /*----------------------------------------------------------------------------
75  * Interpolation AIR -> EAU
76  *----------------------------------------------------------------------------*/
77 
78 void
80  const cs_mesh_quantities_t *mesh_quantities);
81 
82 /*----------------------------------------------------------------------------
83  * Interpolation EAU -> AIR
84  *----------------------------------------------------------------------------*/
85 
86 void cs_ctwr_adair (void);
87 
88 /*----------------------------------------------------------------------------*
89  * Chaining of the exchange area *
90  *----------------------------------------------------------------------------*/
91 
92 void
93 cs_ctwr_stacking (void);
94 
95 /*----------------------------------------------------------------------------*/
96 
98 
99 #endif /* __CS_CTWR_MESH_H__ */
void cs_ctwr_maille(const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
Definition: cs_ctwr_mesh.c:692
#define BEGIN_C_DECLS
Definition: cs_defs.h:429
void cs_ctwr_stacking(void)
Definition: cs_ctwr_mesh.c:2076
Definition: cs_mesh.h:62
void cs_ctwr_adair(void)
Definition: cs_ctwr_mesh.c:1715
void geoct(void)
Definition: cs_ctwr_mesh.c:136
Definition: cs_mesh_quantities.h:51
void cs_ctwr_adeau(const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
Definition: cs_ctwr_mesh.c:1361
#define END_C_DECLS
Definition: cs_defs.h:430
#define CS_PROCF(x, y)
Definition: cs_defs.h:453
Definition: mesh.f90:26