Dear support and users,
I have a simple question. I try to run a calculation without GUI. In which subroutine relaxp and relaxv should be placed? When I place them in usini1.f90 file I cannot compile the case since these two are not recognized.
Best regards and thank you in advance.
Norbert
Relaxation coefficients for pressure and turbulent variables.
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: Relaxation coefficients for pressure and turbulent variables.
I previously had a similar problem - relaxp is in the manual but not recognised by the code (I think it's an internal variable that has been misinterpreted into the user guide). To change the relaxation you can type in usipsu of usini1 for each variable:
relaxv(ivar(iphas)) = ##
James
relaxv(ivar(iphas)) = ##
James
Re: Relaxation coefficients for pressure and turbulent variables.
Thanks a lot James. I have tried that but not in usipsu procedure. Should work now.
Re: Relaxation coefficients for pressure and turbulent variables.
Actually, relaxp is an old variable corresponding now to relaxv(ipr(1)). So James is right in advising you to use relaxv! I thought it was correct in the user manual whereas it isn't... will fix that later.
Quick comment also, such variables should "always" (actually not, but most of them should!) be set up in usipsu as this corresponds to the acronym (in French) of USer Initialization for additional Parameters (additional == "SUpplémentaire" in French).
David
Quick comment also, such variables should "always" (actually not, but most of them should!) be set up in usipsu as this corresponds to the acronym (in French) of USer Initialization for additional Parameters (additional == "SUpplémentaire" in French).
David