CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] ParaFoam OF 14 decomposed cases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2007, 15:12
Default ParaFoam OF 14 decomposed cases
  #1
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
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
philippose is offline   Reply With Quote

Old   April 17, 2007, 03:45
Default > or was it just an oversight
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
> or was it just an oversight

It was just an oversight. Remove the check or use the old script.
mattijs is offline   Reply With Quote

Old   April 17, 2007, 05:18
Default 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
olesen has a spectacular aura aboutolesen has a spectacular aura about
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')
olesen is offline   Reply With Quote

Old   April 17, 2007, 14:25
Default Hi Mark, Thanks a lot for t
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
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
philippose is offline   Reply With Quote

Old   April 18, 2007, 06:17
Default 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
olesen has a spectacular aura aboutolesen has a spectacular aura about
Hi Philippose,

From what I've gathered, paraview 3 might make it easier to write a parallelized reader.
olesen is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:02.