![]() |
programmer's documentation
|
Generation of synthetic turbulence at LES inlets. 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 caracteristics of the synthetic turbulence inlet nument . More... | |
subroutine | cs_user_les_inflow_advanced (nument, nfbent, nvar, nscal, lfbent, dt, rtpa, rtp, propce, uvwent, rijent, epsent) |
Generation of synthetic turbulence at LES inlets advanced mode. More... | |
Generation of synthetic turbulence at LES inlets.
Generation of synthetic turbulence at LES inlets initialization
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(ncelet,*) | rtpa, | ||
double precision, dimension(ncelet,*) | rtp, | ||
double precision, dimension(ncelet,*) | propce, | ||
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 |
[in] | rtpa | variables at cells (previous) |
[in] | rtp | variables at cells |
[in] | propce | physical properties at cells |
[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 caracteristics of the synthetic turbulence inlet nument
.
For each LES inlet, the following parameters might be defined:
Data relatve to the method employed
typent indicates the synthetic turbulence method:
nelent indicates the number of "entities" relative to the method (usefull only for the Batten method and the SEM):
iverbo indicates the verbosity level (listing)
Data relative to the LES inflow boundary faces
Data relative to the flow
[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 |