Temperature convention for coupling with SYRTHES

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Thomas Aumeier

Temperature convention for coupling with SYRTHES

Post 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
Yvan Fournier

Re: Temperature convention for coupling with SYRTHES

Post 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,
Post Reply