Page 1 of 1

dispersion of a pollutant in an urban environment

Posted: Thu Jul 05, 2018 12:17 pm
by OUKALI
Dear Administrators,

Since recently, I am a new user of Code_Saturne and need your support in the specific case of the Atmospheric module.

Indeed, I tried to simulate the dispersion of a pollutant in an urban environment, and I have encountered some difficulties.

Firstable, this concerns in particular the source term:

- Can I only use the GUI in order to add a point source in the "volume condition" field?

- I also use this file "cs_user_term_source.f90" (see attachment) and it is working well for the version 4.0, but now I use the version 5.0 and when I adapt it to my physical case, outliers results are noted. So, how can I adapt this file to the last version of Code_Saturne?

Secondly, it's about the mesh, in particular the criteria 2 (decentrement): there are only 1% of the meshes which are defective, is this a major problem?


In advance I thank you for your help!

Re: dispersion of a pollutant in an urban environment

Posted: Thu Jul 05, 2018 3:44 pm
by Yvan Fournier
Hello,

For the quality criteria, the most important aspect is not only how many cells are of bad quality but the worst value of the criteria.

For the issues with version 5.0, could you run you case on a debug build (which adds additional checks during exection, though it is about 3x soler).

Regards,

Yvan