6.2
general documentation
cs_navsto_param_t Struct Reference

Structure storing the parameters related to the resolution of the Navier-Stokes system. More...

#include <cs_navsto_param.h>

+ Collaboration diagram for cs_navsto_param_t:

Data Fields

int verbosity
 
cs_flag_t post_flag
 
Physical modelling

Which equations to solve ? Properties and their related fields are allocated according to the choice of model for Navier-Stokes

cs_navsto_param_model_t model
 
cs_real_t reference_pressure
 
cs_physical_constants_tphys_constants
 
cs_property_tmass_density
 
cs_property_tlami_viscosity
 
Turbulence modelling

Set of parameters to handle turbulence modelling.

cs_turb_model_tturbulence
 
cs_turb_rans_model_trans_modelling
 
Numerical options

Set of numerical options to build the linear system and how to solve it

cs_flag_t option_flag
 
cs_param_time_scheme_t time_scheme
 
cs_real_t theta
 
cs_param_space_scheme_t space_scheme
 
cs_param_dof_reduction_t dof_reduction_mode
 
cs_navsto_param_coupling_t coupling
 
cs_real_t gd_scale_coef
 
cs_param_advection_form_t adv_form
 
cs_param_advection_scheme_t adv_scheme
 
cs_quadrature_type_t qtype
 
cs_navsto_param_sles_t sles_param
 
Initial conditions (IC)

Set of parameters used to take into account the initial condition on the pressure and/or the velocity. CAUTION: so far, there is no check if the different IC are compatible with the boundary conditions for instance

bool velocity_ic_is_owner
 
int n_velocity_ic_defs
 
cs_xdef_t ** velocity_ic_defs
 
bool pressure_ic_is_owner
 
int n_pressure_ic_defs
 
cs_xdef_t ** pressure_ic_defs
 
Boundary conditions (BC)

Set of parameters used to take into account the boundary conditions on the pressure and/or the velocity.

const cs_boundary_tboundaries
 
bool velocity_bc_is_owner
 
int n_velocity_bc_defs
 
cs_xdef_t ** velocity_bc_defs
 
bool pressure_bc_is_owner
 
int n_pressure_bc_defs
 
cs_xdef_t ** pressure_bc_defs
 
cs_lnum_t n_solid_cells
 
cs_lnum_tsolid_cell_ids
 

Detailed Description

Structure storing the parameters related to the resolution of the Navier-Stokes system.

Field Documentation

◆ adv_form

adv_form

Type of formulation for the advection term

◆ adv_scheme

adv_scheme

Type of scheme for the advection term

◆ boundaries

const cs_boundary_t* boundaries

◆ coupling

coupling

Choice of algorithm for solving the system

◆ dof_reduction_mode

dof_reduction_mode

How are defined the Degrees of freedom

◆ gd_scale_coef

gd_scale_coef

Default value to set the scaling of the grad-div term when an artificial compressibility algorithm or an Uzawa-Augmented Lagrangian method is used

◆ lami_viscosity

lami_viscosity

Laminar viscosity, pointer to cs_property_t associated to the diffusion term for the momentum equation

◆ mass_density

mass_density

Mass_density of the fluid, pointer to cs_property_t used in several terms in the Navier-Stokes equations

◆ model

model

Modelling related to the Navier-Stokes system of equations

◆ n_pressure_bc_defs

n_pressure_bc_defs

Number of boundary conditions associated to the pressure field.

◆ n_pressure_ic_defs

n_pressure_ic_defs

Number of initial conditions associated to the pressure

◆ n_solid_cells

n_solid_cells

If n_solid_cells > 0, then one requests that a part of the fluid is considered as a solid and an enforcement of this condition has to be done on the (Navier-)Stokes system. This implies an enforcement on the momentum equation and a specific treatment of the pressure gradient.

◆ n_velocity_bc_defs

n_velocity_bc_defs

Number of definitions related to the settings of the boundary conditions for the velocity field.

◆ n_velocity_ic_defs

n_velocity_ic_defs

Number of initial conditions associated to the velocity

◆ option_flag

option_flag

Flag storing high-level option related to the Navier-Stokes system

◆ phys_constants

phys_constants

Main physical constants (gravity vector and coriolis source term). This structure is shared with the legacy part.

◆ post_flag

post_flag

Flag storing which predefined post-processing has to be done

◆ pressure_bc_defs

pressure_bc_defs

Pointers to the definitions of the boundary conditions associated to the pressure field.

◆ pressure_bc_is_owner

pressure_bc_is_owner

True if the definitions are stored inside this structure, otherwise the definitions are stored inside a dedicated cs_equation_param_t if an equation solves the pressure field.

◆ pressure_ic_defs

pressure_ic_defs

Pointers to the definitions of the initial conditions associated to the pressure. In order to force a zero-mean pressure, the code can compute the average of the resulting pressure and subtract it

◆ pressure_ic_is_owner

pressure_ic_is_owner

True if the definitions are stored inside this structure, otherwise the definitions are stored inside a dedicated cs_equation_param_t

◆ qtype

qtype

A cs_quadrature_type_t indicating the type of quadrature to use in all routines involving quadratures

◆ rans_modelling

rans_modelling

Main set of parameters to handle RANS modelling. This structure is shared with the legacy part. RANS means Reynolds Average Navier-Stokes

◆ reference_pressure

reference_pressure

Value of the reference pressure p0 (used for rescaling or during update of physical quantities). By default: 0.

◆ sles_param

sles_param

Set of choices to control the resolution of the Navier–Stokes system

◆ solid_cell_ids

solid_cell_ids

List on local cell ids where an enforcement to a zero velocity/zero mass flux has to be performed

◆ space_scheme

space_scheme

Discretization scheme for space

◆ theta

theta

Value of the parameter for the time scheme when a theta-scheme is used

◆ time_scheme

time_scheme

Discretization scheme for time

◆ turbulence

turbulence

Main set of parameters to handle turbulence modelling. This structure is shared with the legacy part.

◆ velocity_bc_defs

velocity_bc_defs

Array of pointers to the definition of boundary conditions for the velocity field

◆ velocity_bc_is_owner

velocity_bc_is_owner

True if the definitions are stored inside this structure, otherwise the definitions are stored inside a dedicated cs_equation_param_t Most of the time this should be false since an equation is associated to to the resolution of the velocity field (the momentum equation).

◆ velocity_ic_defs

velocity_ic_defs

Pointers to the definitions of the initial conditions associated to the velocity. The code does not check if the resulting initial velocity satisfies the divergence constraint.

◆ velocity_ic_is_owner

velocity_ic_is_owner

True if the definitions are stored inside this structure, otherwise the definitions are stored inside a cs_equation_param_t structure dedicated to the momentum equation.

◆ verbosity

verbosity

Level of display of the information related to the Navier-Stokes system


The documentation for this struct was generated from the following file: