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
Temperature convention for coupling with SYRTHES
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: Temperature convention for coupling with SYRTHES
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,
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,