7.1
general documentation
cs_turbulence_sa.c File Reference
#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_domain.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_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_time_step.h"
#include "cs_turbulence_model.h"
#include "cs_turbulence_rotation.h"
#include "cs_turbulence_sa.h"
+ Include dependency graph for cs_turbulence_sa.c:

Functions

void cs_turbulence_sa (cs_lnum_t ncesmp, cs_lnum_t icetsm[], int itypsm[], const cs_real_t dt[], cs_real_t smacel[], const int b_face_type[])
 Solve the {} equations. More...
 

Detailed Description

Solving op the equation of $ \tilde{\nu} $, which is the scalar quantity defined by the Spalart-Allmaras model for 1 time-step.

Function Documentation

◆ cs_turbulence_sa()

void cs_turbulence_sa ( cs_lnum_t  ncesmp,
cs_lnum_t  icetsm[],
int  itypsm[],
const cs_real_t  dt[],
cs_real_t  smacel[],
const int  b_face_type[] 
)

Solve the {} equations.

Solve the equation of $ \tilde{\nu} $, which is the scalar quantity defined by the Spalart-Allmaras model for one time-step.

Parameters
[in]ncesmpnumber of cells with mass source term
[in]icetsmindex of cells with mass source term
[in]itypsmmass source type for the variables size: [nvar][ncesmp]
[in]dttime step (per cell)
[in]smacelvalues of the variables associated to the mass source (for the pressure variable, smacel is the mass flux) size: [nvar][ncesmp]
[in]b_face_typeboundary face types

omega² = vort and the trace of the velocity gradient = tr_gr_u are available The explicit part is stored in st_exp The implicit part is stored in st_imp !