Skip to content

Size difference of Aorta Example output and its stl

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Size difference of Aorta Example output and its stl

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1810
    ivychan
    Member

    Hi, rnI tried to run aorta example and it successfully output a pvd file. When I compared the output vessel and the stl surface in paraview, there are huge size difference. The output vessel is much smaller than its stl surface. Could we adjust the output size same as its surface, please? rnrnThank you.

    #2271
    peterwe
    Member

    Hi,rnthe size difference in paraview is caused by the fact that the position and size is given in meters in our pvd output file while it is given in millimeters in the stl file. So in paraview the stl is shown exactly 1000 times bigger.rnOne way to solve this is by rescaling the stl in paraview.rnTo rescale the stl shown in paraview you can use the “”transform”” filter and scale 0.001. Size and position of the two will match now. Also, if you opened the pvd first, the camera is already in the right place.rnPeter

    #2273
    ivychan
    Member

    Yes it works! Thank you Peter for the detailed explanation.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.