# $Revision$ on $Date$
# The above revision line needs to be the first line for ttkrf files
# Copyright (c) 2006 Ansys Inc

dataEntryDialog ic3mSettingsDEZ "General Settings" 1

   frame  ic3mDEZsetting "Setting File"
      textButton    ic3mSettingsDEZOpen  "   Open   "       "mw_ic3m_open_setting"
      textButton    ic3mSettingsDEZSave  "   Save   "       "mw_ic3m_saveas_setting"
   frame END

dataEntryDialog END

dataEntryDialog ic3mSimulationDEZ "Simulation Type" 1
   exclusiveGroup valveselect NULL " " 4 ICON

      exclusiveGroupItem  valveselectbothvalves "Full Cycle"   "../../va/IC3M/icons/two_valve_motion.gif"
      exclusiveGroupItem END

      exclusiveGroupItem  valveselectintake "Intake Stroke"    "../../va/IC3M/icons/intake_valve_motion.gif"
      exclusiveGroupItem END

      exclusiveGroupItem  valveselectnovalve "Combustion"      "../../va/IC3M/icons/no_valve_motion.gif"
      exclusiveGroupItem END

      exclusiveGroupItem  valveselectexhaust "Exhaust Stroke"  "../../va/IC3M/icons/exhaust_valve_motion.gif"
      exclusiveGroupItem END

   exclusiveGroup END

   frame simulationangle "Simulation Parameters"
      textEntry engineRPM        "Engine RPM"                engine_RPM                   NUM
      textEntry   simulationstart  "Simulation Start (DCA)"     degrees_simulated_start      NUM
      textEntry   simulationstop   "Simulation Stop (DCA)"      degrees_simulated_stop       NUM
      textButton  simulationsCalc  "    Calculate    "          mw_ic3m_CalculateMotionCalc
   frame END 
dataEntryDialog END

dataEntryDialog ic3mParametersDEZ "Cylinder Paramaters" 1

   frame geometryparameters "Geometrical Parameters (mm)"
      textEntry     ic3mGeometryDEZgeometryboredia "Bore (B)"                  bore_diameter NUM
      textEntry     ic3mGeometryDEZgeometrystrokelen "Stroke (S)"               stroke_length NUM
      textEntry     ic3mGeometryDEZgeometryrodlen "Con. Rod Length (L)"          connecting_rod_length NUM
      textEntry     ic3mGeometryDEZgeometrydist "Dist. of Piston to Deck (P)"           piston_TDC_position NUM
   frame END

   frame meshparameters "Mesh Parameters"
      textEntry     meshlayerstdc "Mesh layers at TDC" number_layers_cyl_TDC NUM
      textEntry     meshlayersbdc "Mesh layers at BDC" number_layers_cyl_BDC NUM
      textEntry     prefthickness "Pref. Thickness" bdc_layer_thickness NUM
      textEntry     edgecriterion "Edge criterion" edge_criterion_cmb NUM
   frame END

dataEntryDialog END

dataEntryDialog ic3mIntakeValveProfileDEZ "Intake Valve" 1

   frame hexaintakevalve "Hexa Mesher Parameters"
      textEntry edge5intake "A: " edge5_intake NUM
      textEntry edge1intake "B: " edge1_intake NUM
      textEntry edge2intake "C: " edge2_intake NUM
      textEntry edge3intake "D: " edge3_intake NUM
      textEntry edge4intake "E: " edge4_intake NUM
      textEntry edge6intake "F: " n_layers_valve_seat_intake NUM
      textEntry edge7intake "G: " n_layers_next_tip_intake NUM
      textEntry edge13intake "H: " edge13_intake NUM
      textEntry edge14intake "I: " edge14_intake NUM
      textEntry edge15intake "J: " edge15_intake NUM
      textEntry edge11intake "K: " edge11_intake NUM
      textEntry edge10intake "L: " edge10_intake NUM
      textEntry edge12intake "M: " n_cells_circumfrential_intake NUM
      textEntry meshlayersintake "N: " intake_valve_nlayers NUM
   frame END

   greyGroup boundarylayerintake "Enable Boundary Layer Mesh Feature"
      greyGroupItem enableintake " "
         textEntry heightofblintake "Height of boundary layer mesh" vbdyh_intake NUM
         textEntry numberofcellsinblintake "Number of cells in boundary layer mesh" vbdynum_intake NUM
      greyGroupItem END
   greyGroup END
   textEntry iedge_criterion "Edge criterion (Port)" edge_criterion_intake NUM

