APPS.MultiWindowApp IsoLineVector { UI { Modules { IUI { optionList { cmdList => { <-.<-.<-.<-.Velocity_ReadIEEE.read_vx.UImod_panel.option, <-.<-.<-.<-.Velocity_ReadIEEE.read_vy.UImod_panel.option, <-.<-.<-.<-.Velocity_ReadIEEE.combine_comp.CombCompUI.UIpanel.option, <-.<-.<-.<-.Velocity_ReadIEEE.read_vz.UImod_panel.option, <-.<-.<-.<-.Velocity_ReadIEEE.combine_comp#1.CombCompUI.UIpanel.option, <-.<-.<-.<-.Loop.UIpanel.option, <-.<-.<-.<-.Velocity_ReadIEEE.data_math.UIpanel.option, <-.<-.<-.<-.combine_vect.CombVectUI.UIpanel.option, <-.<-.<-.<-.advector.UIpanel.option, <-.<-.<-.<-.Velocity_ReadIEEE.data_math#1.UIpanel.option, <-.<-.<-.<-.Velocity_ReadIEEE.data_math#2.UIpanel.option, <-.<-.<-.<-.Velocity_ReadIEEE.data_math#3.UIpanel.option, <-.<-.<-.<-.FPlane.probe_ui.panel.option, <-.<-.<-.<-.crop.panel.option, <-.<-.<-.<-.data_math.UIpanel.option, <-.<-.<-.<-.Write_Image.write_image_ui.panel.option, <-.<-.<-.<-.OutputField.output_field.UImod_panel.option, <-.<-.<-.<-.Rho_ReadIEEE.Rho_Read_IEEE.UImod_panel.option, <-.<-.<-.<-.orthoslice.OrthoSliceUI.UIpanel.option, <-.<-.<-.<-.isoline.UIpanel.option }; selectedItem = 19; }; mod_panel { x = 0; y = 0; }; }; }; shell { x = 685; y = -648; width = 335; height => 720; }; }; macro Velocity_ReadIEEE { AC_KIT.Read_IEEE read_vx { Filename_ui { UIfileDialog { x = 349; y = 208; width = 300; height = 390; ok = 1; dirMaskCache = "/scratch1/wu/BOOST_DATA/*"; cancel = 1; }; }; Read_IEEE_raw { avs_name = "Read IEEE.user.0"; Filename => <-.string; RecordNumber => <-.<-.<-.Loop.count; }; string string => ((.name + .Variable) + .suffix); string name => <-.Name; string Variable = "_vx"; string suffix = ".ieee"; UImod_panel; UIlabel; RecordNumber_ui { max; min; }; }; ACavs_to_fld ACavs_to_fld { in => <-.read_vx.Read_IEEE_raw.o_out; Field_Unif Output_Field; }; AC_KIT.Read_IEEE read_vy { Filename_ui { UIfileDialog { x = 58; y = 222; width = 300; height = 390; ok = 1; dirMaskCache = "/scratch1/wu/BOOST_DATA/*"; }; }; Read_IEEE_raw { avs_name = "Read IEEE.user.1"; Filename => <-.string; RecordNumber => <-.<-.<-.Loop.count; }; string string => ((.name + .Variable) + .suffix); string name => <-.Name; string Variable = "_vy"; string suffix = ".ieee"; UImod_panel; UIlabel; RecordNumber_ui; }; ACavs_to_fld ACavs_to_fld#1 { in => <-.read_vy.Read_IEEE_raw.o_out; Field_Unif Output_Field; }; MODS.combine_comp combine_comp { in_field1 => <-.data_math#1.out_fld; in_field2 => <-.data_math#2.out_fld; CombCompUI { DVnode_data_labels1 { labels[]; }; DVnode_data_labels2 { labels[]; }; UIoptionBoxLabel1 { label_cmd { cmd[1] = { { active=1, }}; }; }; UIoptionBoxLabel2 { label_cmd { cmd[1] = { { set=1,,,,,,,,,,,,,,,,,,,active=1, }}; }; }; }; }; AC_KIT.Read_IEEE read_vz { Filename_ui { UIfileDialog { x = 58; y = 222; width = 300; height = 390; ok = 1; dirMaskCache = "/scratch1/wu/BOOST_DATA/*"; }; }; Read_IEEE_raw { avs_name = "Read IEEE.user.2"; Filename => <-.string; RecordNumber => <-.<-.<-.Loop.count; }; string string => ((.name + .Variable) + .suffix); string name => <-.Name; string Variable = "_vz"; string suffix = ".ieee"; UImod_panel; UIlabel; RecordNumber_ui; }; ACavs_to_fld ACavs_to_fld#2 { in => <-.read_vz.Read_IEEE_raw.o_out; Field_Unif Output_Field; }; MODS.combine_comp combine_comp#1 { in_field1 => <-.combine_comp.out_fld; in_field2 => <-.data_math#3.out_fld; CombCompParam { comp1 = {0,1}; }; CombCompUI { DVnode_data_labels1 { labels[]; }; DVnode_data_labels2 { labels[]; }; UIoptionBoxLabel1 { label_cmd { cmd[2] = { { active=1 }, { active=1 }}; }; }; UIoptionBoxLabel2 { label_cmd { cmd[1] = { { active=1, }}; }; }; }; out_fld; }; string Name => <-.NAME; MODS.data_math data_math { in_field1 => <-.ACavs_to_fld.out; in_field2 => <-.ACavs_to_fld#1.out; in_field3 => <-.ACavs_to_fld#2.out; out_obj; expres = "sqrt(pow(#1,2) + pow(#2,2) + pow(#3,2))"; value_type = 5; }; MODS.data_math data_math#1 { in_field1 => <-.ACavs_to_fld.out; expres = "#1*10"; }; MODS.data_math data_math#2 { in_field1 => <-.ACavs_to_fld#1.out; expres = "#1*10"; }; MODS.data_math data_math#3 { in_field1 => <-.ACavs_to_fld#2.out; expres = "#1*10"; }; }; MODS.Loop Loop { reset; reset_back; run; run_back; step; step_back; cycle; start => <-.Velocity_ReadIEEE.read_vx.RecordNumber_ui.min; end => <-.Velocity_ReadIEEE.read_vx.RecordNumber_ui.max; incr = 1.; done = 1; LoopUI { cycle_toggle { x = 0; }; start_typein { x = 0; }; end_typein { x = 0; }; incr_typein { x = 0; }; count_typein { x = 0; }; }; }; string NAME = "/scratch1/wu/2NScollide/s3d"; MODS.combine_vect combine_vect { in_field => <-.crop.out_fld; CombVectUI { DVnode_data_labels { labels[]; }; UIoptionBoxLabel { label_cmd { cmd[]; }; }; }; }; MODS.advector advector { in_field => <-.data_math.out_fld; in_glyph => <-.Arrow2.out_fld; in_probe => <-.FPlane.out_fld; AdvectParam { count = 0.; incr = 0.; scale = 4.56; order = 1; max_seg = 2; end = 0.; nseg = 1; min_vel = 1e-07; }; AdvectUI { time_typein { x = 0; }; }; obj { Props { inherit = 0; material = {0.5,0.69,0., 39.87}; }; }; Advect { DVglyph { out { xform { mat = { 1.16667,0.,0.,0.,0.,1.16667,0.,0.,0.,0.,1.16667,0., 0.,0.,0.,1. }; }; }; }; }; }; GDM.Uviewer3D Uviewer3D { Scene { Top { child_objs => { <-.<-.<-.advector.out_obj,<-.<-.<-.isoline.out_obj}; Xform { mat = { 0.152347,0.,0.,0.,0.,0.152347,0.,0.,0.,0.,0.152347,0., 0.,0.,0.,1. }; xlate = {-0.0978142,-0.0977143, -0.294411}; ocenter = {0.642047,0.641392, 1.9325}; dcenter = {0.0978142,0.0977144, 0.294411}; center = {0.642047,0.641392, 1.9325}; }; Top { active = 0; }; }; Camera { Camera { auto_norm = "None"; perspec = 1; front = 1.; }; }; Lights { Lights = { { type="BiDirectional" },,,}; }; View { View { trigger = 2; }; ViewUI { ViewPanel { UI { panel { defaultX = 28; defaultY = -622; defaultWidth = 646; defaultHeight = 486; }; }; }; }; }; }; Scene_Editor { Light_Editor { GDlight_edit { type = "BiDirectional"; }; GDlinfo_edit { sel_light => Scene.Lights.Lights[0]; }; }; View_Editor { GDobj_sel { curobj_name = "Top"; }; IUI { optionList { selectedItem = 0; }; General { IUI { panel { visible = 1; }; Renderer { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,, }; }; Color { ColorEcho { ColorView { trigger = 1; }; }; rgb_or_hsv { v = 0.; }; }; Timer { y = 0; }; }; }; }; InfoPanel { curobj_sel { selectedItem = 3; x = 362; y = 170; width = 300; height = 310; ok = 1; }; }; }; Track_Editor { IUI { optionList { selectedItem = 1; }; Interactor_Behavior { IUI { RotateMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; XYTranslateMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; }; }; Transform { IUI { panel { visible = 1; }; ScaleLabel { y = 0; }; }; }; }; GDxform_edit { abs_scale = 0.25; absolute = 1; scale = 0.25; }; }; Camera_Editor { GDcamera_edit { front = 1.; }; }; Object_Editor { GDprops_edit { inherit = 0; ambient = 0.300999999; diffuse = 0.7020000219; specular = 0.; spec_exp = 50.; trans = 1.; }; IUI { optionList { selectedItem = 0; }; General { IUI { AltSpace { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; TransformMode { OPcmdList = {, { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; panel { visible = 1; }; }; }; Properties { IUI { ObjectOptions = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; EditAltProps { y = 0; x = 0; }; Type { IUI { optionList { selectedItem = 2; }; General { IUI { ColorOptions = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; }; Surface { IUI { panel { visible = 1; }; CullMode { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,,}; }; }; }; }; }; }; }; }; }; Datamap_Editor { IUI { Options { IUI { optionList { selectedItem = 3; }; Edit_Color { IUI { ColorRB { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; }; }; InputOutput { IUI { panel { visible = 1; }; FileOP { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; Dmap_browser { text = "HotMetal"; x = 346; y = 574; width = 300; height = 329; ok = 1; }; }; }; }; }; DmapEcho { DmapView { trigger = 2; }; }; ModelOptions = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; selectedDmap = 3; }; Print_Editor { IUI { Format { OPcmdList = { ,, { set=1,,,,,,,,,,,,,,,,,,,, }, ,, }; }; Orientation { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, }; }; Background { OPcmdList = { { set=1,,,,,,,,,,,,,,,,,,,, }, ,}; }; SizeMenu { OPcmdList = { , { set=1,,,,,,,,,,,,,,,,,,,, }, ,, }; }; }; }; }; }; GEOMS.FPlane FPlane { in => <-.crop.out_fld; dim1 = 20; dim2 = 20; }; MODS.crop crop { in_field => <-.Velocity_ReadIEEE.combine_comp#1.out_fld; CropParam { min = {20,20,20}; max = {46,46,46}; }; }; MODS.data_math data_math { in_field1 => <-.combine_vect.out_fld; expres = "#1*1000"; }; GEOMS.Arrow2 Arrow2; int record => .Loop.count; string filename => ((.name + .record_s) + .suffix); string name = "/scratch1/wu/MomentumPic/MomArrow"; string suffix = ".tiff"; string record_s => .record; MODS.Write_Image Write_Image { in => <-.OutputField.output_field.Output.output; write_image_ui { format_rb { selectedItem = 7; }; filename => <-.<-.filename; overwrite_toggle { set = 1; }; flip_toggle { set = 0; }; }; }; GDM.OutputField OutputField { output_field { UIslider { value = 640.; }; UIslider#1 { value = 480.; }; }; }; macro Rho_ReadIEEE { AC_KIT.Read_IEEE Rho_Read_IEEE { Filename_ui { UIfileDialog { x = 93; y = 80; width = 388; height = 390; ok = 1; dirMaskCache = "/scratch1/wu/BOOST_DATA/*"; cancel = 1; }; }; Read_IEEE_raw { avs_name = "Read IEEE.user.3"; Filename => <-.string; RecordNumber => <-.<-.<-.Loop.count; max_RecordNumber; min_RecordNumber; }; string string => ((.name + .Variable) + .suffix); string name => <-.<-.NAME; string Variable = "_rho"; string suffix = ".ieee"; UImod_panel; UIlabel; RecordNumber_ui; }; ACavs_to_fld ACavs_to_fld { in => <-.Rho_Read_IEEE.Read_IEEE_raw.o_out; Field_Unif Output_Field; out; }; }; MODS.orthoslice orthoslice { in_field => <-.Rho_ReadIEEE.ACavs_to_fld.out; OrthoSliceParam { axis = 2; }; }; MODS.isoline isoline { in_field => <-.orthoslice.out_fld; IsoParam { ncontours = 12; level_min => 0.0001; level_max => 0.00038; }; UIpanel { option { set = 1; }; }; IsoLineUI { DVnode_data_labels { labels[]; }; UIradioBoxLabel { label_cmd { cmd[]; }; }; }; }; };