9.0
general documentation
Loading...
Searching...
No Matches
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

cs_adv_field_t* adv_field

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

◆ bf_type

Array storing the type of boundary for each boundary face

◆ compute

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

◆ compute_steady

cs_navsto_compute_t* 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

void* coupling_context

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

◆ enstrophy

cs_field_t* enstrophy

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

◆ free_scheme_context

cs_navsto_free_scheme_context_t* 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

cs_field_t* helicity

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

◆ init_pressure

cs_navsto_init_values_t* init_pressure

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

◆ init_scheme_context

cs_navsto_init_scheme_context_t* 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

cs_navsto_init_values_t* init_velocity

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

◆ kinetic_energy

cs_field_t* kinetic_energy

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

◆ mass_density

cs_field_t* 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

cs_real_t* 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

cs_real_t* 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

cs_field_t* mass_flux_balance

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

◆ param

Set of parameters to handle the Navier-Stokes system

◆ plot_writer

cs_time_plot_t* 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

cs_field_t* pressure

Pressure, scalar-valued, pointer to cs_field_t

◆ pressure_gradient

cs_field_t* pressure_gradient

Pressure gradient Pointer to a vector-valued cs_field_t

◆ scheme_context

void* 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

cs_equation_t* 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

cs_turbulence_t* turbulence

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

◆ velocity

cs_field_t* velocity

Velocity, vector-valued, pointer to cs_field_t

◆ velocity_divergence

cs_field_t* velocity_divergence

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

◆ velocity_gradient

cs_field_t* velocity_gradient

Pointer to a tensor-valued cs_field_t

◆ vorticity

cs_field_t* 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: