Page 1 of 1

compressible module: ISCALT

Posted: Fri Jan 04, 2013 9:58 pm
by alberich
Hello,
I am playing around with the compressible module using the GUI as far as possible, where I chose the option "perfect gas with constant gamma".
When starting the calculation, the solver stops indicating that uscfx2 was not defined. Thus I copied cs_user_parameters.f90 to the /SRC directory only leaving the uscfx2 subroutine. In the uscfx2 subroutine I assigned ivisls(itempk) = 0, visls0(itempk) = 0.15d0, iviscv = 0 and viscv0 = 1.99d-5.
When restarting the calculation, the solver stops stating
@ @@ ATTENTION : ARRET A L'ENTREE DES DONNEES
@ =========
@ PHYSIQUE PARTICULIERE (COMPRESSIBLE) DEMANDEE
@
@ La valeur de ISCALT est renseignee automatiquement.
@
@ L'utilisateur ne doit pas la renseigner, or
@ elle a ete affectee comme suit :
@ ISCALT = 1
@
@ Le calcul ne sera pas execute.
@
@ Verifier les parametres.

However, I didn't find any file in the whole project, where ISCALT was set to 1 ...
I tried also to add additionally the subroutine usppmo, in vain.
Any hint where starting to look for the error?
al

Re: compressible module: ISCALT

Posted: Sat Jan 05, 2013 6:47 pm
by Yvan Fournier
Hello,

Could you remind us which version are you using ?

The compressible model works in versions 2.0.x and the latest 3.0-beta, but is broken in intermediate versions 2.1-2.3.

For the compressible model, you must not define a thermal model, whether using the GUI or usipsc. The compressible model defines it automatically.

Regards,

Yvan

Re: compressible module: ISCALT

Posted: Sat Jan 05, 2013 7:47 pm
by alberich
Hello,
I'm using version 3.0.0.-betaR4215. A thermal model is not selectable in the GUI when selecting the compressible module. I didn't define one via usipsc either.
al

Re: compressible module: ISCALT

Posted: Sun Jan 06, 2013 12:58 am
by Yvan Fournier
Hello,

Could you post your setup (XML file and user subroutines) for us to reproduce/understand/debug this. We don't need your mesh, since the error appears before selecting mesh areas.

Regards,

Yvan

Re: compressible module: ISCALT

Posted: Wed Jan 09, 2013 8:52 pm
by alberich
Hello,
I continued playing around and I can't reproduce the error anymore. Since I did delete all the history, I can't post an relevant xml, anymore. I try my best to get again this error.
al

Re: compressible module: ISCALT

Posted: Sat Jan 12, 2013 7:43 am
by alberich
Hello,
I can now reproduce the error.
If you start a new study from scratch and do a first calculation with Calculation features -> Compressible model = OFF, you can set Thermal model -> Thermal scalar. If you do so and you subsequently change the Calculation features -> Compressible model = Perfect gas with constant gamma, the possibility to set Thermal model -> Thermal scalar disappears. However the calculation stops with said ISCALT error.

When going back to Calculation features -> Compressible model = OFF, then setting Thermal model -> Thermal scalar =No thermal scalar and then switching on the compressible model again, the error disappears.

al