hystrath / hyStrath

Hypersonic / Rarefied gas dynamics code developments (GPL-3.0)
https://hystrath.github.io/
GNU General Public License v3.0
219 stars 109 forks source link

data files not being written during parallel run #119

Open gargtarang opened 1 year ago

gargtarang commented 1 year ago

Hi, I am running my case in parallel. My domain remains empty at initial startup t=0. As I run the case in parallel from startup, the program hangs during data writing. But, if I run the case serially for 1st writeInterval and then decompose (using weightField dsmcNMean_Yb) to run parallely, it runs and write the data as well. The program runs fine in serial case. I have attached the case file linearSource.zip

ccpalaci commented 1 year ago

I have also faced this issue when species transport is enabled. Is there any update or suggestion?

vincentcasseau commented 1 year ago

What do you mean by "species transport is enabled" in the context of a DSMC simulation?

ccpalaci commented 1 year ago

I mean CFD simulation (hy2Foam), by modifying the' multiSpeciesTransport' entry from noSpeciesDiffusion to LewisNumber.

Edit: species residuals seems to 'nan' and solver crashes.

vincentcasseau commented 1 year ago

The two crashes can't be related. This issue is about an edge case of the DSMC solver involving the size of an IDLList when the following conditions are met:

Please open a new issue and describe your set-up. Did you stage your simulation as advised: https://hystrath.github.io/tutos-hy2foam/#5-running-your-own-case

ccpalaci commented 1 year ago

Sorry for the mistake, thanks for the explanation.

gargtarang commented 1 year ago

I want to add in this.. The problem of parallel data writing in first time step is not faced while running dsmcFoamPlus from MNF version.

Thanks