8.3
general documentation
cs_cf_boundary_conditions.h
Go to the documentation of this file.
1#ifndef __CS_CF_BOUNDARY_CONDITIONS_H__
2#define __CS_CF_BOUNDARY_CONDITIONS_H__
3
4/*============================================================================
5 * Compressible flow boundary conditions.
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2024 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#include "cs_defs.h"
31
32/*----------------------------------------------------------------------------
33 * Standard C library headers
34 *----------------------------------------------------------------------------*/
35
36/*----------------------------------------------------------------------------
37 * Local headers
38 *----------------------------------------------------------------------------*/
39
41
42/*============================================================================
43 * Type definitions
44 *============================================================================*/
45
46/*=============================================================================
47 * Public function definitions
48 *============================================================================*/
49
50/*----------------------------------------------------------------------------*/
51/*
52 * \brief Automatic boundary condition for compressible flows
53 *
54 * \param[in] bc_type type of boundary for each face
55 */
56/*----------------------------------------------------------------------------*/
57
58void
59cs_cf_boundary_conditions(int bc_type[]);
60
61/*----------------------------------------------------------------------------*/
62/*
63 * \brief Allocate boundary flux indicator arrays.
64 */
65/*----------------------------------------------------------------------------*/
66
67void
69
70/*----------------------------------------------------------------------------*/
71/*
72 * \brief Provide access to boundary face indicator array of convection flux
73 * - 0 upwind scheme
74 * - 1 imposed flux
75 */
76/*----------------------------------------------------------------------------*/
77
78int *
80
81/*----------------------------------------------------------------------------*/
82/*
83 * \brief Provide access to imposed thermal flux indicator at the boundary
84 * (some boundary contributions of the total energy eq. have to be
85 * cancelled)
86 */
87/*----------------------------------------------------------------------------*/
88
89int *
91
92/*----------------------------------------------------------------------------*/
93/*
94 * \brief Prepare (reset) condition coefficients specific to compressible flows.
95 */
96/*----------------------------------------------------------------------------*/
97
98void
100
101/*----------------------------------------------------------------------------*/
102
104
105#endif /* __CS_CF_BOUNDARY_CONDITIONS_H__ */
void cs_cf_boundary_conditions_reset(void)
Prepare (reset) condition coefficients specific to compressible flows.
Definition: cs_cf_boundary_conditions.cpp:683
int * cs_cf_boundary_conditions_get_icvfli(void)
Provide access to boundary face indicator array of convection flux.
Definition: cs_cf_boundary_conditions.cpp:657
int * cs_cf_boundary_conditions_get_ifbet(void)
Provide access to imposed thermal flux indicator at the boundary (some boundary contributions of the ...
Definition: cs_cf_boundary_conditions.cpp:671
void cs_cf_boundary_conditions(int bc_type[])
Automatic boundary condition for compressible flows.
Definition: cs_cf_boundary_conditions.cpp:133
void cs_cf_boundary_conditions_init(void)
Allocate boundary flux indicator arrays.
Definition: cs_cf_boundary_conditions.cpp:640
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
#define END_C_DECLS
Definition: cs_defs.h:543