dispersion of a pollutant in an urban environment

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
OUKALI
Posts: 3
Joined: Wed Jun 27, 2018 3:18 pm

dispersion of a pollutant in an urban environment

Post 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!
Attachments
Capture du 2018-07-04 16-07-42.png
Domain.png
cs_user_source_terms.f90
(15.3 KiB) Downloaded 187 times
Yvan Fournier
Posts: 4251
Joined: Mon Feb 20, 2012 3:25 pm

Re: dispersion of a pollutant in an urban environment

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