8.3
general documentation
cs_navsto_system_t Struct Reference

Structure managing the Navier-Stokes system. More...

#include <cs_navsto_system.h>

+ Collaboration diagram for cs_navsto_system_t:

Data Fields

cs_navsto_param_tparam
 
cs_adv_field_tadv_field
 
cs_real_tmass_flux_array
 
cs_real_tmass_flux_array_pre
 
cs_boundary_type_tbf_type
 
Variable fields

Set of fields (resolved variables): fields are created according to the choice of model for Navier-Stokes

cs_field_tvelocity
 
cs_field_tpressure
 
Related systems of equations

According to the modelling choice other systems of equations can be solved in a more or less coupled manner. For instance, the energy equation (with the thermal system) or the magneto-hydrodynamic equations (with the Maxwell system of equations)

cs_turbulence_tturbulence
 
Post-processing

Set of fields which are induced by the variable fields and which have meaningful information for understanding the flow. Structure managing the post-processing.

cs_time_plot_tplot_writer
 
cs_field_tvelocity_divergence
 
cs_field_tpressure_gradient
 
cs_field_tkinetic_energy
 
cs_field_tmass_density
 
cs_field_tmass_flux_balance
 
cs_field_tvorticity
 
cs_field_thelicity
 
cs_field_tenstrophy
 
cs_field_tvelocity_gradient
 
cs_equation_tstream_function_eq
 
Context structures to get a greater flexibility in what can be done

in the given framework

void * coupling_context
 
void * scheme_context
 
Pointer to functions handling specific tasks
cs_navsto_init_scheme_context_tinit_scheme_context
 
cs_navsto_free_scheme_context_tfree_scheme_context
 
cs_navsto_init_values_tinit_velocity
 
cs_navsto_init_values_tinit_pressure
 
cs_navsto_compute_tcompute_steady
 
cs_navsto_compute_tcompute
 

Detailed Description

Structure managing the Navier-Stokes system.

Field Documentation

◆ adv_field

adv_field

Pointer to the cs_adv_field_t structure storing the advection field used in the Navier-Stokes equations

◆ bf_type

bf_type

Array storing the type of boundary for each boundary face

◆ compute

compute

Pointer of functions related to resolution of the Navier-Stokes unsteady system. Handle the build of the system and its resolution

◆ compute_steady

compute_steady

Pointer of functions related to resolution of the Navier-Stokes steady system. Handle the build of the system and its resolution

◆ coupling_context

coupling_context

Additional structure storing information according to the way equations of model for the Navier-Stokes system are coupled and thus solved

◆ enstrophy

enstrophy

Enstrophy is defined as $ \int_c vorticity \cdot $ vorticity Pointer to a scalar-valued cs_field_t

◆ free_scheme_context

free_scheme_context

Pointer of functions related to the destruction of the context structure related to a given discretization scheme for the resolution of the Navier-Stokes system

◆ helicity

helicity

Helicity is defined as $ \int_c velocity \cdot $ vorticity Pointer to a scalar-valued cs_field_t

◆ init_pressure

init_pressure

Pointer of functions related to the initialization of variable values Case of the pressure

◆ init_scheme_context

init_scheme_context

Pointer of functions related to the initialization of the context structure related to a given discretization scheme for the resolution of the Navier-Stokes system

◆ init_velocity

init_velocity

Pointer of functions related to the initialization of variable values Case of the velocity

◆ kinetic_energy

kinetic_energy

Kinetic energy defined as $ 1/2 velocity \cdot velocity $ Pointer to a scalar-valued cs_field_t

◆ mass_density

mass_density

Mass density Available when a Boussinesq approximation is on and a postprocessing has been requested. Pointer to a scalar-valued cs_field_t

◆ mass_flux_array

mass_flux_array

Current values of the mass flux (if this is a CDO Face-based scheme, array is allocated to the number of faces; first interior faces then boundary faces)

◆ mass_flux_array_pre

mass_flux_array_pre

Previous values of the mass flux (if this is a CDO Face-based scheme, array is allocated to the number of faces; first interior faces then boundary faces)

◆ mass_flux_balance

mass_flux_balance

Cellwise balance of the mass flux. Useful to check settings (injection/suction) or the expected behavior of the numerical algorithm.

◆ param

param

Set of parameters to handle the Navier-Stokes system

◆ plot_writer

plot_writer

Writer for monitoring the evolution of predefined global variables (the integral of the mass in the computational domain or the divergence of the velocity field for instance)

◆ pressure

pressure

Pressure, scalar-valued, pointer to cs_field_t

◆ pressure_gradient

pressure_gradient

Pressure gradient Pointer to a vector-valued cs_field_t

◆ scheme_context

scheme_context

Additional structure storing information according to the space discretization scheme used for solving the model for the Navier-Stokes system

◆ stream_function_eq

stream_function_eq

Pointer to a cs_equation_t structure related to the computation of the stream function -Laplacian(psi) = vorticity_z where psi is the scalar-valued stream function. This is relevant only for a 2D computation

◆ turbulence

turbulence

Structure storing all settings, fields or properties related to the turbulence modelling

◆ velocity

velocity

Velocity, vector-valued, pointer to cs_field_t

◆ velocity_divergence

velocity_divergence

Divergence of the velocity fied. Pointer to a scalar-valued cs_field_t

◆ velocity_gradient

velocity_gradient

Pointer to a tensor-valued cs_field_t

◆ vorticity

vorticity

Vorticity of the velocity field defined as curl(velocity) Pointer to a vector-valued cs_field_t


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