-
hello, i am new user of pytough. i tried to follow the tutorials. generatig vtk file works as shown in rectangular mesh. (3d hydrostatic example) but for radial geometry example no command was provided to generate the vtk. can you help me please by adding the command to generate the vtk file in the radial geometry example ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you want VTK output from a radial model, you will need to create a dummy rectangular geometry representing a vertical slice through your radial grid. You can then use the same methods for VTK output as in the 3-D case. For example if geo = mulgrid().rectangular(dr, [1.], dz) will create a rectangular geometry with the radial block sizes in the |
Beta Was this translation helpful? Give feedback.
If you want VTK output from a radial model, you will need to create a dummy rectangular geometry representing a vertical slice through your radial grid. You can then use the same methods for VTK output as in the 3-D case.
For example if
dr
is a list or array of your radial block sizes anddz
is a list or array of the vertical layer thicknesses, then:will create a rectangular geometry with the radial block sizes in the
x
direction and the layer thicknesses in thez
direction (they
direction is a dummy and is not used).