9.2
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-2026 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 "base/cs_defs.h"
32
33/*----------------------------------------------------------------------------
34 * Local headers
35 *----------------------------------------------------------------------------*/
36
37#include "base/cs_base.h"
38
39/*============================================================================
40 * Macro definitions
41 *============================================================================*/
42
43/*============================================================================
44 * Type definitions
45 *============================================================================*/
46
47/*=============================================================================
48 * Public function prototypes
49 *============================================================================*/
50
51/*----------------------------------------------------------------------------*/
60/*----------------------------------------------------------------------------*/
61
62extern "C" void
64 double k,
65 double eps);
66
67/*----------------------------------------------------------------------------*/
78/*----------------------------------------------------------------------------*/
79
80extern "C" void
82 double uref2,
83 double dh,
84 double rho,
85 double mu);
86
87/*----------------------------------------------------------------------------*/
88
89#endif /* CS_TURBULENCE_INFLOW_H */
@ k
Definition: cs_field_pointer.h:68
@ mu
Definition: cs_field_pointer.h:102
@ eps
Definition: cs_field_pointer.h:69
@ rho
Definition: cs_field_pointer.h:96
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.cpp:171
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.cpp:105