8.2
general documentation
Loading...
Searching...
No Matches
cs_solve_navier_stokes.h
Go to the documentation of this file.
1#ifndef __CS_SOLVE_NAVIER_STOKES_H__
2#define __CS_SOLVE_NAVIER_STOKES_H__
3
4/*============================================================================
5 * Solve the Navier-Stokes equations.
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/*----------------------------------------------------------------------------
31 * Standard C library headers
32 *----------------------------------------------------------------------------*/
33
34/*----------------------------------------------------------------------------
35 * Local headers
36 *----------------------------------------------------------------------------*/
37
38#include "cs_defs.h"
39
40/*----------------------------------------------------------------------------*/
41
43
44/*============================================================================
45 * Macro definitions
46 *============================================================================*/
47
48/*============================================================================
49 * Local type definitions
50 *============================================================================*/
51
52/*=============================================================================
53 * Global variables
54 *============================================================================*/
55
56/*============================================================================
57 * Public function prototypes
58 *============================================================================*/
59
60/*----------------------------------------------------------------------------*/
72/*----------------------------------------------------------------------------*/
73
74void
75cs_solve_navier_stokes(const int iterns,
76 int *icvrge,
77 const int itrale,
78 const int isostd[]);
79
80/*----------------------------------------------------------------------------*/
94/*----------------------------------------------------------------------------*/
95
96void
98 const cs_mesh_quantities_t *mq,
99 const cs_fluid_properties_t *fp);
100
101/*----------------------------------------------------------------------------*/
102
104
105#endif /* __CS_SOLVE_NAVIER_STOKES_H__ */
#define BEGIN_C_DECLS
Definition cs_defs.h:528
#define END_C_DECLS
Definition cs_defs.h:529
void cs_solve_navier_stokes_update_total_pressure(const cs_mesh_t *m, const cs_mesh_quantities_t *mq, const cs_fluid_properties_t *fp)
Update total pressure (defined as a post-processed property).
Definition cs_solve_navier_stokes.cpp:3596
void cs_solve_navier_stokes(const int iterns, int *icvrge, const int itrale, const int isostd[])
Solve Navier-Stokes equations for incompressible or slightly compressible flows for one time step....
Definition cs_solve_navier_stokes.cpp:3684
Fluid properties descriptor.
Definition cs_physical_constants.h:61
Definition cs_mesh_quantities.h:92
Definition cs_mesh.h:85