dataEntryDialog END

dataEntryDialog ic3mExhaustValveProfileDEZ "Exhaust Valve" 1

   frame hexaexhaustvalve "Hexa Mesher Parameters"
      textEntry edge5exhaust "A: " edge5_exhaust NUM
      textEntry edge1exhaust "B: " edge1_exhaust NUM
      textEntry edge2exhaust "C: " edge2_exhaust NUM
      textEntry edge3exhaust "D: " edge3_exhaust NUM
      textEntry edge4exhaust "E: " edge4_exhaust NUM
      textEntry edge6exhaust "F: " n_layers_valve_seat_exhaust NUM
      textEntry edge7exhaust "G: " n_layers_next_tip_exhaust NUM
      textEntry edge13exhaust "H: " edge13_exhaust NUM
      textEntry edge14exhaust "I: " edge14_exhaust NUM
      textEntry edge15exhaust "J: " edge15_exhaust NUM
      textEntry edge11exhaust "K: " edge11_exhaust NUM
      textEntry edge10exhaust "L: " edge10_exhaust NUM
      textEntry edge12exhaust "M: " n_cells_circumfrential_exhaust NUM
      textEntry meshlayersexhaust "N: " exhaust_valve_nlayers NUM
   frame END

   greyGroup boundarylayerexhaust "Enable Boundary Layer Mesh Feature"
      greyGroupItem enableexhaust "Enable"
         textEntry heightofblexhaust "Height of boundary layer mesh" vbdyh_exhaust NUM
         textEntry numberofcellsinblexhaust "Number of cells in boundary layer mesh" vbdynum_exhaust NUM
      greyGroupItem END
   greyGroup END
   textEntry eedge_criterion "Edge criterion (Port)" edge_criterion_exhaust NUM

dataEntryDialog END

dataEntryDialog ic3mGeometryPreviewDEZ "Geometry Preview" 1

   textEntry     previewgstartang "Starting angle" geo_starting_angle_dca NUM
   textEntry     previewgendang "Ending angle" geo_ending_angle_dca NUM
   textEntry     previewgincrementang "Increment angle" geo_increment_angle_dca NUM   

dataEntryDialog END

