#include "cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_array.h"
#include "cs_balance.h"
#include "cs_blas.h"
#include "cs_convection_diffusion.h"
#include "cs_equation.h"
#include "cs_equation_iterative_solve.h"
#include "cs_face_viscosity.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_pointer.h"
#include "cs_field_operator.h"
#include "cs_gradient.h"
#include "cs_lagr.h"
#include "cs_log.h"
#include "cs_log_iteration.h"
#include "cs_mass_source_terms.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_prototypes.h"
#include "cs_rotation.h"
#include "cs_thermal_model.h"
#include "cs_time_step.h"
#include "cs_turbulence_model.h"
#include "cs_turbulence_rotation.h"
#include "cs_velocity_pressure.h"
#include "cs_at_data_assim.h"
#include "cs_atprke.h"
#include "cs_turbulence_ke.h"
Functions | |
void | cs_turbulence_ke (cs_lnum_t ncesmp, cs_lnum_t icetsm[], int itypsm[], const cs_real_t dt[], cs_real_t smacel[], cs_real_t *prdv2f) |
Solve the k-epsilon equations. More... | |
void | cs_turbulence_ke_clip (cs_lnum_t n_cells, int iclip) |
Clipping of the turbulent kinetic energy and turbulent dissipation. More... | |
void | cs_turbulence_ke_q_mu_t (void) |
Calculation of turbulent viscosity for the non-linear quadratic K-epsilon from Baglietto et al. (2005) More... | |
void | cs_turbulence_ke_q (cs_real_6_t rij[]) |
Calculation of non linear terms of the quadratic k-epsilon model (Baglietto et al.) More... | |
Solve the for incompressible flows or slightly compressible flows for one time step.
void cs_turbulence_ke | ( | cs_lnum_t | ncesmp, |
cs_lnum_t | icetsm[], | ||
int | itypsm[], | ||
const cs_real_t | dt[], | ||
cs_real_t | smacel[], | ||
cs_real_t * | prdv2f | ||
) |
Solve the k-epsilon equations.
Solve the for incompressible flows or slightly compressible flows for one time step.
[in] | ncesmp | number of cells with mass source term |
[in] | icetsm | index of cells with mass source term |
[in] | itypsm | mass source type for the variables size: [nvar][ncesmp] |
[in] | dt | time step (per cell) |
[in] | smacel | values of the variables associated to the mass source (for the pressure variable, smacel is the mass flux) size: [nvar][ncesmp] |
[out] | prdv2f | v2f production term |
void cs_turbulence_ke_clip | ( | cs_lnum_t | n_cells, |
int | iclip | ||
) |
Clipping of the turbulent kinetic energy and turbulent dissipation.
[in] | n_cells | number of cells |
[in] | iclip | indicator = 0 if viscl0 is used otherwise viscl is used. |
void cs_turbulence_ke_q | ( | cs_real_6_t | rij[] | ) |
Calculation of non linear terms of the quadratic k-epsilon model (Baglietto et al.)
[out] | rij | non linear terms of quadratic Boussinesq approximation |
void cs_turbulence_ke_q_mu_t | ( | void | ) |
Calculation of turbulent viscosity for the non-linear quadratic K-epsilon from Baglietto et al. (2005)