9.2
general documentation
cs_cf_compute.h
Go to the documentation of this file.
1#ifndef CS_CF_CFL_COMPUTE__
2#define CS_CF_CFL_COMPUTE__
3
4/*============================================================================
5 * Operators for compressible flows
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2026 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 * Standard C library headers
32 *----------------------------------------------------------------------------*/
33
34/*----------------------------------------------------------------------------
35 * Local headers
36 *----------------------------------------------------------------------------*/
37
38#include "base/cs_defs.h"
39
40/*=============================================================================
41 * Public function prototypes
42 *============================================================================*/
43
44/*----------------------------------------------------------------------------*/
59/*----------------------------------------------------------------------------*/
60
61void
63 const cs_real_3_t *vel,
64 const cs_real_t *crom,
65 const cs_real_t *brom,
66 const cs_real_t *p,
67 cs_field_bc_coeffs_t *bc_coeffs_v,
68 cs_field_bc_coeffs_t *bc_coeffs_p,
69 cs_real_t *imasfl,
70 cs_real_t *bmasfl);
71
72/*----------------------------------------------------------------------------*/
73/*
74 * \param[in] iterns Navier-Stokes iteration number
75 */
76/*----------------------------------------------------------------------------*/
77
78void
80
81/*----------------------------------------------------------------------------*/
82/*
83 * \param[in] wcf compressible constraint
84 */
85/*----------------------------------------------------------------------------*/
86
87void
89
90/*----------------------------------------------------------------------------*/
91
92#endif /* CS_CF_CFL_COMPUTE__ */
Definition: cs_dispatch.h:2288
Field boundary condition descriptor (for variables)
Definition: cs_field.h:107
void cs_compressible_pressure_ausm_mass_flux(cs_dispatch_context &ctx, const cs_real_3_t *vel, const cs_real_t *crom, const cs_real_t *brom, const cs_real_t *p, cs_field_bc_coeffs_t *bc_coeffs_v, cs_field_bc_coeffs_t *bc_coeffs_p, cs_real_t *imasfl, cs_real_t *bmasfl)
Compute the "mass flux" at the faces for the CFL restriction computation and the solving of the press...
Definition: cs_cf_compute.cpp:555
void cs_cf_cfl_compute(cs_real_t wcf[])
Computation of the constraint for the CFL (compressible algorithm)
Definition: cs_cf_compute.cpp:1081
void cs_cf_convective_mass_flux(int iterns)
Update the convective mass flux before the velocity prediction step. It is the first step of the comp...
Definition: cs_cf_compute.cpp:718
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:349
@ p
Definition: cs_field_pointer.h:63
@ vel
Definition: cs_field_pointer.h:66