dataEntryDialog ic3mComputeGeometryDEZ "Create Slave Tetin Files" 1
   
   exclusiveGroup existingvalves NULL "Valves" 1 DROPDOWN
      exclusiveGroupItem int0ex0 "0-Intake 0-Exhaust"
         checkItem all00 "All" compute_all mw_ic3m_select_all_geom
         checkItem combustion00 "Combustion dome" compute_comb NULL
         checkItem piston00 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END
      
      exclusiveGroupItem int1ex0 "1-Intake 0-Exhaust"
         checkItem all10 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport110 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve110 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem combustion10 "Combustion dome" compute_comb NULL
         checkItem piston10 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END
     
      exclusiveGroupItem int0ex1 "0-Intake 1-Exhaust"
         checkItem all01 "All" compute_all mw_ic3m_select_all_geom
         checkItem exhaustport101 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve101 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem combustion01 "Combustion dome" compute_comb NULL
         checkItem piston01 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int1ex1 "1-Intake 1-Exhaust"
         checkItem all11 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport111 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve111 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem exhaustport111 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve111 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem combustion11 "Combustion dome" compute_comb NULL
         checkItem piston11 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int2ex0 "2-Intake 0-Exhaust"
         checkItem all20 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport120 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve120 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem intakeport220 "Intake port 2" compute_port_intake_2 NULL
         checkItem intakevalve220 "Intake valve 2" compute_valve_intake_2 NULL
         checkItem combustion20 "Combustion dome" compute_comb NULL
         checkItem piston20 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int0ex2 "0-Intake 2-Exhaust"
         checkItem all02 "All" compute_all mw_ic3m_select_all_geom
         checkItem exhaustport102 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve102 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem exhaustport202 "Exhaust port 2" compute_port_exhaust_2 NULL
         checkItem exhaustvalve202 "Exhaust valve 2" compute_valve_exhaust_2 NULL
         checkItem combustion02 "Combustion dome" compute_comb NULL
         checkItem piston02 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int2ex1 "2-Intake 1-Exhaust"
         checkItem all21 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport121 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve121 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem intakeport221 "Intake port 2" compute_port_intake_2 NULL
         checkItem intakevalve221 "Intake valve 2" compute_valve_intake_2 NULL
         checkItem exhaustport121 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve121 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem combustion21 "Combustion dome" compute_comb NULL
         checkItem piston21 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int1ex2 "1-Intake 2-Exhaust"
         checkItem all12 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport112 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve112 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem exhaustport112 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve112 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem exhaustport212 "Exhaust port 2" compute_port_exhaust_2 NULL
         checkItem exhaustvalve212 "Exhaust valve 2" compute_valve_exhaust_2 NULL
         checkItem combustion12 "Combustion dome" compute_comb NULL
         checkItem piston12 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int2ex2 "2-Intake 2-Exhaust"
         checkItem all22 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport122 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve122 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem intakeport222 "Intake port 2" compute_port_intake_2 NULL
         checkItem intakevalve222 "Intake valve 2" compute_valve_intake_2 NULL
         checkItem exhaustport122 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve122 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem exhaustport222 "Exhaust port 2" compute_port_exhaust_2 NULL
         checkItem exhaustvalve222 "Exhaust valve 2" compute_valve_exhaust_2 NULL
         checkItem combustion22 "Combustion dome" compute_comb NULL
         checkItem piston22 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int3ex0 "3-Intake 0-Exhaust"
         checkItem all30 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport130 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve130 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem intakeport230 "Intake port 2" compute_port_intake_2 NULL
         checkItem intakevalve230 "Intake valve 2" compute_valve_intake_2 NULL
         checkItem intakeport330 "Intake port 3" compute_port_intake_3 NULL
         checkItem intakevalve330 "Intake valve 3" compute_valve_intake_3 NULL
         checkItem combustion30 "Combustion dome" compute_comb NULL
         checkItem piston30 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int3ex1 "3-Intake 1-Exhaust"
         checkItem all31 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport131 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve131 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem intakeport231 "Intake port 2" compute_port_intake_2 NULL
         checkItem intakevalve231 "Intake valve 2" compute_valve_intake_2 NULL
         checkItem intakeport331 "Intake port 3" compute_port_intake_3 NULL
         checkItem intakevalve331 "Intake valve 3" compute_valve_intake_3 NULL
         checkItem exhaustport131 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve131 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem combustion31 "Combustion dome" compute_comb NULL
         checkItem piston31 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem int3ex2 "3-Intake 2-Exhaust"
         checkItem all32 "All" compute_all mw_ic3m_select_all_geom
         checkItem intakeport132 "Intake port 1" compute_port_intake_1 NULL
         checkItem intakevalve132 "Intake valve 1" compute_valve_intake_1 NULL
         checkItem intakeport232 "Intake port 2" compute_port_intake_2 NULL
         checkItem intakevalve232 "Intake valve 2" compute_valve_intake_2 NULL
         checkItem intakeport332 "Intake port 3" compute_port_intake_3 NULL
         checkItem intakevalve332 "Intake valve 3" compute_valve_intake_3 NULL
         checkItem exhaustport132 "Exhaust port 1" compute_port_exhaust_1 NULL
         checkItem exhaustvalve132 "Exhaust valve 1" compute_valve_exhaust_1 NULL
         checkItem exhaustport232 "Exhaust port 2" compute_port_exhaust_2 NULL
         checkItem exhaustvalve232 "Exhaust valve 2" compute_valve_exhaust_2 NULL
         checkItem combustion32 "Combustion dome" compute_comb NULL
         checkItem piston32 "Piston bowl" compute_piston NULL
      exclusiveGroupItem END
   exclusiveGroup END

