#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... | |
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.
[in] | iterns | index of the iteration on Navier-Stokes |
[in] | icvrge | convergence indicator |
[in] | itrale | number of the current ALE iteration |
[in] | isostd | indicator of standard outlet
|
[in] | ckupdc | head loss coefficients, if present |
[in,out] | trava | work array for velocity-pressure coupling |
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.
[in] | m | pointer to mesh structure |
[in] | mq | pointer to mesh quantities structure |
[in] | fp | pointer to fluid properties structure |
[in] | gxyz | gravity |