underworldcode / UWGeodynamics

Underworld Geodynamics
Other
81 stars 32 forks source link

model results visualization #271

Closed gaowqspace closed 2 years ago

gaowqspace commented 2 years ago

I opened tutorial_11 operation results outbdl with Paraview-xdmf reader. flow.series.xdmf and tin.series.xdmf could load, but when I click play button, the visualization results was far from what I expected. It doesn't have 3D effection and looks like flat.

Can you tell me what is the correct way to load output results with Paraview?

Thank you!

PatriceFRey commented 2 years ago

Have you scaled the badlands output (scaling factor 0.0001 for x, y and z).

gaowqspace commented 2 years ago

Have you scaled the badlands output (scaling factor 0.0001 for x, y and z).

Sorry, I have too late to reply and I am very happy recevied your comment. But I am not find the scaling factor about x, y and z under Properties. Can you tell me more detail?

Thank you!

PatriceFRey commented 2 years ago

Sure, look better. In the window Properties "Scale" is under Transforming.

gaowqspace commented 2 years ago

Thansks for your reply!

Oh! I tried it before! This time I scaling factor 0.0001 for x, y and z, but I saw the visualization results as same as before. I think 1:1:1 is equal to 0.0001:0.0001:0.0001 for x, y and z. Let me tell you more details about Paraview.

  1. Run tutorial_11 in unmodifying its code.
  2. Opened output results _tin.series.xdmf_with Paraview-xdmf reader.
  3. Click Apply and scale x, y and z to 0.0001.

I don't know where is the problem.

PatriceFRey commented 2 years ago

Have you verified that there is some tin and flow .h5 files in the output folder?

gaowqspace commented 2 years ago

Thanks for your reply!

Yes! My output folder contains:

PatriceFRey commented 2 years ago

Then I do not know. Opening the .xdmf file in Paraview should work. Any error message?

gaowqspace commented 2 years ago

No any error message. It can work just look like a flat. I think it should be a 3D result.

Let me see. Thank you again!

rbeucher commented 2 years ago

Hi @gaowqspace ,

This is a Baldands issue so I am transferring it to Badlands. However, you're output is normal. Badlands surfaces are 2D. You can obtained a 3D surface by applying a calculator filter. Screenshot from 2022-05-23 09-55-20

Note that this is how I do it but I recall @tristan-salles uses a different approach.