+ All Categories
Home > Documents > How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow...

How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow...

Date post: 09-May-2018
Category:
Upload: vandung
View: 221 times
Download: 1 times
Share this document with a friend
32
1 How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM
Transcript
Page 1: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

1

How to visualize cavity flow simulation using Paraview – basics

Albert S. Kim, Assoc. Prof.CEE, UHM

Page 2: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

2

1. Data Loading

Page 3: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

3

Start Paraview

Page 4: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

4

Open OpenFOAM file

Page 5: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

5

Select “All files (*)” in Files of type,select “cubic.OpenFoam”, & click “OK”

Page 6: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

6

Select “OpenFOAM” and click “OK”

Page 7: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

7

Data loaded

Page 8: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

8

2. Pressure Profile

Page 9: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

9

Go to Properties (left column),click “Mesh Regions” and “Apply”

Page 10: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

10

Select “surface” and (small) “p”

Page 11: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

11

Go to “Display” and click “Edit Color Map”

Page 12: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

12

Click “Rescale to Temporal Range”

Page 13: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

13

Click “Choose Preset”, select “Blue to Red Rainbow” and “OK”

Page 14: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

14

Click “Make Default”, “Apply” and “Close”

Page 15: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

15

Click “Rescale to ...” and play button

Page 16: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

16

You see the pressure profile. Go toFilters → alphabetical → Cell Centers

Page 17: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

17

Page 18: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

18

3. Velocity Profile

Page 19: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

19

Go to Properties → Apply

Page 20: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

20

Go to “cubic.OpenFoam” click Glyph → Apply

Page 21: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

21

Select “Scale Mode” = off and Click Apply

Page 22: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

22

Note that “cubic.OpenFoam” is shadowed.

Page 23: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

23

If you click “cubic.OpenFoam”

Page 24: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

24

Enjoy movie at various angles!

Page 25: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

25

4. Streamlines

Page 26: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

26

Click “cube.OpenFoam” and include “Stream Tracer”

Page 27: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

27

Click “Apply”

Page 28: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

28

Page 29: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

29

Change values shown below and “apply” again

Page 30: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

30

Unclick Glyph, Click Stream Tracer, Click Display and select U

Page 31: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

31

Click Glyph to visualizevelocity vectors and streamlines

Page 32: How to visualize cavity flow simulation using Paraview ... · How to visualize cavity flow simulation using Paraview – basics Albert S. Kim, Assoc. Prof. CEE, UHM. 2 1. Data Loading.

32

Enjoy Paraviewing

http://www.openfoam.org/docs/user/cavity.php


Recommended