8.1
general documentation
cs_turbulence_inflow.h
Go to the documentation of this file.
1 
2 #ifndef __CS_TURBULENCE_INFLOW_H__
3 #define __CS_TURBULENCE_INFLOW_H__
4 
5 /*============================================================================
6  * Turbulent inflow generation
7  *============================================================================*/
8 
9 /*
10  This file is part of code_saturne, a general-purpose CFD tool.
11 
12  Copyright (C) 1998-2023 EDF S.A.
13 
14  This program is free software; you can redistribute it and/or modify it under
15  the terms of the GNU General Public License as published by the Free Software
16  Foundation; either version 2 of the License, or (at your option) any later
17  version.
18 
19  This program is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
21  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
22  details.
23 
24  You should have received a copy of the GNU General Public License along with
25  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
26  Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 */
28 
29 /*----------------------------------------------------------------------------*/
30 
31 #include "cs_defs.h"
32 
33 /*----------------------------------------------------------------------------
34  * Local headers
35  *----------------------------------------------------------------------------*/
36 
37 #include "cs_base.h"
38 
39 /*----------------------------------------------------------------------------*/
40 
42 
43 /*============================================================================
44  * Macro definitions
45  *============================================================================*/
46 
47 /*============================================================================
48  * Type definitions
49  *============================================================================*/
50 
51 /*=============================================================================
52  * Public function prototypes
53  *============================================================================*/
54 
55 /*----------------------------------------------------------------------------*/
64 /*----------------------------------------------------------------------------*/
65 
66 void
68  double k,
69  double eps);
70 
71 /*----------------------------------------------------------------------------*/
82 /*----------------------------------------------------------------------------*/
83 
84 void
86  double uref2,
87  double dh,
88  double rho,
89  double mu);
90 
91 /*----------------------------------------------------------------------------*/
92 
94 
95 #endif /* __CS_TURBULENCE_INFLOW_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
#define END_C_DECLS
Definition: cs_defs.h:515
@ k
Definition: cs_field_pointer.h:70
@ mu
Definition: cs_field_pointer.h:103
@ eps
Definition: cs_field_pointer.h:71
@ rho
Definition: cs_field_pointer.h:97
void cs_turbulence_inflow_volume_mass_injection_ke_hyd_diam(const char *zone_name, double uref2, double dh, double rho, double mu)
Define mass injection for turbulent quantities based on a hydraulic diameter and reference velocity.
Definition: cs_turbulence_inflow.c:173
void cs_turbulence_inflow_volume_mass_injection_k_eps(const char *zone_name, double k, double eps)
Define mass injection for turbulent quantities based on k and epsilon values.
Definition: cs_turbulence_inflow.c:107
real(c_double), dimension(:), pointer, save dh
hydraulic diameter
Definition: ppincl.f90:713