A small printing bug in setup.log for the VOF interface compression parameters

Bonjour,

I found a small printing bug in setup.log for the VOF interface compression parameters: the values of kdrift and cdrift are printed in reverse order.

In cs_vof.cpp,

cs_log_printf
(CS_LOG_SETUP,
_(“\n”
" Fluid 1:\n"
" ro1: %14.5e (Reference density)\n"
" mu1: %14.5e (Ref. molecular dyn. visc.)\n"
" Fluid 2:\n"
" rho2: %14.5e (Reference density)\n"
" mu2: %14.5e (Ref. molecular dyn. visc.)\n"
" Surface tension:\n"
" sigma: %14.5e (surface tension)\n"
" Drift velocity:\n"
" idrift: %10d (0: disabled; > 0: enabled)\n"
" kdrift %14.5e (Diffusion effect coeff.)\n"
" cdrift %14.5e (Diffusion flux coeff.)\n"),

vp->rho1, vp->mu1, vp->rho2, vp->mu2, vp->sigma_s,
vp->idrift, vp->cdrift, vp->kdrift);

Best regards,
Wenhao

Hello,

Thanks for the feedback. This is now fixed in the master branch, an I’ll fix it in v9.0 also if it appears there also.

Best regards,

Yvan