Have only process 0 write data
Hi Foamers,
In my calculation using pisoFoam solver, I need to write a variable at each time step. This is done through adding the following line to pisoFoam solver: Code:
word patchName = "inlet"; The number of time steps is very huge! So many many files are generated. The problem is that when I decompose my case to run in parallel mode, every process generates its own files while I only want process 0 to write data into file. Now this is my question: How can I have only process 0 to write data into files and exclude the other processes?! Thanks Syavash |
No body wants to help??!:p
|
All times are GMT -4. The time now is 19:14. |