dataEntryDialog END

dataEntryDialog ic3mComputeMeshDEZ "Create Mesh Files" 1

   exclusiveGroup mexistingvalves NULL "Valves" 1 DROPDOWN
      exclusiveGroupItem mint0ex0 "0-Intake 0-Exhaust"
         checkItem mall00 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mcombustion00 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston00 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint1ex0 "1-Intake 0-Exhaust"
         checkItem mall10 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport110 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve110 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mcombustion10 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston10 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint0ex1 "0-Intake 1-Exhaust"
         checkItem mall01 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mexhaustport101 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve101 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mcombustion01 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston01 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint1ex1 "1-Intake 1-Exhaust"
         checkItem mall11 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport111 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve111 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mexhaustport111 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve111 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mcombustion11 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston11 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint2ex0 "2-Intake 0-Exhaust"
         checkItem mall20 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport120 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve120 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mintakeport220 "Intake port 2" no_mesh_tet_intake_2 NULL
         checkItem mintakevalve220 "Intake valve 2" no_mesh_hex_intake_2 NULL
         checkItem mcombustion20 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston20 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint0ex2 "0-Intake 2-Exhaust"
         checkItem mall02 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mexhaustport102 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve102 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mexhaustport202 "Exhaust port 2" no_mesh_tet_exhaust_2 NULL
         checkItem mexhaustvalve202 "Exhaust valve 2" no_mesh_hex_exhaust_2 NULL
         checkItem mcombustion02 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston02 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint2ex1 "2-Intake 1-Exhaust"
         checkItem mall21 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport121 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve121 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mintakeport221 "Intake port 2" no_mesh_tet_intake_2 NULL
         checkItem mintakevalve221 "Intake valve 2" no_mesh_hex_intake_2 NULL
         checkItem mexhaustport121 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve121 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mcombustion21 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston21 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint1ex2 "1-Intake 2-Exhaust"
         checkItem mall12 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport112 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve112 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mexhaustport112 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve112 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mexhaustport212 "Exhaust port 2" no_mesh_tet_exhaust_2 NULL
         checkItem mexhaustvalve212 "Exhaust valve 2" no_mesh_hex_exhaust_2 NULL
         checkItem mcombustion12 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston12 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint2ex2 "2-Intake 2-Exhaust"
         checkItem mall22 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport122 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve122 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mintakeport222 "Intake port 2" no_mesh_tet_intake_2 NULL
         checkItem mintakevalve222 "Intake valve 2" no_mesh_hex_intake_2 NULL
         checkItem mexhaustport122 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve122 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mexhaustport222 "Exhaust port 2" no_mesh_tet_exhaust_2 NULL
         checkItem mexhaustvalve222 "Exhaust valve 2" no_mesh_hex_exhaust_2 NULL
         checkItem mcombustion22 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston22 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint3ex0 "3-Intake 0-Exhaust"
         checkItem mall30 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport130 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve130 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mintakeport230 "Intake port 2" no_mesh_tet_intake_2 NULL
         checkItem mintakevalve230 "Intake valve 2" no_mesh_hex_intake_2 NULL
         checkItem mintakeport330 "Intake port 3" no_mesh_tet_intake_3 NULL
         checkItem mintakevalve330 "Intake valve 3" no_mesh_hex_intake_3 NULL
         checkItem mcombustion30 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston30 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint3ex1 "3-Intake 1-Exhaust"
         checkItem mall31 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport131 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve131 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mintakeport231 "Intake port 2" no_mesh_tet_intake_2 NULL
         checkItem mintakevalve231 "Intake valve 2" no_mesh_hex_intake_2 NULL
         checkItem mintakeport331 "Intake port 3" no_mesh_tet_intake_3 NULL
         checkItem mintakevalve331 "Intake valve 3" no_mesh_hex_intake_3 NULL
         checkItem mexhaustport131 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve131 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mcombustion31 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston31 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END

      exclusiveGroupItem mint3ex2 "3-Intake 2-Exhaust"
         checkItem mall32 "All" mcompute_all mw_ic3m_select_all_mesh
         checkItem mintakeport132 "Intake port 1" no_mesh_tet_intake_1 NULL
         checkItem mintakevalve132 "Intake valve 1" no_mesh_hex_intake_1 NULL
         checkItem mintakeport232 "Intake port 2" no_mesh_tet_intake_2 NULL
         checkItem mintakevalve232 "Intake valve 2" no_mesh_hex_intake_2 NULL
         checkItem mintakeport332 "Intake port 3" no_mesh_tet_intake_3 NULL
         checkItem mintakevalve332 "Intake valve 3" no_mesh_hex_intake_3 NULL
         checkItem mexhaustport132 "Exhaust port 1" no_mesh_tet_exhaust_1 NULL
         checkItem mexhaustvalve132 "Exhaust valve 1" no_mesh_hex_exhaust_1 NULL
         checkItem mexhaustport232 "Exhaust port 2" no_mesh_tet_exhaust_2 NULL
         checkItem mexhaustvalve232 "Exhaust valve 2" no_mesh_hex_exhaust_2 NULL
         checkItem mcombustion32 "Combustion dome" no_mesh_comb NULL
         checkItem mpiston32 "Piston bowl" no_mesh_piston NULL
      exclusiveGroupItem END
   exclusiveGroup END

