My Project
programmer's documentation
|
Generation of synthetic turbulence at LES inlets initialization. More...
Functions/Subroutines | |
subroutine | cs_user_les_inflow_init (nent) |
subroutine | cs_user_les_inflow_define (nument, typent, nelent, iverbo, nfbent, lfbent, vitent, enrent, dspent) |
Definition of the characteristics of the synthetic turbulence inlet nument . More... | |
subroutine | cs_user_les_inflow_advanced (nument, nfbent, nvar, nscal, lfbent, dt, uvwent, rijent, epsent) |
Generation of synthetic turbulence at LES inlets advanced mode. More... | |
Generation of synthetic turbulence at LES inlets initialization.
See Generation of synthetic turbulence at LES inlets for examples.
nent
and isuisy
might be defined.
nent
= Number of inlets isuisy
= 1: Reading of the LES inflow module restart file = 0: not activated (synthetic turbulence reinitialized)
subroutine cs_user_les_inflow_advanced | ( | integer | nument, |
integer | nfbent, | ||
integer | nvar, | ||
integer | nscal, | ||
integer, dimension(nfbent) | lfbent, | ||
double precision, dimension(ncelet) | dt, | ||
double precision, dimension(ndim,nfbent) | uvwent, | ||
double precision, dimension(6,nfbent) | rijent, | ||
double precision, dimension(nfbent) | epsent | ||
) |
Generation of synthetic turbulence at LES inlets advanced mode.
Accurate definition of mean velocity, Reynolds stresses and dissipation rate for each boundary face of the synthetic turbulence inlet nument
rijent
components are ordonned as follows: 11, 22, 33, 12, 13, 23
Arrays are initialized before this subroutine is called by (see the user subroutine Caracteristics of one specific inlet):
[in] | nument | id of the inlet |
[in] | nfbent | numb. of bound. faces of the inlet |
[in] | nvar | number of variables |
[in] | nscal | number of scalars |
[in] | lfbent | list of bound. faces of the inlet |
[in] | dt | time step |
[out] | uvwent | mean velocity at the inlet faces |
[out] | rijent | turb. kin. ener. at the inlet faces |
[out] | epsent | turb. dissipation at the inlet faces |
subroutine cs_user_les_inflow_define | ( | integer | nument, |
integer | typent, | ||
integer | nelent, | ||
integer | iverbo, | ||
integer | nfbent, | ||
integer, dimension(nfabor) | lfbent, | ||
double precision, dimension(3) | vitent, | ||
double precision | enrent, | ||
double precision | dspent | ||
) |
Definition of the characteristics of the synthetic turbulence inlet nument
.
For each LES inlet, the following parameters might be defined:
dspent : reference dissipation rate
[in] | nument | id of the inlet |
[out] | typent | type of inflow method at the inlet |
[out] | nelent | numb. of entities of the inflow meth |
[out] | iverbo | verbosity level |
[out] | nfbent | numb. of bound. faces of the inlet |
[out] | lfbent | list of bound. faces of the inlet |
[out] | vitent | ref. mean velocity at the inlet |
[out] | enrent | ref. turb. kin. ener. at the inlet |
[out] | dspent | ref. turb. dissipation at the inlet |
subroutine cs_user_les_inflow_init | ( | integer | nent | ) |
[out] | nent | number of synthetic turbulence inlets |