CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

ParaFoam OF 14 decomposed cases

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2007, 14:12
Default Hello, I was testing out Op
  #1
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
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, 02:45
Default > or was it just an oversight
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 04:18
Default Attached is a version that doe
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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, 13:25
Default Hi Mark, Thanks a lot for t
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
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, 05:17
Default Hi Philippose, From what I'
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reconstruction of decomposed dynamic mesh cases david OpenFOAM Post-Processing 2 January 9, 2009 08:19
ParaFOAM ttdtud OpenFOAM Paraview & paraFoam 2 May 29, 2008 09:08
How to iterate over all cells in decomposed mesh tehache OpenFOAM Running, Solving & CFD 4 October 23, 2007 10:06
Reading 3d cases with paraFoam sriharsha OpenFOAM Paraview & paraFoam 5 January 23, 2007 15:52
Please help me see this about paraFoam liugx212 OpenFOAM Running, Solving & CFD 2 March 8, 2006 10:54


All times are GMT -4. The time now is 13:20.