|
[Sponsors] |
March 29, 2007, 13:21 |
Hi,
I hope one day there is
|
#1 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
Hi,
I hope one day there is no need to use this utility anymore and I can read the decomposed mesh in paraFoam/paraview directly. I read something about this will be possible with OF1.4? But for now I have to use reconstructPar. I had problems reconstructing large cases fast, especially if there are many time steps, since it is not possible to reconstruct in parallel. So I changed the reconstructPar so that it is possible to use more than one reconstructPar at the same time. For this I added an option -reconStartTime, which is the first time step I want to reconstruct and -reconTimeStepFactor, which is the factor for nth time step to reconstruct. Example: -reconStartTime=0.02 and -reconTimeStepFactor=3 the time steps 0.02 0.06 0.09 0.12 etc will be reconstructed. And with (put it in a script): reconstructParNew <root> <case> -reconTimeStepFactor 3 -reconStartTime 0.02 > reconstructlog1 & reconstructParNew <root> <case> -reconTimeStepFactor 3 -reconStartTime 0.03 > reconstructlog2 & reconstructParNew <root> <case> -reconTimeStepFactor 3 -reconStartTime 0.04 > reconstructlog3 & I can reconstruct "parallel" at least distribute it easy. But watch for the main memory (swapping)! I added also the -delete option so that the last reconstructed time will be delete automatic in the processor directory. See also http://www.cfd-online.com/OpenFOAM_Discus/messages/1/1547.html and http://www.cfd-online.com/OpenFOAM_D...es/1/1536.html reconstructParNew.tar.gz P.S. Maybe this is not the clean code it should be, but it does the job. Regards Jens |
|
March 29, 2007, 15:34 |
Hi,
there is a little bug i
|
#2 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
Hi,
there is a little bug in my example, it should go: Example: If the solver dumps every 0.01 to the processor directories and -reconStartTime=0.02 and -reconTimeStepFactor=3 the time steps 0.02 0.05 0.08 0.11 etc. will be reconstructed. Sorry. Jens |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug in reconstructPar | david | OpenFOAM Bugs | 10 | May 26, 2009 13:11 |
ReconstructPar | kupiainen | OpenFOAM Post-Processing | 12 | April 21, 2009 02:47 |
ReconstructPar in OpenFOAM15 | nicasch | OpenFOAM Post-Processing | 1 | November 7, 2008 05:06 |
ReconstructPar | maka | OpenFOAM Bugs | 6 | August 22, 2007 05:23 |
Problem with reconstructPar | fabianpk | OpenFOAM | 5 | August 14, 2007 10:17 |