dataEntryDialog END

dataEntryDialog ic3mACFluxStationsDEZ "Ac-Flux Stations" 1

   frame ic3mACFluxStationsDEZFr "Ac-Flux Station"
      textEntry  ic3mACFluxStationsDEZFrNo    "Number of Stations" ::ic3m_ac_flux_station_no NUM
      
   frame END

dataEntryDialog END

dataEntryDialog ic3mMeshPreviewDEZ "Mesh Preview" 1

   textEntry     previewmstartang "Starting angle" starting_angle_dca NUM
   textEntry     previewmendang "Ending angle" ending_angle_dca NUM
   textEntry     previewmincrementang "Increment angle" increment_angle_dca NUM
   greyGroup     previewmeshacflux "Ac-Flux Mesh Preview"
      greyGroupItem meshacflux " "
         textEntry acfluxstnincrement "Incr btw stations" incr_list NUM
      greyGroupItem END
   greyGroup END

dataEntryDialog END

dataEntryDialog ic3mCompressionRatioDEZ "Compression Ratio" 1

   textButton    calculateCR  "Calculate Comp. Ratio"  "mw_ic3m_CalculateCompressionRatio"
   textEntry     calcompratio "Compression Ratio" cal_comp_ratio READONLY
   greyGroup     fixcompratio "Fix Comp. Ratio"
      greyGroupItem fixCR " "
         textEntry  fixcompression " "  fix_comp_ratio NUM
      greyGroupItem END
   greyGroup END

dataEntryDialog END

