7.0
general documentation
cs_navsto_param.h
Go to the documentation of this file.
1 #ifndef __CS_NAVSTO_PARAM_H__
2 #define __CS_NAVSTO_PARAM_H__
3 
4 /*============================================================================
5  * Routines to handle cs_navsto_param_t structure
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  * Local headers
30  *----------------------------------------------------------------------------*/
31 
32 #include "cs_boundary.h"
33 #include "cs_cdo_turbulence.h"
34 #include "cs_equation_param.h"
35 #include "cs_math.h"
36 #include "cs_param_sles.h"
37 #include "cs_physical_constants.h"
38 
39 /*----------------------------------------------------------------------------*/
40 
42 
43 /*============================================================================
44  * Macro definitions
45  *============================================================================*/
46 
47 /* Manage the naming of properties, variables and equations related to the
48  * Navier-Stokes module
49  */
50 
51 #define CS_NAVSTO_STREAM_EQNAME "streamfunction_eq"
52 
53 /*============================================================================
54  * Type definitions
55  *============================================================================*/
56 
59 
81 typedef enum {
82 
86 
88 
90 
132 typedef enum {
133 
134  CS_NAVSTO_MODEL_STEADY = 1<<0, /* = 1 */
138  CS_NAVSTO_MODEL_BOUSSINESQ = 1<<4, /* = 16 */
140 
142 
174 typedef enum {
175 
177  CS_NAVSTO_POST_KINETIC_ENERGY = 1<< 1, /* = 2 */
178  CS_NAVSTO_POST_VORTICITY = 1<< 2, /* = 4 */
180  CS_NAVSTO_POST_STREAM_FUNCTION = 1<< 4, /* = 16 */
181  CS_NAVSTO_POST_HELICITY = 1<< 5, /* = 32 */
182  CS_NAVSTO_POST_ENSTROPHY = 1<< 6, /* = 64 */
183 
185 
334 typedef enum {
335 
349 
351 
353 
373 typedef enum {
374 
377 
379 
381 
393 typedef enum {
394 
396 
398 
400 
405 typedef struct {
406 
411 
416 
430 
436 
442 
447 
452 
465 
471 
477 
483 
489 
494 
506 
510 
525 typedef enum {
526 
530 
532 
534 
540 typedef struct {
541 
553 
558 
564 
575 
582 
590 
596 
608 
613 
620 
630 
635 
652 
658 
663 
669 
677 
687 
692 
722 
740 
749  /* \var boundaries
750  * Pointer to a \ref cs_boundary_t structure shared with the domain
751  */
753 
772 
789 
801 
816 
820 
934 typedef enum {
935 
962 
964 
966 
967 /*============================================================================
968  * Inline static public function prototypes
969  *============================================================================*/
970 
971 /*----------------------------------------------------------------------------*/
980 /*----------------------------------------------------------------------------*/
981 
982 static inline bool
983 cs_navsto_param_is_steady(const cs_navsto_param_t *nsp)
984 {
985  if (nsp == NULL)
986  return true;
987 
989  return true;
990  else
991  return false;
992 }
993 
994 /*============================================================================
995  * Public function prototypes
996  *============================================================================*/
997 
998 /*----------------------------------------------------------------------------*/
1011 /*----------------------------------------------------------------------------*/
1012 
1014 cs_navsto_param_create(const cs_boundary_t *boundaries,
1016  cs_navsto_param_model_flag_t model_flag,
1017  cs_navsto_param_coupling_t algo_coupling,
1018  cs_navsto_param_post_flag_t post_flag);
1019 
1020 /*----------------------------------------------------------------------------*/
1028 /*----------------------------------------------------------------------------*/
1029 
1032 
1033 /*----------------------------------------------------------------------------*/
1042 /*----------------------------------------------------------------------------*/
1043 
1044 void
1046  cs_navsto_key_t key,
1047  const char *keyval);
1048 
1049 /*----------------------------------------------------------------------------*/
1057 /*----------------------------------------------------------------------------*/
1058 
1059 void
1061  cs_equation_param_t *eqp);
1062 
1063 /*----------------------------------------------------------------------------*/
1069 /*----------------------------------------------------------------------------*/
1070 
1071 void
1073 
1074 /*----------------------------------------------------------------------------*/
1083 /*----------------------------------------------------------------------------*/
1084 
1087 
1088 /*----------------------------------------------------------------------------*/
1096 /*----------------------------------------------------------------------------*/
1097 
1098 const char *
1100 
1101 /*----------------------------------------------------------------------------*/
1109 /*----------------------------------------------------------------------------*/
1110 
1111 const char *
1113 
1114 /*----------------------------------------------------------------------------*/
1121 /*----------------------------------------------------------------------------*/
1122 
1123 void
1125  cs_real_t pref);
1126 
1127 /*----------------------------------------------------------------------------*/
1141 /*----------------------------------------------------------------------------*/
1142 
1143 cs_xdef_t *
1145  const char *z_name,
1146  cs_real_t *val);
1147 
1148 /*----------------------------------------------------------------------------*/
1163 /*----------------------------------------------------------------------------*/
1164 
1165 cs_xdef_t *
1167  const char *z_name,
1168  cs_analytic_func_t *analytic,
1169  void *input);
1170 
1171 /*----------------------------------------------------------------------------*/
1185 /*----------------------------------------------------------------------------*/
1186 
1187 cs_xdef_t *
1189  const char *z_name,
1190  cs_real_t *val);
1191 
1192 /*----------------------------------------------------------------------------*/
1207 /*----------------------------------------------------------------------------*/
1208 
1209 cs_xdef_t *
1211  const char *z_name,
1212  cs_analytic_func_t *analytic,
1213  void *input);
1214 
1215 /*----------------------------------------------------------------------------*/
1223 /*----------------------------------------------------------------------------*/
1224 
1225 void
1227 
1228 /*----------------------------------------------------------------------------*/
1236 /*----------------------------------------------------------------------------*/
1237 
1238 void
1240 
1241 /*----------------------------------------------------------------------------*/
1249 /*----------------------------------------------------------------------------*/
1250 
1251 void
1253 
1254 /*----------------------------------------------------------------------------*/
1265 /*----------------------------------------------------------------------------*/
1266 
1267 cs_xdef_t *
1269  const char *z_name,
1270  cs_real_t *values);
1271 
1272 /*----------------------------------------------------------------------------*/
1284 /*----------------------------------------------------------------------------*/
1285 
1286 cs_xdef_t *
1288  const char *z_name,
1289  cs_real_t *values);
1290 
1291 /*----------------------------------------------------------------------------*/
1303 /*----------------------------------------------------------------------------*/
1304 
1305 cs_xdef_t *
1307  const char *z_name,
1308  cs_real_t *values);
1309 
1310 /*----------------------------------------------------------------------------*/
1323 /*----------------------------------------------------------------------------*/
1324 
1325 cs_xdef_t *
1327  const char *z_name,
1328  cs_analytic_func_t *ana,
1329  void *input);
1330 
1331 /*----------------------------------------------------------------------------*/
1347 /*----------------------------------------------------------------------------*/
1348 
1349 cs_xdef_t *
1351  const char *z_name,
1352  cs_flag_t loc,
1353  cs_real_t *array,
1354  bool is_owner,
1355  cs_lnum_t *index);
1356 
1357 /*----------------------------------------------------------------------------*/
1369 /*----------------------------------------------------------------------------*/
1370 
1371 cs_xdef_t *
1373  const char *z_name,
1374  cs_dof_func_t *func,
1375  void *func_input);
1376 
1377 /*----------------------------------------------------------------------------*/
1389 /*----------------------------------------------------------------------------*/
1390 
1391 cs_xdef_t *
1393  const char *z_name,
1394  cs_analytic_func_t *ana,
1395  void *input);
1396 
1397 /*----------------------------------------------------------------------------*/
1408 /*----------------------------------------------------------------------------*/
1409 
1410 cs_xdef_t *
1412  const char *z_name,
1413  cs_real_t *val);
1414 
1415 /*----------------------------------------------------------------------------*/
1430 /*----------------------------------------------------------------------------*/
1431 
1432 cs_xdef_t *
1434  const char *z_name,
1435  cs_flag_t loc,
1436  cs_real_t *array,
1437  bool is_owner,
1438  cs_lnum_t *index);
1439 
1440 /*----------------------------------------------------------------------------*/
1447 /*----------------------------------------------------------------------------*/
1448 
1449 void
1451  cs_adv_field_t *adv_fld);
1452 
1453 /*----------------------------------------------------------------------------*/
1454 
1456 
1457 #endif /* __CS_NAVSTO_PARAM_H__ */
void cs_navsto_param_transfer(const cs_navsto_param_t *nsp, cs_equation_param_t *eqp)
Apply the numerical settings defined for the Navier-Stokes system to an equation related to this syst...
Definition: cs_navsto_param.c:1145
Definition: cs_navsto_param.h:961
void cs_navsto_param_log(const cs_navsto_param_t *nsp)
Summary of the main cs_navsto_param_t structure.
Definition: cs_navsto_param.c:1204
Definition: cs_navsto_param.h:958
Definition: cs_navsto_param.h:963
cs_property_t * lam_viscosity
Definition: cs_navsto_param.h:595
void cs_navsto_set_outlets(cs_navsto_param_t *nsp)
Add the definition of boundary conditions related to outlets into the set of parameters for the manag...
Definition: cs_navsto_param.c:1798
Definition: cs_navsto_param.h:941
Definition: cs_navsto_param.h:942
cs_navsto_param_sles_t * sles_param
Definition: cs_navsto_param.h:662
Definition: cs_navsto_param.h:944
int n_velocity_ic_defs
Definition: cs_navsto_param.h:720
Definition: cs_navsto_param.h:343
Definition: cs_advection_field.h:149
Definition: cs_navsto_param.h:953
void cs_navsto_add_oseen_field(cs_navsto_param_t *nsp, cs_adv_field_t *adv_fld)
Add a advection field for the Oseen problem.
Definition: cs_navsto_param.c:2364
cs_navsto_param_t * cs_navsto_param_create(const cs_boundary_t *boundaries, cs_navsto_param_model_t model, cs_navsto_param_model_flag_t model_flag, cs_navsto_param_coupling_t algo_coupling, cs_navsto_param_post_flag_t post_flag)
Create a new structure to store all numerical parameters related to the resolution of the Navier-Stok...
Definition: cs_navsto_param.c:494
Definition: cs_navsto_param.h:137
cs_real_t reference_pressure
Definition: cs_navsto_param.h:800
Definition: cs_navsto_param.h:950
cs_navsto_param_coupling_t
Choice of algorithm for solving the system.
Definition: cs_navsto_param.h:525
Definition: cs_navsto_param.h:134
bool velocity_ic_is_owner
Definition: cs_navsto_param.h:719
Definition: cs_navsto_param.h:531
Definition: cs_navsto_param.h:350
Definition: cs_navsto_param.h:397
Structure storing the parameters for solving the Navier-Stokes system.
Definition: cs_navsto_param.h:405
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources...
Definition: cs_equation_param.h:202
Definition: cs_navsto_param.h:345
Definition: cs_navsto_param.h:85
cs_xdef_t ** pressure_ic_defs
Definition: cs_navsto_param.h:739
cs_xdef_t * cs_navsto_add_velocity_ic_by_analytic(cs_navsto_param_t *nsp, const char *z_name, cs_analytic_func_t *analytic, void *input)
Define the initial condition for the velocity unknowns. This definition can be done on a specified me...
Definition: cs_navsto_param.c:1529
Definition: cs_navsto_param.h:960
Definition: cs_navsto_param.h:336
cs_xdef_t * cs_navsto_add_source_term_by_analytic(cs_navsto_param_t *nsp, const char *z_name, cs_analytic_func_t *ana, void *input)
Define a new source term structure defined by an analytical function.
Definition: cs_navsto_param.c:2274
Definition: cs_navsto_param.h:136
cs_real_t il_algo_rtol
Definition: cs_navsto_param.h:429
cs_xdef_t * cs_navsto_set_velocity_inlet_by_dof_func(cs_navsto_param_t *nsp, const char *z_name, cs_dof_func_t *func, void *func_input)
Define the velocity field for an inlet boundary using a DoF function.
Definition: cs_navsto_param.c:2204
Definition: cs_navsto_param.h:176
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
Definition: cs_navsto_param.h:937
Definition: cs_navsto_param.h:135
cs_quadrature_type_t qtype
Definition: cs_navsto_param.h:657
Definition: cs_navsto_param.h:378
Definition: cs_navsto_param.h:954
int il_algo_verbosity
Definition: cs_navsto_param.h:451
cs_xdef_t * cs_navsto_add_source_term_by_array(cs_navsto_param_t *nsp, const char *z_name, cs_flag_t loc, cs_real_t *array, bool is_owner, cs_lnum_t *index)
Define a new source term structure defined by an array.
Definition: cs_navsto_param.c:2338
Definition: cs_navsto_param.h:376
Definition: cs_navsto_param.h:947
cs_real_t gd_scale_coef
Definition: cs_navsto_param.h:619
Definition: cs_navsto_param.h:347
Definition: cs_navsto_param.h:956
void cs_navsto_set_fixed_walls(cs_navsto_param_t *nsp)
Add the definition of boundary conditions related to a fixed wall into the set of parameters for the ...
Definition: cs_navsto_param.c:1700
cs_property_t * mass_density
Definition: cs_navsto_param.h:581
int n_pressure_ic_defs
Definition: cs_navsto_param.h:738
Definition: cs_navsto_param.h:945
cs_property_t * tot_viscosity
Definition: cs_navsto_param.h:589
cs_flag_t cs_navsto_param_post_flag_t
Definition: cs_navsto_param.h:58
cs_xdef_t * cs_navsto_add_source_term_by_val(cs_navsto_param_t *nsp, const char *z_name, cs_real_t *val)
Define a new source term structure defined by a constant value.
Definition: cs_navsto_param.c:2308
void cs_navsto_param_set(cs_navsto_param_t *nsp, cs_navsto_key_t key, const char *keyval)
Set a parameter attached to a keyname in a cs_navsto_param_t structure.
Definition: cs_navsto_param.c:737
cs_xdef_t * cs_navsto_add_velocity_ic_by_value(cs_navsto_param_t *nsp, const char *z_name, cs_real_t *val)
Define the initial condition for the velocity unknowns. This definition can be done on a specified me...
Definition: cs_navsto_param.c:1466
Definition: cs_navsto_param.h:528
cs_equation_param_t * cs_navsto_param_get_velocity_param(const cs_navsto_param_t *nsp)
Retrieve the cs_equation_param_t structure related to the velocity equation (momentum equation in mos...
Definition: cs_navsto_param.c:1347
Structure storing information related to the "physical" boundaries associated with the computational ...
Definition: cs_boundary.h:155
Definition: cs_navsto_param.h:939
Definition: cs_navsto_param.h:946
cs_param_advection_strategy_t
Choice of how to handle the advection term in an equation.
Definition: cs_param_types.h:344
cs_turbulence_param_t * turbulence
Definition: cs_navsto_param.h:563
Structure storing the parameters related to the resolution of the Navier-Stokes system.
Definition: cs_navsto_param.h:540
Structure and routines handling the SLES settings stored inside a cs_param_sles_t structure...
cs_lnum_t n_solid_cells
Definition: cs_navsto_param.h:814
int n_max_il_algo_iter
Definition: cs_navsto_param.h:446
cs_xdef_t * cs_navsto_set_velocity_wall_by_value(cs_navsto_param_t *nsp, const char *z_name, cs_real_t *values)
Define the velocity field for a sliding wall boundary using a uniform value.
Definition: cs_navsto_param.c:1938
cs_xdef_t ** velocity_bc_defs
Definition: cs_navsto_param.h:771
cs_xdef_t * cs_navsto_set_velocity_inlet_by_array(cs_navsto_param_t *nsp, const char *z_name, cs_flag_t loc, cs_real_t *array, bool is_owner, cs_lnum_t *index)
Define the velocity field for an inlet boundary using an array of values.
Definition: cs_navsto_param.c:2134
double cs_real_t
Floating-point value.
Definition: cs_defs.h:307
Definition: cs_navsto_param.h:344
cs_navsto_nl_algo_t
Type of algorithm used to tackle the non-linearity arising from the Navier-Stokes system...
Definition: cs_navsto_param.h:393
Definition: cs_navsto_param.h:948
int n_max_nl_algo_iter
Definition: cs_navsto_param.h:488
cs_real_t delta_thermal_tolerance
Definition: cs_navsto_param.h:668
Definition: cs_navsto_param.h:936
cs_real_t nl_algo_atol
Definition: cs_navsto_param.h:476
cs_param_advection_extrapol_t
Choice of how to extrapolate the advection field in the advection term.
Definition: cs_param_types.h:378
void() cs_dof_func_t(cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for computing a quantity at predefined locations such as degrees of freedom ...
Definition: cs_param_types.h:119
Definition: cs_navsto_param.h:84
cs_real_t nl_algo_dtol
Definition: cs_navsto_param.h:482
Definition: cs_navsto_param.h:181
cs_param_space_scheme_t
Type of numerical scheme for the discretization in space.
Definition: cs_param_types.h:172
cs_navsto_param_model_flag_t model_flag
Definition: cs_navsto_param.h:557
Definition: cs_navsto_param.h:375
cs_quadrature_type_t
Definition: cs_quadrature.h:52
Definition: cs_navsto_param.h:949
cs_real_t il_algo_atol
Definition: cs_navsto_param.h:435
cs_navsto_key_t
List of available keys for setting the parameters of the Navier-Stokes system.
Definition: cs_navsto_param.h:934
Definition: cs_navsto_param.h:938
void cs_navsto_set_reference_pressure(cs_navsto_param_t *nsp, cs_real_t pref)
Set the value to consider for the reference pressure.
Definition: cs_navsto_param.c:1440
Definition: cs_navsto_param.h:180
void() cs_analytic_func_t(cs_real_t time, cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t *coords, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for an evaluation relying on an analytic function elt_ids is optional...
Definition: cs_param_types.h:94
bool velocity_bc_is_owner
Definition: cs_navsto_param.h:769
cs_navsto_nl_algo_t nl_algo
Definition: cs_navsto_param.h:464
cs_param_time_scheme_t time_scheme
Definition: cs_navsto_param.h:628
const cs_boundary_t * boundaries
Definition: cs_navsto_param.h:752
Definition: cs_navsto_param.h:87
cs_xdef_t * cs_navsto_set_velocity_inlet_by_value(cs_navsto_param_t *nsp, const char *z_name, cs_real_t *values)
Define the velocity field for an inlet boundary using a uniform value.
Definition: cs_navsto_param.c:1998
cs_navsto_param_post_bit_t
Bit values for additional generic postprocessing related to the Navier-Stokes module. In what follows, w denotes the vorticity vector, u the velocity vector and k the kinetic energy defined by 1/2 * u u.
Definition: cs_navsto_param.h:174
cs_navsto_param_model_t model
Definition: cs_navsto_param.h:552
cs_navsto_param_post_flag_t post_flag
Definition: cs_navsto_param.h:691
Definition: cs_navsto_param.h:348
cs_param_advection_extrapol_t adv_extrapol
Definition: cs_navsto_param.h:651
Structure storing the parameters related to the resolution of the tubulence modelling. Several members are structures defined in cs_turbulence_model.h as a global variable. The prupose of this structure is to store all parameters in one place.
Definition: cs_cdo_turbulence.h:63
cs_xdef_t ** velocity_ic_defs
Definition: cs_navsto_param.h:721
cs_param_advection_form_t adv_form
Definition: cs_navsto_param.h:648
Definition: cs_navsto_param.h:338
cs_xdef_t * cs_navsto_add_pressure_ic_by_value(cs_navsto_param_t *nsp, const char *z_name, cs_real_t *val)
Define the initial condition for the pressure unknowns. This definition can be done on a specified me...
Definition: cs_navsto_param.c:1600
Definition: cs_navsto_param.h:952
bool pressure_ic_is_owner
Definition: cs_navsto_param.h:737
Definition: cs_navsto_param.h:959
Definition: cs_navsto_param.h:138
void cs_navsto_set_symmetries(cs_navsto_param_t *nsp)
Add the definition of boundary conditions related to a symmetry into the set of parameters for the ma...
Definition: cs_navsto_param.c:1748
Structure storing medata for defining a quantity in a very flexible way.
Definition: cs_xdef.h:154
Definition: cs_navsto_param.h:339
cs_real_t theta
Definition: cs_navsto_param.h:629
Definition: cs_navsto_param.h:951
Definition: cs_navsto_param.h:395
cs_param_advection_strategy_t adv_strategy
Definition: cs_navsto_param.h:650
cs_xdef_t * cs_navsto_set_velocity_inlet_by_analytic(cs_navsto_param_t *nsp, const char *z_name, cs_analytic_func_t *ana, void *input)
Define the velocity field for an inlet boundary using an analytical function.
Definition: cs_navsto_param.c:2060
Definition: cs_navsto_param.h:139
const char * cs_navsto_param_get_coupling_name(cs_navsto_param_coupling_t coupling)
Retrieve the name of the coupling algorithm.
Definition: cs_navsto_param.c:1412
cs_navsto_schur_approx_t schur_approximation
Definition: cs_navsto_param.h:415
cs_xdef_t * cs_navsto_add_pressure_ic_by_analytic(cs_navsto_param_t *nsp, const char *z_name, cs_analytic_func_t *analytic, void *input)
Define the initial condition for the pressure unknowns. This definition can be done on a specified me...
Definition: cs_navsto_param.c:1649
cs_navsto_sles_t
High-level information about the way of settings the SLES for solving the Navier-Stokes system...
Definition: cs_navsto_param.h:334
cs_real_t il_algo_dtol
Definition: cs_navsto_param.h:441
Definition: cs_navsto_param.h:83
Definition: cs_navsto_param.h:337
bool pressure_bc_is_owner
Definition: cs_navsto_param.h:786
Definition: cs_navsto_param.h:341
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:301
cs_xdef_t ** pressure_bc_defs
Definition: cs_navsto_param.h:788
int n_pressure_bc_defs
Definition: cs_navsto_param.h:787
cs_navsto_param_model_bit_t
Bit values for additional physical modelling related to the Navier-Stokes system of equations...
Definition: cs_navsto_param.h:132
#define END_C_DECLS
Definition: cs_defs.h:496
int nl_algo_verbosity
Definition: cs_navsto_param.h:493
Definition: cs_navsto_param.h:182
unsigned short int cs_flag_t
Definition: cs_defs.h:309
cs_navsto_param_t * cs_navsto_param_free(cs_navsto_param_t *param)
Free a cs_navsto_param_t structure.
Definition: cs_navsto_param.c:655
cs_param_dof_reduction_t
Definition: cs_param_types.h:199
Physical constants descriptor.
Definition: cs_physical_constants.h:51
int verbosity
Definition: cs_navsto_param.h:686
Definition: cs_navsto_param.h:346
cs_param_sles_t * schur_sles_param
Definition: cs_navsto_param.h:505
const char * cs_navsto_param_get_model_name(cs_navsto_param_model_t model)
Retrieve the name of the model system of equations.
Definition: cs_navsto_param.c:1383
int n_velocity_bc_defs
Definition: cs_navsto_param.h:770
Definition: cs_navsto_param.h:529
Definition: cs_navsto_param.h:527
Definition: cs_navsto_param.h:342
cs_param_advection_scheme_t
Definition: cs_param_types.h:311
cs_lnum_t * solid_cell_ids
Definition: cs_navsto_param.h:815
Definition: cs_navsto_param.h:179
Definition: cs_navsto_param.h:957
Definition: cs_navsto_param.h:177
Definition: cs_navsto_param.h:955
cs_param_dof_reduction_t dof_reduction_mode
Definition: cs_navsto_param.h:607
Definition: cs_navsto_param.h:943
cs_navsto_param_model_t
Describe the system of equations related to the Navier-Stokes to be solved.
Definition: cs_navsto_param.h:81
int n_max_outer_iter
Definition: cs_navsto_param.h:676
cs_param_time_scheme_t
Definition: cs_param_types.h:234
Structure and routines handling the specific settings related to a cs_equation_t structure.
cs_navsto_sles_t strategy
Definition: cs_navsto_param.h:410
cs_navsto_schur_approx_t
Strategy to build the Schur complement approximation. This appears in block preconditioning or uzawa ...
Definition: cs_navsto_param.h:373
cs_param_advection_form_t
Definition: cs_param_types.h:267
Definition: cs_navsto_param.h:940
Structure associated to the definition of a property relying on the cs_xdef_t structure.
cs_flag_t cs_navsto_param_model_flag_t
Definition: cs_navsto_param.h:57
cs_xdef_t * cs_navsto_set_pressure_bc_by_value(cs_navsto_param_t *nsp, const char *z_name, cs_real_t *values)
Set the pressure field on a boundary using a uniform value.
Definition: cs_navsto_param.c:1852
cs_physical_constants_t * phys_constants
Definition: cs_navsto_param.h:574
Structure storing all metadata related to the resolution of a linear system with an iterative solver...
Definition: cs_param_sles.h:62
cs_param_advection_scheme_t adv_scheme
Definition: cs_navsto_param.h:649
cs_real_t nl_algo_rtol
Definition: cs_navsto_param.h:470
cs_navsto_param_coupling_t coupling
Definition: cs_navsto_param.h:612
cs_param_space_scheme_t space_scheme
Definition: cs_navsto_param.h:634
Definition: cs_navsto_param.h:178
Definition: cs_navsto_param.h:340