8.3
general documentation
cs_solve_navier_stokes.cpp File Reference
#include "cs_defs.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_ale.h"
#include "cs_array.h"
#include "cs_assert.h"
#include "cs_atmo.h"
#include "cs_at_data_assim.h"
#include "cs_bad_cells_regularisation.h"
#include "cs_base_accel.h"
#include "cs_balance.h"
#include "cs_blas.h"
#include "cs_boundary_conditions.h"
#include "cs_boundary_conditions_set_coeffs.h"
#include "cs_bw_time_diff.h"
#include "cs_cf_boundary_conditions.h"
#include "cs_cf_compute.h"
#include "cs_convection_diffusion.h"
#include "cs_ctwr.h"
#include "cs_ctwr_source_terms.h"
#include "cs_dispatch.h"
#include "cs_divergence.h"
#include "cs_drift_convective_flux.h"
#include "cs_equation_iterative_solve.h"
#include "cs_equation_param.h"
#include "cs_face_viscosity.h"
#include "cs_fan.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_operator.h"
#include "cs_field_pointer.h"
#include "cs_gui.h"
#include "cs_gradient.h"
#include "cs_head_losses.h"
#include "cs_lagr.h"
#include "cs_lagr_head_losses.h"
#include "cs_mass_source_terms.h"
#include "cs_math.h"
#include "cs_matrix_building.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_porous_model.h"
#include "cs_pressure_correction.h"
#include "cs_prototypes.h"
#include "cs_rotation.h"
#include "cs_sat_coupling.h"
#include "cs_sles_default.h"
#include "cs_thermal_model.h"
#include "cs_turbulence_ke.h"
#include "cs_turbomachinery.h"
#include "cs_turbulence_model.h"
#include "cs_velocity_pressure.h"
#include "cs_vof.h"
#include "cs_volume_mass_injection.h"
#include "cs_wall_condensation.h"
#include "cs_wall_functions.h"
#include "cs_solve_navier_stokes.h"

Functions

void cs_solve_navier_stokes_update_total_pressure (const cs_mesh_t *m, const cs_mesh_quantities_t *mq, const cs_fluid_properties_t *fp, const cs_real_t gxyz[3])
 Update total pressure (defined as a post-processed property). More...
 
void cs_solve_navier_stokes (const int iterns, int *icvrge, const int itrale, const int isostd[], const cs_real_t ckupdc[][6], cs_real_3_t *trava)
 Solve Navier-Stokes equations for incompressible or slightly compressible flows for one time step. Both convection-diffusion and continuity steps are performed. More...
 

Function Documentation

◆ cs_solve_navier_stokes()

void cs_solve_navier_stokes ( const int  iterns,
int *  icvrge,
const int  itrale,
const int  isostd[],
const cs_real_t  ckupdc[][6],
cs_real_3_t trava 
)

Solve Navier-Stokes equations for incompressible or slightly compressible flows for one time step. Both convection-diffusion and continuity steps are performed.

Parameters
[in]iternsindex of the iteration on Navier-Stokes
[in]icvrgeconvergence indicator
[in]itralenumber of the current ALE iteration
[in]isostdindicator of standard outlet
  • index of the reference face
[in]ckupdchead loss coefficients, if present
[in,out]travawork array for velocity-pressure coupling

◆ cs_solve_navier_stokes_update_total_pressure()

void cs_solve_navier_stokes_update_total_pressure ( const cs_mesh_t m,
const cs_mesh_quantities_t mq,
const cs_fluid_properties_t fp,
const cs_real_t  gxyz[3] 
)

Update total pressure (defined as a post-processed property).

For the compressible module, the solved pressure is already the total pressure.

Note: for Eddy Viscosity Models, the TKE may be included in the solved pressure.

Parameters
[in]mpointer to mesh structure
[in]mqpointer to mesh quantities structure
[in]fppointer to fluid properties structure
[in]gxyzgravity