CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Viewing multiregion results (http://www.cfd-online.com/Forums/openfoam/91014-viewing-multiregion-results.html)

mirko July 27, 2011 19:52

Viewing multiregion results
 
Hi,

I am running OF2.0.

When I run a multi-region tutorial, such as multiRegionHeater, I cannot view calculated values in ParaView 3.10.1

When I select time-step 0, I can see the list of calculated fields in paraview's Volume Fields window.

When I select other time-steps, the Volume Fields becomes zero, and I cannot view any other fields (pressure, temperature, velocity).

Any idea what could be wrong?

Thank you,

Mirko

joel.lehikoinen July 28, 2011 07:48

In the case dir, run

Code:

foamToVTK -region <region_name>
for each region. That converts the FOAM data to VTK format and places them in a folder called VTK. Inside that folder you'll find subfolders for each region, and within them, a file you can open in Paraview.

mirko July 29, 2011 15:04

Quote:

Originally Posted by joel.lehikoinen (Post 317856)
In the case dir, run

Code:

foamToVTK -region <region_name>
for each region. That converts the FOAM data to VTK format and places them in a folder called VTK. Inside that folder you'll find subfolders for each region, and within them, a file you can open in Paraview.

Thanks, that works.

Mirko

sparbroetchen September 21, 2011 06:02

multiRegion post processing
 
A much easier way ist the following:

open Paraview by typing

Code:

paraFoam -region region1
.
Then generate a wrapping File for the second region

Code:

touch caseName{region2}.openFoam
.

This file must be opened with paraview and the region2 will appear.

Greetings

Sebastian


All times are GMT -4. The time now is 01:38.