Page 1 of 1

Potantial bug with Code_Saturme v8 (atmospheric dispersion in case of imbrication)

Posted: Mon Jun 24, 2024 5:12 pm
by Julien.Commanay
Dear Support team,

I think there is a bug when using atmospheric module of Code_Saturne v8 in case of imbrication with several meteo files.

It seems that Ux interpolated by Cressman on lateral faces is always 0, while values are correct for other fields (Uy, TKE, Eps, ...). I made sure that meteo profiles used for Cresman interpolation are read properly and then I put in place a workaround (maybe not the smartest way to fix the bug) in atimbr.fr to solve this issue. Feel free to ask in case you need additionnal information about this topic (my case is too big to be uploaded there and standard log is not really helpful (I had to add additionnal and very verbose printings to understand what happen).

Kind regards

JCo

Re: Potantial bug with Code_Saturme v8 (atmospheric dispersion in case of imbrication)

Posted: Tue Jun 25, 2024 9:28 am
by Martin FERRAND
Hello,
Thank you for the report. We recently simplified the use of Cressman in boundary conditions. Could you share with us the way you fix atimbr.f90 ?
Do you have the problem only with multiple méteo profiles or already with one ?

Best regards

Re: Potantial bug with Code_Saturme v8 (atmospheric dispersion in case of imbrication)

Posted: Tue Jun 25, 2024 10:56 am
by Julien.Commanay
Hello Martin,

I'll send you the modified routine and set of meteo files by email.

I tested with one and several meteo file and the problem only occur with several meteo (linked to Cresman imbrication, you'll see where I adapted the code).

KR

JCo