Paraview does not show the correct position

Submitted by xujiancqu on Thu, 10/25/2012 - 15:05

As shown in the attached picture.

Either the coordinate of the surface in stl file or that of region set in in.simulation file is right, and the simulation results are also right. When I use paraview to demonstrate either of them, the figure is ok, however when I use paraview to show both of them (the wall and simulation results) at the same time, the problem is involved as shown in the picture.

Thanks for your help in advance.

AttachmentSize
Image icon 1.jpg13.26 KB
ckloss's picture

ckloss | Mon, 10/29/2012 - 11:47

Hi,

this could be the difference between scaled/unscaled dumps with pizza.py. Are you using pizza.py? if yes, you can use the (newer) LPP, and you don't need to worry about this

Cheers, Christoph

xujiancqu | Tue, 10/30/2012 - 02:02

I use the latest LPP.

cd post
pizza

then input:

d=dump("dump.mySimulation")
d.scale()
v=vtk(d)
v.manyGran()

I don'k know how to demonstrate the right results.

xujiancqu | Tue, 10/30/2012 - 02:06

After reading your explanation.

I don't use "d.scale()" in pizza.

It seems the result is right.

Thanks for your help.