9.2
general documentation
cdo_navsto_ctx_t Struct Reference

Context related to CDO face-based discretization when dealing with Navier-Stokes equations and vector-valued face unknowns. More...

#include <cs_navsto_context.h>

+ Inheritance diagram for cdo_navsto_ctx_t:
+ Collaboration diagram for cdo_navsto_ctx_t:

Public Member Functions

cs_real_tget_mass_flux (bool previous) const
 Retrieve the mass flux array related to the Navier-Stokes system. More...
 

Public Attributes

Main field variables

Fields for every main variable of the equation. Got from cs_navsto_system_t

cs_field_tvelocity
 
cs_field_tpressure
 
cs_field_tdivergence
 
Advection quantities

Members related to the advection

cs_adv_field_tadv_field
 
cs_real_tmass_flux_array
 
cs_real_tmass_flux_array_pre
 
Boundary conditions (BC) management

Functions and elements used for enforcing the BCs

const cs_boundary_type_tbf_type
 
cs_cdo_bc_face_tpressure_bc
 
int pressure_rescaling
 
cs_cdo_apply_boundary_tapply_fixed_wall
 
cs_cdo_apply_boundary_tapply_sliding_wall
 
cs_cdo_apply_boundary_tapply_velocity_inlet
 
cs_cdo_apply_boundary_tapply_symmetry
 
Performance monitoring

Monitoring the efficiency of the algorithm used to solve the Navier-Stokes system

cs_timer_counter_t timer
 

Detailed Description

Context related to CDO face-based discretization when dealing with Navier-Stokes equations and vector-valued face unknowns.

Member Function Documentation

◆ get_mass_flux()

cs_real_t * get_mass_flux ( bool  previous) const
inline

Retrieve the mass flux array related to the Navier-Stokes system.

Parameters
[in]previousif true return the previous state otherwise the current state.
Returns
a pointer to an array of cs_real_t

Member Data Documentation

◆ adv_field

adv_field

Pointer to the cs_adv_field_t related to the Navier-Stokes eqs (Shared)

◆ apply_fixed_wall

apply_fixed_wall

cs_cdo_apply_boundary_t function pointer defining how to apply a wall boundary (no slip boundary)

◆ apply_sliding_wall

apply_sliding_wall

cs_cdo_apply_boundary_t function pointer defining how to apply a wall boundary (a tangential velocity is specified at the wall)

◆ apply_symmetry

apply_symmetry

cs_cdo_apply_boundary_t function pointer defining how to apply a symmetry boundary

◆ apply_velocity_inlet

apply_velocity_inlet

cs_cdo_apply_boundary_t function pointer defining how to apply a boundary with a fixed velocity at the inlet

◆ bf_type

bf_type

Array of boundary type for each boundary face. (Shared)

◆ divergence

divergence

Pointer to cs_real_t containing the values of the divergence on the cells

◆ mass_flux_array

mass_flux_array

Current values of the mass flux at primal faces (Shared)

◆ mass_flux_array_pre

mass_flux_array_pre

Previous values of the mass flux at primal faces (Shared)

◆ pressure

pressure

Pointer to cs_field_t (owned by cs_navsto_system_t) containing the cell DoFs of the pressure

◆ pressure_bc

pressure_bc

Structure storing the metadata after processing the user-defined boundary conditions related to the pressure field

◆ pressure_rescaling

int pressure_rescaling

Array of boundary type for each boundary face. (Shared)

◆ timer

timer

Cumulated elapsed time for building and solving the Navier–Stokes system

◆ velocity

velocity

Pointer to cs_field_t (owned by cs_navsto_system_t) containing the cell DoFs of the velocity


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