Page 1 of 1

Temperature convention for coupling with SYRTHES

Posted: Fri Mar 26, 2010 2:26 pm
by Thomas Aumeier
Hi,
if I couple CS with SYRTHES, do I have to use Degree Celsius for the temperature? I ask because Syrthes deals with Degree Celsius for the temperature and I can't find any position in the code, where a transformation from Kelvin to Celsius neither in CS nor in SYRTHES is done.
Best regards
Thomas Aumeier

Re: Temperature convention for coupling with SYRTHES

Posted: Fri Mar 26, 2010 4:20 pm
by Yvan Fournier
Hello,
It does indeed seem that you need to be consistent between the 2 codes. There is a temperature/enthalpy conversion in Code_Saturne in src/base/coupbi.f90 for the compressible model, but I do not see a Celcius/Kelvin conversion.
If you need such a conversion, it should be easy to add by modifying src/base/coupbi.f90 (wall temperature received from SYRTHES), and coupbo.f90 (fluid temperature and exchange coefficient sent to SYRTHES). You may simply add those files to your user subroutines and modify the "user" copies.
Best regards,