559 const double *gravity_x,
560 const double *gravity_y,
561 const double *gravity_z);
void uiphyv(const cs_int_t *ncel, const cs_int_t *ncelet, const cs_int_t *icp, const cs_int_t *irovar, const cs_int_t *ivivar, const cs_int_t *iviscv, const cs_int_t *itempk, const cs_real_t *p0, const cs_real_t *t0, const cs_real_t *ro0, const cs_real_t *cp0, const cs_real_t *viscl0, const cs_real_t *visls0, const cs_real_t *viscv0)
Definition: cs_gui.c:4619
real(c_double), pointer, save gy
Definition: cstphy.f90:65
void cs_gui_reference_initialization(const char *param, double *value)
Definition: cs_gui.c:5730
double precision, save viscv0
reference volume viscosity (noted in the equation expressing in the paragraph dedicated to iviscv) ...
Definition: ppincl.f90:728
void uiporo(const int *ncelet, const int *iporos)
Definition: cs_gui.c:3269
integer, save ncel
Definition: mesh.f90:50
#define restrict
Definition: cs_defs.h:122
void cs_gui_user_variables(void)
Definition: cs_gui.c:5634
void uiipsu(int *iporos)
Definition: cs_gui.c:3217
integer(c_int), pointer, save ivisse
take into account in the momentum equation
Definition: optcal.f90:668
void uikpdc(const int *iappel, const int *ncelet, int *ncepdp, int icepdc[], double ckupdc[])
integer(c_int), pointer, save iphydr
improve hydrostatic pressure algorithm
Definition: optcal.f90:735
integer, save icp
specific heat
Definition: numvar.f90:193
void csturb(int *iturb, int *ideuch, int *igrake, int *igrari, double *xlomlg)
Definition: cs_gui.c:2243
void uiprof(const int *ncelet, const int *ncel, const int *ntmabs, const int *ntcabs, const double *ttcabs, const double *ttmabs, const double *ttpabs, const double *xyzcen)
Definition: cs_gui.c:4893
integer, save iporos
take the porosity fomulation into account
Definition: optcal.f90:843
void cscfgp(int *icfgrp)
Definition: cs_gui.c:2584
real(c_double), pointer, save dtref
reference time step
Definition: optcal.f90:440
void csisui(int *ntsuit, int *ileaux, int *iccvfg)
Definition: cs_gui.c:2617
integer(c_int), pointer, save ntmabs
Maximum absolute time step number.
Definition: optcal.f90:401
void cs_gui_clean_memory(void)
Definition: cs_gui.c:6324
void cssca3(double *visls0, double *t0, double *p0, double *cp0)
Definition: cs_gui.c:3096
integer, save ntsuit
saving period of the restart filesy5
Definition: entsor.f90:78
real(c_double), pointer, save ttpabs
Absolute time value for previous calculation.
Definition: optcal.f90:407
real(c_double), pointer, save uref
the characteristic flow velocity, used for the initialization of the turbulence. Negative value: not ...
Definition: cstphy.f90:521
integer, dimension(:), allocatable icepdc
number of the ncepdc cells in which a pressure drop is imposed. See {iicepd} and the user subroutine ...
Definition: pointe.f90:262
#define BEGIN_C_DECLS
Definition: cs_defs.h:419
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:295
void cs_gui_turbomachinery(void)
Definition: cs_gui.c:5858
void cs_gui_parallel_io(void)
Definition: cs_gui.c:6151
integer idarcy
pointer to specify richards model
Definition: ppincl.f90:243
integer(c_int), pointer, save idtvar
option for a variable time step
Definition: optcal.f90:437
real(c_double), pointer, save gz
Definition: cstphy.f90:65
void csphys(const int *nmodpp, int *irovar, int *ivivar, int *icorio, double *gx, double *gy, double *gz, double *ro0, double *viscl0, double *viscv0, double *visls0, double *cp0, double *t0, double *p0, double *xmasmr, int *itempk)
Definition: cs_gui.c:2861
int cs_gui_thermal_model(void)
Definition: cs_gui.c:5597
void uinum1(double *blencv, int *ischcv, int *isstpc, int *ircflu, double *cdtvar, double *epsilo, int *nswrsm)
Definition: cs_gui.c:2733
real(c_double), pointer, save foumax
maximum Fourier number (when idtvar is different from 0)
Definition: optcal.f90:449
integer, dimension(nvarmx), save ischcv
type of convective scheme
Definition: optcal.f90:252
integer, dimension(nvarmx), save isstpc
switch off the slope test:
Definition: optcal.f90:257
integer, save ivivar
variable viscosity field :
Definition: optcal.f90:86
void csnum2(int *ivisse, double *relaxp, int *ipucou, double *extrag, int *imrgra, int *nterup)
Definition: cs_gui.c:2831
real(c_double), pointer, save xmasmr
molar mass of the perfect gas in (if ieos=1)
Definition: cstphy.f90:181
integer(c_int), pointer, save igrake
buoyant term in
Definition: optcal.f90:578
real(c_double), pointer, save cp0
reference specific heat.
Definition: cstphy.f90:176
integer, save isuite
Definition: optcal.f90:381
void cs_gui_usage_log(void)
Definition: cs_gui.c:6353
real(c_double), pointer, save ttmabs
Maximum absolute time.
Definition: optcal.f90:414
integer, save ncelet
Definition: mesh.f90:46
void uiinit(void)
Definition: cs_gui.c:2169
integer, save ncharb
Number of coals.
Definition: cpincl.f90:49
void cs_gui_partition(void)
Definition: cs_gui.c:6004
integer(c_int), pointer, save nterup
number of interations on the pressure-velocity coupling on Navier-Stokes (for the PISO algorithm) ...
Definition: optcal.f90:112
real(c_double), pointer, save ttcabs
Current absolute time. In case of restart, this is equal to ttpabs + additional computed time...
Definition: optcal.f90:411
void cs_gui_turbomachinery_rotor(void)
Definition: cs_gui.c:5893
real(c_double), pointer, save dtmin
minimum value of dt (when idtvar is different from 0). Take dtmin = min (ld/ud, sqrt(lt/(gdelta rho/r...
Definition: optcal.f90:456
double precision, dimension(:,:), pointer xyzcen
Definition: mesh.f90:114
double precision, dimension(nvarmx), save blencv
percentage of upwind:
Definition: optcal.f90:247
integer(c_int), pointer, save iccvfg
Definition: optcal.f90:699
real(c_double), pointer, save xlomlg
mixing length for the mixing length model
Definition: cstphy.f90:526
void csivis(void)
Definition: cs_gui.c:2441
integer(c_int), pointer, save itherm
thermal model
Definition: optcal.f90:490
void cscpva(int *icp)
Definition: cs_gui.c:2330
real(c_double), pointer, save p0
reference pressure for the total pressure. except with the compressible module, the total pressure i...
Definition: cstphy.f90:115
double precision, dimension(nscamx), save visls0
visls0 : viscosity of scalars if constant
Definition: optcal.f90:966
integer, save icfgrp
indicates if the boundary conditions should take into account (=1) or not (=0) the hydrostatic balanc...
Definition: ppincl.f90:768
integer(c_int), pointer, save iturb
Definition: optcal.f90:529
real(c_double), pointer, save dtmax
maximum value of dt (when idtvar is different from 0). Take dtmax = max (ld/ud, sqrt(lt/(gdelta rho/r...
Definition: optcal.f90:460
void csidtv(int *idtvar)
Definition: cs_gui.c:2516
integer(c_int), pointer, save itpscl
temperature scale
Definition: optcal.f90:496
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:161
integer, save irovar
variable density field :
Definition: optcal.f90:81
real(c_double), pointer, save gx
Gravity.
Definition: cstphy.f90:65
double precision, dimension(:,:), allocatable ckupdc
value of the coefficients of the pressure drop tensor of the ncepdc cells in which a pressure drop is...
Definition: pointe.f90:271
integer(c_int), pointer, save ipucou
Pseudo coupled pressure-velocity solver.
Definition: optcal.f90:693
void csiphy(int *iphydr)
Definition: cs_gui.c:2552
integer, save itempk
temperature deduced from the specific total energy
Definition: ppincl.f90:672
void uiiniv(const int *ncelet, const int *isuite, const int *idarcy, int *iccfth, const cs_real_t *ro0, const cs_real_t *cp0, const cs_real_t *viscl0, const cs_real_t *uref, const cs_real_t *almax, const double *xyzcen)
Definition: cs_gui.c:3799
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:307
integer(c_int), pointer, save icorio
Coriolis effects.
Definition: cstphy.f90:68
void cstime(int *inpdt0, int *iptlro, int *ntmabs, int *idtvar, double *dtref, double *dtmin, double *dtmax, double *coumax, double *foumax, double *varrdt, double *relxst)
Definition: cs_gui.c:2654
void uitssc(const int *f_id, const cs_real_t *restrict pvar, cs_real_t *restrict tsexp, cs_real_t *restrict tsimp)
Definition: cs_gui.c:3575
double precision, dimension(nvarmx), save cdtvar
multiplicator coefficient for the time step of each variable
Definition: optcal.f90:466
void cssca2(const int *iturb, int *iturt)
Definition: cs_gui.c:3016
void cs_gui_properties_value(const char *property_name, double *value)
Definition: cs_gui.c:5703
void cstini(double *uref, double *almax)
Definition: cs_gui.c:3182
real(c_double), pointer, save relxst
relaxation coefficient for the steady algorithm
Definition: optcal.f90:472
void uitsth(const int *f_id, const cs_real_t *restrict pvar, cs_real_t *restrict tsexp, cs_real_t *restrict tsimp)
Definition: cs_gui.c:3684
#define END_C_DECLS
Definition: cs_defs.h:420
integer, save ileaux
Definition: optcal.f90:381
double cs_real_t
Definition: cs_defs.h:296
integer(c_int), pointer, save ntcabs
Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterat...
Definition: optcal.f90:398
real(c_double), pointer, save varrdt
relative allowed variation of dt (when idtvar is different from 0)
Definition: optcal.f90:452
integer(c_int), pointer, save inpdt0
indicator "zero time step"
Definition: optcal.f90:425
void uidapp(const cs_int_t *permeability, const cs_int_t *diffusion, const cs_int_t *gravity, const double *gravity_x, const double *gravity_y, const double *gravity_z)
Definition: cs_gui.c:5188
void csther(int *itherm, int *itpscl)
Definition: cs_gui.c:2192
#define CS_PROCF(x, y)
Definition: cs_defs.h:433
real(c_double), pointer, save coumax
maximum Courant number (when idtvar is different from 0)
Definition: optcal.f90:443
void uitsnv(const cs_real_3_t *restrict vel, cs_real_3_t *restrict tsexp, cs_real_33_t *restrict tsimp)
Definition: cs_gui.c:3426
real(c_double), pointer, save ro0
reference density. Negative value: not initialized. Its value is not used in gas or coal combustion m...
Definition: cstphy.f90:99
void memui1(const int *ncharb)
Definition: cs_gui.c:5579
double precision, dimension(nvarmx), save epsilo
relative precision of the linear solver
Definition: optcal.f90:352
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:311
void csvvva(int *iviscv)
Definition: cs_gui.c:2354
real(c_double), pointer, save viscl0
reference molecular dynamic viscosity. Negative value: not initialized.
Definition: cstphy.f90:106
integer, dimension(nscamx), save iturt
turbulent flux model for for any scalar , iturt(isca)
Definition: optcal.f90:638
void uiscsc(void)
Definition: cs_gui.c:2415
void cs_gui_time_moments(void)
Definition: cs_gui.c:6243
integer, dimension(nvarmx), save nswrsm
max number of iteration for the iterative process used to solved the convection diffusion equations ...
Definition: optcal.f90:333
integer(c_int), pointer, save iptlro
Clip the time step with respect to the buoyant effects.
Definition: optcal.f90:430
real(c_double), pointer, save almax
is a characteristic macroscopic length of the domain, used for the initialization of the turbulence a...
Definition: cstphy.f90:512
integer(c_int), pointer, save igrari
buoyant term in
Definition: optcal.f90:583
integer, save iviscv
additional property:
Definition: ppincl.f90:696
double precision, dimension(nvarmx), save extrag
gradient extrapolation at the boundary
Definition: optcal.f90:301
void uithsc(void)
Definition: cs_gui.c:2376
integer(c_int), pointer, save imrgra
type of gradient reconstruction
Definition: optcal.f90:276
void cs_gui_linear_solvers(void)
Definition: cs_gui.c:5753
integer(c_int), pointer, save ideuch
Wall functions.
Definition: optcal.f90:553
integer, dimension(nvarmx), save ircflu
face flux reconstruction:
Definition: optcal.f90:317