7.1
general documentation
cs_pressure_correction.h
Go to the documentation of this file.
1 #ifndef __CS_PRESSURE_CORRECTION_H__
2 #define __CS_PRESSURE_CORRECTION_H__
3 
4 /*============================================================================
5  * Pressure correction.
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2021 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  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "cs_defs.h"
35 
36 /*----------------------------------------------------------------------------*/
37 
39 
40 /*============================================================================
41  * Public function definitions
42  *============================================================================*/
43 
44 /*----------------------------------------------------------------------------*/
99 /*----------------------------------------------------------------------------*/
100 
101 void
102 cs_pressure_correction(int iterns,
105  cs_lnum_t ifbpcd[nfbpcd],
106  cs_lnum_t ltmast[],
107  int isostd[],
108  cs_real_t vel[restrict][3],
109  cs_real_t da_uu[restrict][6],
110  cs_real_t coefav[restrict][3],
111  cs_real_t coefbv[restrict][3][3],
112  cs_real_t coefa_dp[restrict],
113  cs_real_t coefb_dp[restrict],
114  cs_real_t spcond[restrict],
115  cs_real_t svcond[restrict],
116  cs_real_t frcxt[restrict][3],
117  cs_real_t dfrcxt[restrict][3],
118  cs_real_t i_visc[restrict],
119  cs_real_t b_visc[restrict]);
120 
121 /*----------------------------------------------------------------------------*/
122 
124 
125 #endif /* __CS_PRESSURE_CORRECTION_H__ */
double precision, dimension(:,:), allocatable spcond
value of the condensation source terms for pressure. For the other variables, eventual imposed specif...
Definition: pointe.f90:226
#define restrict
Definition: cs_defs.h:142
integer, save ncmast
number of the ncmast cells in which a condensation source terms is imposed. See lstmast list and the ...
Definition: pointe.f90:248
void cs_pressure_correction(int iterns, cs_lnum_t nfbpcd, cs_lnum_t ncmast, cs_lnum_t ifbpcd[nfbpcd], cs_lnum_t ltmast[], int isostd[], cs_real_t vel[restrict][3], cs_real_t da_uu[restrict][6], cs_real_t coefav[restrict][3], cs_real_t coefbv[restrict][3][3], cs_real_t coefa_dp[restrict], cs_real_t coefb_dp[restrict], cs_real_t spcond[restrict], cs_real_t svcond[restrict], cs_real_t frcxt[restrict][3], cs_real_t dfrcxt[restrict][3], cs_real_t i_visc[restrict], cs_real_t b_visc[restrict])
Perform the pressure correction step of the Navier-Stokes equations for incompressible or slightly co...
Definition: cs_pressure_correction.c:164
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
integer, dimension(:), allocatable ltmast
list on the ncmast cells in which a condensation source terms is imposed. See the user subroutine cs_...
Definition: pointe.f90:252
integer, save nfbpcd
number of the nfbpcd faces in which a condensation source terms is imposed. See ifbpcd and the user s...
Definition: pointe.f90:208
double cs_real_t
Floating-point value.
Definition: cs_defs.h:322
Definition: cs_field_pointer.h:68
double precision, dimension(:,:), allocatable svcond
value of the condensation source terms for pressure associated to the metal structures modelling...
Definition: pointe.f90:268
integer, dimension(:), allocatable ifbpcd
list on the nfbpcd faces in which a condensation source terms is imposed. See ifbpcd and the user sub...
Definition: pointe.f90:212
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:316
#define END_C_DECLS
Definition: cs_defs.h:511