|
[Sponsors] |
April 16, 2007, 15:12 |
ParaFoam OF 14 decomposed cases
|
#1 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello,
I was testing out OpenFOAM ver.1.4 a few days ago, and found that when I try to visualise a decomposed mesh with paraFoam, it throws up an error saying that the controlDict file could not be found. In the earlier versions of OpenFOAM, I could go into the case folder of a decomposed case, and use (for example): paraFoam . processor0 or paraFoam . processor1 and it would open ParaView and display that part of the mesh which belongs to the particular processor. In the paraFoam file of version 1.4, the script looks for a valid "controlDict" or "fvSolution" or "fvSchemes" file before moving ahead... since the "processor<x>" folder has no "system" folder within, paraFoam exits with an error. Was this modification made with the idea of introducing (in the near future) the capability of being able to visualise decomposed cases in ParaView without first having to reconstruct them, or was it just an oversight? Currently I use the ParaFoam script from one of the earlier versions, and things work fine.... Have a nice day! Philippose |
|
April 17, 2007, 03:45 |
> or was it just an oversight
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
> or was it just an oversight
It was just an oversight. Remove the check or use the old script. |
|
April 17, 2007, 05:18 |
Attached is a version that doe
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Attached is a version that does the correct checking paraFoam for serial and decomposed cases.
BTW: you can simply issue 'paraFoam' to view the results in the current working directory or 'paraFoam DIR' to specify a particular directory (see 'paraFoam -h') |
|
April 17, 2007, 14:25 |
Hi Mark,
Thanks a lot for t
|
#4 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hi Mark,
Thanks a lot for the modified paraFoam script :-)! Works like a charm! Now all that is remaining, is for someone to take the time out to modify the vtkFoam reader to enable a decomposed mesh to be visualised (in its entirety) without having to reconstruct it. Have a nice day! Philippose |
|
April 18, 2007, 06:17 |
Hi Philippose,
From what I'
|
#5 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Hi Philippose,
From what I've gathered, paraview 3 might make it easier to write a parallelized reader. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Problem] paraFoam Throws volVectorField Error At t=0 for 0/U | iamed18 | OpenFOAM Pre-Processing | 3 | April 11, 2016 11:03 |
[OpenFOAM] ParaFoam Segmentation Fault | dancfd | ParaView | 1 | July 7, 2014 21:38 |
[OpenFOAM] ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case | romant | ParaView | 3 | April 7, 2014 16:42 |
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY | raketenmaid | ParaView | 4 | February 5, 2013 06:20 |
Reconstruction of decomposed dynamic mesh cases | david | OpenFOAM Post-Processing | 2 | January 9, 2009 08:19 |