dataEntryDialog ic3mOutputDEZ "Output Mesh" 1

   exclusiveGroup ic3mOutputDEZexport NULL "Mesh Export" 2 RADIO
      exclusiveGroupItem ic3mOutputStarDEZexport "STAR-CD"
         exclusiveGroup ic3mOutputStarDEZmethod "Mesh Type" " " 2 RADIO
            exclusiveGroupItem ic3mOutputStarDEZtransient "Transient"
               textEntry     timestepCAStar "Timestep in CA" time_step_dca NUM
               textEntry     timestepStar "Timestep" time_step READONLY
            exclusiveGroupItem END
            
            exclusiveGroupItem ic3mOutputStarDEZsteady "Steady State"
               textEntry     angleStar "Angle" angle_dca NUM
               greyGroup cylinderStar "Extrude Cylinder"
                  greyGroupItem cylinderlengthtextStar " "
                     textEntry cylinderlengthValStar "Length " cyl_length NUM
                     textEntry numberoflayersStar "Number of Layers " nlayers_cyl NUM
                  greyGroupItem END
               greyGroup END
            exclusiveGroupItem END
         exclusiveGroup END
     
         greyGroup fixStar "Fix Cell Type"
            greyGroupItem celltypeStar " "
               textEntry fixcelltypeStar " " fix_cell_type NUM
            greyGroupItem END
         greyGroup END

         greyGroup ic3mOutputStarDEZprocessor "Processors"
            greyGroupItem singleprocessorStar "Single"
            greyGroupItem END

            greyGroupItem multipleprocessorsStar "Multiple"
               textEntry numberofprocessorsStar "Number of Processors " number_processors NUM
            greyGroupItem END
         greyGroup END
         
         exclusiveGroup platform "Platform for STAR-CD run" " " 13 DROPDOWN
            exclusiveGroupItem Linux1 "Linux"
            exclusiveGroupItem END
            exclusiveGroupItem Linux2 "Linux 64 bit"
            exclusiveGroupItem END
            exclusiveGroupItem Linux3 "Linux 64 bit AMD"
            exclusiveGroupItem END
            exclusiveGroupItem IRIXMips4 "IRIX Mips4"
            exclusiveGroupItem END
            exclusiveGroupItem IRIX64Mips4 "IRIX64 Mips4"
            exclusiveGroupItem END
            exclusiveGroupItem SunOS57 "SunOS 5.7"
            exclusiveGroupItem END
            exclusiveGroupItem SunOS64 "SunOS64 UltraSparc"
            exclusiveGroupItem END
            exclusiveGroupItem HPUX1 "HP-UX11.x PA-RISC 2.0"
            exclusiveGroupItem END
            exclusiveGroupItem HPUX2 "HP-UX11.x PA-RISC 2.0 32 bit"
            exclusiveGroupItem END
            exclusiveGroupItem AlX1 "AlX 4.1"
            exclusiveGroupItem END
            exclusiveGroupItem AlX2 "AlX 4.3"
            exclusiveGroupItem END
            exclusiveGroupItem AlX3 "AlX 5.1 64bit"
            exclusiveGroupItem END
            exclusiveGroupItem OSF1 "OSF1"
            exclusiveGroupItem END
         exclusiveGroup END

         greyGroup ic3mOutputStartDEZprecision "Precision"
            greyGroupItem ic3mOutputStarDEZsingle "Single"
            greyGroupItem END

            greyGroupItem ic3mOutputStarDEZdouble "Double"
            greyGroupItem END
         greyGroup END
      exclusiveGroupItem END

      exclusiveGroupItem ic3mOutputFluentDEZexport "FLUENT"
         exclusiveGroup ic3mOutputFluentDEZmethod "Mesh Type" " " 2 RADIO
            exclusiveGroupItem ic3mOutputFluentDEZtransient "Transient"
               textEntry     timestepCAFluent "Timestep in CA" time_step_dca NUM
               textEntry     timestepFluent "Timestep" time_step READONLY
            exclusiveGroupItem END

            exclusiveGroupItem ic3mOutputFluentDEZsteady "Steady State"
               textEntry     angleFluent "Angle" angle_dca NUM
               greyGroup cylinderFluent "Extrude Cylinder"
                  greyGroupItem cylinderlengthtextFluent " "
                     textEntry cylinderlengthValFluent "Length " cyl_length NUM
                     textEntry numberoflayersFluent "Number of Layers " nlayers_cyl NUM
                  greyGroupItem END
               greyGroup END
            exclusiveGroupItem END
         exclusiveGroup END

         greyGroup ic3mOutputFluentDEZprocessor "Processors"
            greyGroupItem singleprocessorFluent "Single"
            greyGroupItem END

            greyGroupItem multipleprocessorsFluent "Multiple"
               textEntry numberofprocessorsFluent "Number of Processors " number_processors NUM
            greyGroupItem END
         greyGroup END
      exclusiveGroupItem END

      exclusiveGroupItem ic3mOutputAcfluxDEZexport "AC-FLUX"
      exclusiveGroupItem END
   exclusiveGroup END
   
dataEntryDialog END

