Model.blockvisualize#
- Model.blockvisualize(name, iplane, jplane, kplane, icolor, jcolor, kcolor, usewallcolor)#
Creates a fill hide plot of a finite difference block.
- Parameters:
name (hwString) – The name of the block.
iplane (int) – The i plane to display.
jplane (int) – The j plane to display.
kplane (int) – The k plane to display.
icolor (int) – The color in which to display the i plane. Not used if iplane is 0.
jcolor (int) – The color in which to display the j plane. Not used if jplane is 0.
kcolor (int) – The color in which to display the k plane. Not used if kplane is 0.
usewallcolor (int) –
1 - If the colors of the walls are to be used.
0 - If the colors specified by
icolor,jcolor, andkcolorare to be used.
Note
The color values are not used and the block is visualized using the wall colors, unless the planes are nonzero, in which case, the plane is visualized using the color provided.
Example#
Display the entire finite difference block named block1#import hm model = hm.Model() model.blockvisualize( name="block1", iplane=0, jplane=0, kplane=0, icolor=0, jcolor=0, kcolor=0, usewallcolor=0 )