Structure managing the Navier-Stokes system. More...
#include <cs_navsto_system.h>
Data Fields | |
cs_navsto_param_t * | param |
cs_adv_field_t * | adv_field |
cs_real_t * | mass_flux_array |
cs_real_t * | mass_flux_array_pre |
cs_boundary_type_t * | bf_type |
Variable fields | |
Set of fields (resolved variables): fields are created according to the choice of model for Navier-Stokes | |
cs_field_t * | velocity |
cs_field_t * | pressure |
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_t * | turbulence |
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_t * | plot_writer |
cs_field_t * | velocity_divergence |
cs_field_t * | pressure_gradient |
cs_field_t * | kinetic_energy |
cs_field_t * | mass_density |
cs_field_t * | mass_flux_balance |
cs_field_t * | vorticity |
cs_field_t * | helicity |
cs_field_t * | enstrophy |
cs_field_t * | velocity_gradient |
cs_equation_t * | stream_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_t * | init_scheme_context |
cs_navsto_free_scheme_context_t * | free_scheme_context |
cs_navsto_init_values_t * | init_velocity |
cs_navsto_init_values_t * | init_pressure |
cs_navsto_compute_t * | compute_steady |
cs_navsto_compute_t * | compute |
Structure managing the Navier-Stokes system.
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 |
Pointer of functions related to resolution of the Navier-Stokes steady system. Handle the build of the system and its resolution
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 is defined as vorticity Pointer to a scalar-valued cs_field_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 |
Helicity is defined as vorticity Pointer to a scalar-valued cs_field_t
init_pressure |
Pointer of functions related to the initialization of variable values Case of the pressure
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 |
Pointer of functions related to the initialization of variable values Case of the velocity
kinetic_energy |
Kinetic energy defined as Pointer to a scalar-valued 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 |
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 |
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 |
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 |
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, scalar-valued, pointer to cs_field_t
pressure_gradient |
Pressure gradient Pointer to a vector-valued cs_field_t
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 |
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 |
Structure storing all settings, fields or properties related to the turbulence modelling
velocity |
Velocity, vector-valued, pointer to cs_field_t
velocity_divergence |
Divergence of the velocity fied. Pointer to a scalar-valued cs_field_t
velocity_gradient |
Pointer to a tensor-valued cs_field_t
vorticity |
Vorticity of the velocity field defined as curl(velocity) Pointer to a vector-valued cs_field_t