1 #ifndef __CS_PRESSURE_CORRECTION_H__
2 #define __CS_PRESSURE_CORRECTION_H__
#define restrict
Definition: cs_defs.h:139
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
#define END_C_DECLS
Definition: cs_defs.h:515
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:313
unsigned short int cs_flag_t
Definition: cs_defs.h:321
@ vel
Definition: cs_field_pointer.h:68
void cs_pressure_correction_cdo_activate(void)
Activate the pressure increment solving with CDO.
Definition: cs_pressure_correction.c:3397
void cs_pressure_correction_cdo_destroy_all(void)
Free the main structure related to the pressure correction.
Definition: cs_pressure_correction.c:3631
bool cs_pressure_correction_cdo_is_activated(void)
Test if pressure solving with CDO is activated.
Definition: cs_pressure_correction.c:3476
void cs_pressure_correction(int iterns, cs_lnum_t nfbpcd, cs_lnum_t ncmast, cs_lnum_t ifbpcd[], cs_lnum_t ltmast[], const int isostd[], cs_real_t vel[restrict][3], cs_real_t da_uu[restrict][6], cs_real_t coefav[restrict][3], cs_real_t coefbv[restrict][3][3], cs_real_t coefa_dp[restrict], cs_real_t coefb_dp[restrict], cs_real_t spcond[restrict], cs_real_t svcond[restrict], cs_real_t frcxt[restrict][3], cs_real_t dfrcxt[restrict][3], cs_real_t i_visc[restrict], cs_real_t b_visc[restrict])
Perform the pressure correction step of the Navier-Stokes equations for incompressible or slightly co...
Definition: cs_pressure_correction.c:3709
void cs_pressure_correction_fv_activate(void)
Activate the pressure increment solving with Legacy FV.
Definition: cs_pressure_correction.c:3371
void cs_pressure_correction_cdo_init_setup(void)
Start setting-up the pressure increment equation At this stage, numerical settings should be complete...
Definition: cs_pressure_correction.c:3493
void cs_pressure_correction_cdo_finalize_setup(const cs_domain_t *domain)
Finalize setting-up the pressure increment equation At this stage, numerical settings should be compl...
Definition: cs_pressure_correction.c:3559
void cs_pressure_correction_model_activate(void)
Activate the pressure increment, either FV or CDO.
Definition: cs_pressure_correction.c:3456
integer(c_int), pointer, save ncmast
number of the cells in which a condensation source terms is imposed. See lstmast list and the subrout...
Definition: cs_nz_condensation.f90:167
double precision, dimension(:, :), pointer, save svcond
value of the condensation source terms for pressure associated to the metal structures modelling....
Definition: cs_nz_condensation.f90:195
integer, dimension(:), pointer, save ltmast
list on the ncmast cells in which a condensation source terms is imposed. See the user subroutine cs_...
Definition: cs_nz_condensation.f90:179
integer(c_int), pointer, save nfbpcd
number of faces in which a condensation source terms is imposed. See ifbpcd and the user subroutine c...
Definition: cs_nz_condensation.f90:55
double precision, dimension(:,:), pointer, save spcond
value of the condensation source terms for pressure. For the other variables, eventual imposed specif...
Definition: cs_nz_condensation.f90:83
integer, dimension(:), pointer, save ifbpcd
list on the nfbpcd faces in which a condensation source terms is imposed. See ifbpcd and the user sub...
Definition: cs_nz_condensation.f90:96
Structure storing the main features of the computational domain and pointers to the main geometrical ...
Definition: cs_domain.h:138
Main structure to handle the discretization and the resolution of an equation.
Field descriptor.
Definition: cs_field.h:131
Definition: cs_pressure_correction.h:46
cs_flag_t post_flag
Definition: cs_pressure_correction.h:86
cs_equation_t * pressure_incr
Definition: cs_pressure_correction.h:51
cs_field_t * pressure_incr_gradient
Definition: cs_pressure_correction.h:57
cs_real_t * bdy_pressure_incr
Definition: cs_pressure_correction.h:84
cs_field_t * pressure_gradient
Definition: cs_pressure_correction.h:62
cs_real_t * div_st
Definition: cs_pressure_correction.h:68
cs_real_t * inner_potential_flux
Definition: cs_pressure_correction.h:73
cs_real_t * bdy_potential_flux
Definition: cs_pressure_correction.h:78