6 mesh = meshio.read(
'../data/Ex11vec_noscale0385.vtk')
10 pressure = mesh.point_data[
'pressure']
12 velocity = mesh.point_data[
'Velocity']
16 import plotly.io
as pio
17 pio.renderers.default =
"iframe" 18 import plotly.graph_objects
as go
19 fig= go.Figure(data=go.Isosurface(
23 colorscale=[[1,
'rgb(0,255,0)'],[1,
'rgb(255,0,0)']],
25 lighting=dict(specular=0.5,ambient=0.8),
29 caps=dict(x_show=
False, y_show=
False,z_show=
False)
33 title = dict(text=
"Isosurfaces of the most amplified streamwise velocity fluctuations", font = dict(family=
"CMU Serif", size=24,color=
"#000")),
41 eye=dict(x=1.25,y= 1,z = 1.25),
42 projection=dict(type=
"orthographic")),
49 size = 20,color=
"#000" 52 tickfont = dict(family=
"CMU Serif",size = 12,color=
"#000")),
59 size = 20,color=
"#000" 61 tickfont = dict(family=
"CMU Serif",size = 12,color=
"#000")),
68 size = 20,color=
"#000" 70 tickfont = dict(family=
'"CMU Serif", "Times New Roman",Arial ',size = 12,color=
"#000"))