Closed paspro closed 5 years ago
Yes, this seems to be a bug. this function is not used in compressible cases in the validation suite, and the compressible model is less widely used, so this may have been undetected for some time.
Thanks for the report.
Fixed in master, v5.2, v5.1, and v5.0 branches.
I believe that the call of subroutine
ustsnv
in line 225 of filesrc/cfbl/cfmsfp.f90
! --- User source term
call ustsnv &
!==========
( nvar , nscal , ncepdp , ncesmp , &
iu , &
icepdc , icetsm , itypsm , &
dt , &
ckupdc , smacel , tsimp , tsexp )
is wrong because the two last arguments should be reversed as
! --- User source term
call ustsnv &
!==========
( nvar , nscal , ncepdp , ncesmp , &
iu , &
icepdc , icetsm , itypsm , &
dt , &
ckupdc , smacel , tsexp , tsimp )