8 |
# The output of convection.py consists of VTK files state.i1.vtu ... state.i2.vtu |
# The output of convection.py consists of VTK files state.i1.vtu ... state.i2.vtu |
9 |
# Specify range of file names: state.i1.vtu ... state.i2.vtu |
# Specify range of file names: state.i1.vtu ... state.i2.vtu |
10 |
i1 = 0 |
i1 = 0 |
11 |
i2 = 271 |
i2 = 499 |
12 |
|
|
13 |
|
|
14 |
################################################################################ |
################################################################################ |
71 |
|
|
72 |
# Create a Camera |
# Create a Camera |
73 |
cam1 = Camera(scene = s, viewport = Viewport.SOUTH_WEST) |
cam1 = Camera(scene = s, viewport = Viewport.SOUTH_WEST) |
74 |
cam1.elevation(angle = -60) |
cam1.elevation(angle = 0) |
75 |
|
cam1.roll(angle = 45) |
76 |
|
cam1.elevation(angle = -65) |
77 |
|
|
78 |
# Render the jpg image for this input file |
# Render the jpg image for this input file |
79 |
s.render(image_name = imgName) |
s.render(image_name = imgName) |