|
[Sponsors] |
January 24, 2024, 09:57 |
writing a dictionary in parallel
|
#1 |
New Member
Martin
Join Date: Jul 2022
Posts: 16
Rep Power: 3 |
Hi all,
I feel a bit stupid with this question but I have been staring at this and breaking my head for hours now and do not get why this does not work. I create an IOdictionary: Code:
IOdictionary ( IOobject ( dictName, mesh.time().timeName(), "uniform", mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ) ) and would expect that the object writes to the uniform directory in the time folder. It does so, but only into the serial / reconstructed one. Even if running in parallel. What am I missing something here? As a side note and in case that helps or makes a difference: I am running this in OF-10. |
|
April 10, 2024, 06:36 |
|
#2 |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9 |
Hi Martin,
You can use -copyUniform flag when executing decomposePar or reconstructPar. Bests, Amirhossein. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Writing all continuity errors to a file using custom solver in parallel mode | saurabh1011 | OpenFOAM Running, Solving & CFD | 1 | September 14, 2022 20:44 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Problem writing to dictionary | MrAndersson | OpenFOAM Programming & Development | 4 | September 12, 2017 15:46 |
[mesh manipulation] Dynamic remeshing (mequite) in parallel not working [foam-extend-4.0] | Peter_600 | OpenFOAM Meshing & Mesh Conversion | 4 | August 1, 2017 06:07 |
Error during writing of fields in massive parallel simulations | chbeck | OpenFOAM Bugs | 1 | September 6, 2010 06:25 |