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

# solverDEZs.ttkrf
# AI*Environment Prototype GUI Layout 2
# Meshing DEZ File
#
# E. Miller
# 5/21/02
#
#--------------------------------------------------------
dataEntryDialog setupNastranRunDEZ "Setup Analysis Type" nosave
   exclusiveGroup SetupOptions4 "Solver:" " " 1 DROPDOWN solve_format4

    exclusiveGroupItem NastranSetup4 "NASTRAN"
exclusiveGroup setupNastranEXG "Executive & Case Control Cards" "Run Type" 6 DROPDOWN runType

    exclusiveGroupItem setupNastranStress "Linear Static (Sol 101)"

	frame setupStressRuntitleStr "Executive Control Cards"

		textEntry timeStaticStr "Run Time (TIME)" time NUM
		integerEntry maxlinesStaticStr "Max Output Lines (MAXLINES)" maxlines 0 1000000 1

		dropDownEntry echoStaticStr "Write Input Lines (ECHO)" echoList echo FALSE

                   fileChooser EXECINCLUDEStaticStr "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"

	frame END

	#dialogSpace 1

	#frame outputStaticStr "Output Requests"
	#	checkItem dispStaticStr "Displacement (DISP)" disp FALSE
	#	checkItem stressStaticStr "Stress (STRESS)" stress FALSE
	#	checkItem strainStaticStr "Strain (STRAIN)" strain FALSE
	#	checkItem eseStaticStr "Element strain energy (ESE)" ese FALSE
	#frame END
	
	dialogSpace 1

	frame beginBulk_StaticStr "Parameters (PARAM)"
		textEntry paramWTMASSStr  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTStr  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIOStr  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSStr  "Coupled Mass (COUPMASS)" coupmass NUM
		checkItem paramAUTOSPCStr "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTStr "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END


	dialogSpace 1

	frame setsStaticStr "Loads and Constraints Sets"
		dropDownEntry spc "Single Point Constraints (SPC)" Single_Point_ConstraintsList SPC FALSE
		dropDownEntry mpc "Multipoint Constraints (MPC)" Multi_Point_ConstraintsList MPC FALSE
		dropDownEntry load "Load Set (LOAD)" Load_SetList LOAD FALSE
		dropDownEntry temp "Temperature Set (TEMP)" Temp_SetList TEMP FALSE
	frame END

	dialogSpace 1

	frame outputStaticStr "Output Requests"
		#checkItem dispStaticStr "Displacement (DISP)" DISP FALSE
		#checkItem stressStaticStr "Stress (STRESS)" STRESS FALSE
		#checkItem strainStaticStr "Strain (STRAIN)" STRAIN FALSE
		#checkItem eseStaticStr "Element Strain Energy (ESE)" ESE FALSE
                   dropDownEntry dispStaticStr "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry stressStaticStr "Stress (STRESS)" OptionsList STRESS FALSE
                   dropDownEntry strainStaticStr "Strain (STRAIN)" OptionsList STRAIN FALSE
                   dropDownEntry eseStaticStr "Element Strain Energy (ESE)" OptionsList ESE FALSE
	frame END
	
	dialogSpace 1

	frame CaseControl_StaticStr "Case Control Cards"
                  textEntry TITLESubcaseStaticStr "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseStaticStr "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseStaticStr "Output Label (LABEL)" LABEL TEXT
                  fileChooser INCLUDESubcaseStaticStr "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranModal "Modal (Sol 103)"

	frame setupStressRuntitleMod "Executive Control Cards"

		#dropDownEntry subcaseMod "Subcase" subcaseList subcase FALSE

		textEntry timeStaticMod "Run Time (TIME)" time NUM
		textEntry maxlinesStaticMod "Max Output Lines (MAXLINES)" maxlines NUM

		dropDownEntry echoStaticMod "Write Input Lines (ECHO)" echoList echo FALSE

                   fileChooser EXECINCLUDEStaticMod "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"

	frame END

	dialogSpace 1

	frame beginBulk_StaticMod "Parameters (PARAM)"
		textEntry paramWTMASSMod  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTMod  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIOMod  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSMod  "Coupled Mass (COUPMASS)" coupmass NUM
		checkItem paramAUTOSPCMod "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTMod "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END

	dialogSpace 1

	frame outputStaticMod "Output Requests"
		#checkItem dispStaticMod "Displacement (DISP)" DISP FALSE
		#checkItem eseStaticMod "Element Strain Energy (ESE)" ESE FALSE
                   dropDownEntry dispStaticModr "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry eseStaticMod "Element Strain Energy (ESE)" OptionsList ESE FALSE
	frame END
	
	dialogSpace 1

	frame CaseControl_ModalMod "Case Control Cards"
                  textEntry TITLESubcaseStaticMod "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseStaticMod "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseStaticMod "Output Label (LABEL)" LABEL TEXT
                  dropDownEntry EIGRL_ModalMod "Eigenvalue Extraction (METHOD)" EIGRLList eigrl TRUE
	         dialogSpace 1
                  fileChooser INCLUDESubcaseStaticMod "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranBuckl "Buckling Analysis (Sol 105)"

	frame setupStressRuntitleBuckl "Executive Control Cards"

		#dropDownEntry subcaseMod "Subcase" subcaseList subcase FALSE

		textEntry timeStaticBuckl "Run Time (TIME)" time NUM
		textEntry maxlinesStaticBuckl "Max Output Lines (MAXLINES)" maxlines NUM

		dropDownEntry echoStaticBuckl "Write Input Lines (ECHO)" echoList echo FALSE

                   fileChooser EXECINCLUDEStaticBuckl "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"

	frame END

	dialogSpace 1

	frame outputStaticBuckl "Output Requests"
		#checkItem dispStaticBuckl "Displacement (DISP)" DISP FALSE
		#checkItem eseStaticBuckl "Element Strain Energy (ESE)" ESE FALSE
                   dropDownEntry dispStaticBuckl "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry eseStaticBuckl "Element Strain Energy (ESE)" OptionsList ESE FALSE
	frame END
	
	dialogSpace 1

	frame beginBulk_StaticBuckl "Parameters (PARAM)"
		textEntry paramWTMASSBuckl  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTBuckl  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIOBuckl  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSBuckl  "Coupled Mass (COUPMASS)" coupmass NUM
		checkItem paramAUTOSPCBuckl "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTBuckl "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END

	dialogSpace 1

	frame CaseControl_EIGB_Buckl "Case Control Cards"
                  textEntry TITLESubcaseStaticBuckl "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseStaticBuckl "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseStaticBuckl "Output Label (LABEL)" LABEL TEXT
                  dropDownEntry EIGB_Buckl "Buckling Analysis (METHOD)" EIGBList eigb TRUE
	         dialogSpace 1
                  fileChooser INCLUDESubcaseStaticBuckl "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranNonlinear "Nonlinear Static (Sol 106)"

	frame setupStressRuntitleNLStr "Executive Control Cards"

		textEntry timeNLStaticStr "Run Time (TIME)" time NUM
		integerEntry maxlinesNLStaticStr "Max Output Lines (MAXLINES)" maxlines 0 1000000 1

		dropDownEntry echoNLStaticStr "Write Input Lines (ECHO)" echoList echo FALSE

                   fileChooser EXECINCLUDENLStaticStr "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"

	frame END

	dialogSpace 1

	frame beginBulk_NLStaticStr "Parameters (PARAM)"
		textEntry paramWTMASSNL  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTSNL  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIONL  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSNL  "Coupled Mass (COUPMASS)" coupmass NUM
		textEntry paramLGDISPNL  "Large Displacement (LGDISP)" lgdisp NUM
		checkItem paramAUTOSPCNL "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTNL "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END


	dialogSpace 1

	frame setsNLStaticStr "Loads and Constraints Sets"
		dropDownEntry spcNL "Single Point Constraints (SPC)" Single_Point_ConstraintsList SPC FALSE
		dropDownEntry mpcNL "Multipoint Constraints (MPC)" Multi_Point_ConstraintsList MPC FALSE
		dropDownEntry loadNL "Load Set (LOAD)" Load_SetList LOAD FALSE
		dropDownEntry tempNL "Temperature Set (TEMP)" Temp_SetList TEMP FALSE
	frame END

	dialogSpace 1

	frame outputNLStaticStr "Output Requests"
		#checkItem dispNLStaticStr "Displacement (DISP)" DISP FALSE
		#checkItem stressNLStaticStr "Stress (STRESS)" STRESS FALSE
		#checkItem strainNLStaticStr "Strain (STRAIN)" STRAIN FALSE
		#checkItem eseNLStaticStr "Element Strain Energy (ESE)" ESE FALSE
                   dropDownEntry dispNLStaticStr "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry stressNLStaticStr "Stress (STRESS)" OptionsList STRESS FALSE
                   dropDownEntry strainNLStaticStr "Strain (STRAIN)" OptionsList STRAIN FALSE
                   dropDownEntry eseNLStaticStr "Element Strain Energy (ESE)" OptionsList ESE FALSE
	frame END

	dialogSpace 1

        frame CaseControl_NLParm "Case Control Cards"
                  textEntry TITLESubcaseNLStaticStr "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseNLStaticStr "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseNLStaticStr "Output Label (LABEL)" LABEL TEXT
                  dropDownEntry NLParm "Nonlinear Static Analysis (NLPARM)" NLPARMList nlparm TRUE
	         dialogSpace 1
                  fileChooser INCLUDESubcaseNLStaticStr "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranSEDFREQ "Direct Frequency Response (Sol 108)"

	frame setupExecutiveSEDFREQ "Executive Control Cards"
		textEntry timeSEDFREQ "Run Time (TIME)" time NUM
		textEntry maxlinesSEDFREQ "Max Output Lines (MAXLINES)" maxlines NUM
		dropDownEntry echoSEDFREQ "Write Input Lines (ECHO)" echoList echo FALSE
                   fileChooser EXECINCLUDENLSEDFREQ "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

	dialogSpace 1

	frame ParameterSEDFREQ "Parameters (PARAM)"
		textEntry paramWTMASSSEDFREQ  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTSEDFREQ  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIOSEDFREQ  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSFREQ  "Coupled Mass (COUPMASS)" coupmass NUM
		textEntry paramGFREQ  "Structual Coeficient (G)" g NUM
		checkItem paramAUTOSPCSEDFREQ "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTSEDFREQ "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END

	dialogSpace 1

	frame outputSEDFREQ "Output Requests"
		#checkItem dispSEDFREQ "Displacement (DISP)" DISP FALSE
		#checkItem stressSEDFREQ "Stress (STRESS)" STRESS FALSE
		#checkItem strainSEDFREQ "Strain (STRAIN)" STRAIN FALSE
		#checkItem eseSEDFREQ "Element Strain Energy (ESE)" ESE FALSE
                   dropDownEntry dispSEDFREQ "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry stressSEDFREQ "Stress (STRESS)" OptionsList STRESS FALSE
                   dropDownEntry strainSEDFREQ "Strain (STRAIN)" OptionsList STRAIN FALSE
                   dropDownEntry eseSEDFREQ "Element Strain Energy (ESE)" OptionsList ESE FALSE
	frame END
	
	dialogSpace 1

	frame CaseControlSEDFREQ "Case Control Cards"
                  textEntry TITLESubcaseSEDFREQ "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseSEDFREQ "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseSEDFREQ "Output Label (LABEL)" LABEL TEXT
                  dropDownEntry DLOAD_SEDFREQ "Dynamic Load (DLOAD)" DLOADList dload TRUE
                  dropDownEntry TSTEP_SEDFREQ "FREQUENCY" FREQList freq TRUE
	         dialogSpace 1
                  fileChooser INCLUDESubcaseSEDFREQ "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranSEDTRAN "Direct Transient Response (Sol 109)"

	frame setupExecutiveSEDTRAN "Executive Control Cards"
		textEntry timeSEDTRAN "Run Time (TIME)" time NUM
		textEntry maxlinesSEDTRAN "Max Output Lines (MAXLINES)" maxlines NUM
		dropDownEntry echoSEDTRAN "Write Input Lines (ECHO)" echoList echo FALSE
                   fileChooser EXECINCLUDESEDTRAN "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

	dialogSpace 1

	frame ParameterSEDTRAN "Parameters (PARAM)"
		textEntry paramWTMASSSEDTRAN  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTSEDTRAN  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIOSEDTRAN  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSTRAN  "Coupled Mass (COUPMASS)" coupmass NUM
		textEntry paramGSTRAN  "Structual Coeficient (G)" g NUM
		textEntry paramW3STRAN  "Structual Coeficient (W3)" w3 NUM
		checkItem paramAUTOSPCSEDTRAN "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTSEDTRAN "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END

	dialogSpace 1

	frame outputSEDTRAN "Output Requests"
		#checkItem dispSEDTRAN "Displacement (DISP)" DISP FALSE
		#checkItem stressSEDTRAN "Stress (STRESS)" STRESS FALSE
		#checkItem strainSEDTRAN "Strain (STRAIN)" STRAIN FALSE
		#checkItem eseSEDTRAN "Element Strain Energy (ESE)" ESE FALSE
		#checkItem velocitySEDTRAN "Velocity (VELOCITY)" VELOCITY FALSE
                   dropDownEntry dispSEDTRAN "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry stressSEDTRAN "Stress (STRESS)" OptionsList STRESS FALSE
                   dropDownEntry strainSEDTRAN "Strain (STRAIN)" OptionsList STRAIN FALSE
                   dropDownEntry eseSEDTRAN "Element Strain Energy (ESE)" OptionsList ESE FALSE
		dropDownEntry velocitySEDTRAN "Velocity (VELOCITY)" OptionsList VELOCITY FALSE
	frame END
	
	dialogSpace 1

	frame CaseControlSEDTRAN "Case Control Cards"
                  textEntry TITLESubcaseSEDTRAN "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseSEDTRAN "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseSEDTRAN "Output Label (LABEL)" LABEL TEXT
                  dropDownEntry DLOAD_SEDTRAN "Dynamic Load (DLOAD)" DLOADList dload TRUE
                  dropDownEntry TSTEP_SEDTRAN "Transient Time Step (TSTEP)" TSTEPList tstep TRUE
	         dialogSpace 1
                  fileChooser INCLUDESubcaseSEDTRAN "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranSEMFREQ "Modal Frequency Response (Sol 111)"

	frame setupExecutiveSEMFREQ "Executive Control Cards"
		textEntry timeSEMFREQ "Run Time (TIME)" time NUM
		textEntry maxlinesSEMFREQ "Max Output Lines (MAXLINES)" maxlines NUM
		dropDownEntry echoSEMFREQ "Write Input Lines (ECHO)" echoList echo FALSE
                   fileChooser EXECINCLUDESEMFREQ "Executive Include File" include_exec FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

	dialogSpace 1

	frame ParameterSEMFREQ "Parameters (PARAM)"
		textEntry paramWTMASSSEMFREQ  "Mass Multiplier (WTMASS)" wtmass NUM
		textEntry paramK6ROTSEMFREQ  "Rotation Stiffness Adjustment (K6ROT)" k6rot NUM
		textEntry paramMAXRATIOSEMFREQ  "Max ratio (MAXRATIO)" maxratio NUM
		textEntry paramCOUPMASSSEMFREQ  "Coupled Mass (COUPMASS)" coupmass NUM
		textEntry paramGSEMFREQ  "Structual Coeficient (G)" g NUM
		checkItem paramAUTOSPCSEMFREQ "Constrain Singularities (AUTOSPC)" autospc FALSE
		checkItem paramGRDPNTSEMFREQ "Grid Weights (GRDPNT)" grdpnt FALSE
	frame END

	dialogSpace 1

	frame outputSEMFREQ "Output Requests"
		#checkItem dispSEMFREQ "Displacement (DISP)" DISP FALSE
		#checkItem stressSEMFREQ "Stress (STRESS)" STRESS FALSE
		#checkItem strainSEMFREQ "Strain (STRAIN)" STRAIN FALSE
		#checkItem eseSEMFREQ "Element Strain Energy (ESE)" ESE FALSE
		#checkItem velocitySEMFREQ "Velocity (VELOCITY)" VELOCITY FALSE
		#checkItem accelerationSEMFREQ "Acceleration (ACCELERATION)" ACCELERATION FALSE
                   dropDownEntry dispSEMFREQ "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry stressSEMFREQ "Stress (STRESS)" OptionsList STRESS FALSE
                   dropDownEntry strainSEMFREQ "Strain (STRAIN)" OptionsList STRAIN FALSE
                   dropDownEntry eseSEMFREQ "Element Strain Energy (ESE)" OptionsList ESE FALSE
		dropDownEntry velocitySEMFREQ "Velocity (VELOCITY)" OptionsList VELOCITY FALSE
		dropDownEntry accelerationSEMFREQ "Acceleration (ACCELERATION)" OptionsList ACCELERATION FALSE
	frame END
	
	dialogSpace 1

	frame CaseControlSEMFREQ "Case Control Cards"
                  textEntry TITLESubcaseSEMFREQ "Output Title (TITLE)" TITLE TEXT
                  textEntry SUBTITLESubcaseSEMFREQ "Output SubTitle (SUBTITLE)" SUBTITLE TEXT
                  textEntry LABELSubcaseSEMFREQ "Output Label (LABEL)" LABEL TEXT
                  dropDownEntry METHOD_SEMFREQ "Eigenvalue Extraction (METHOD)" EIGRLList eigrl TRUE
                  dropDownEntry DLOAD_SEMFREQ "Dynamic Load (DLOAD)" DLOADList dload TRUE
                  dropDownEntry TSTEP_SEMFREQ "FREQUENCY" FREQList freq TRUE
                  dropDownEntry SDAMP_SEMFREQ "Structural Damping (SDAMPING)" SDAMPList sdamp TRUE
	         dialogSpace 1
                  fileChooser INCLUDESubcaseSEMFREQ "Case Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"
	frame END

    exclusiveGroupItem END

    exclusiveGroupItem setupNastranLegacy "Legacy (SOL 999)"
    exclusiveGroupItem END

exclusiveGroup END
    exclusiveGroupItem END

	ifdef AI_ENV_ANSYS
	exclusiveGroupItem AnsysSetup4 "ANSYS"
#		dropDownEntry ansys_meshOrder "Mesh Order" ansys_orderList ansys_order FALSE
#		dialogSpace 1
		exclusiveGroup setupAnsysType "Ansys Analysis Options" "Analysis Category" 1 DROPDOWN ansys_Type
			exclusiveGroupItem AnsysType1 "Structural"
				exclusiveGroup setupAnsysEXG "Structural Analysis Options" "Analysis Type" 1 DROPDOWN ansys_anType
					exclusiveGroupItem setupAnsysNone "None"
					exclusiveGroupItem END
    				exclusiveGroupItem setupAnsysStatic "Static"
						greyGroup ansysStatSolv "Solver"
							greyGroupItem ansysStatSolv0 "Auto"
							greyGroupItem END
							greyGroupItem ansysStatSolv1 "Direct"
							greyGroupItem END
							greyGroupItem ansysStatSolv2 "PCG"
							dialogSpace 1
								textEntry ansysTol "Tolerance" ansys_solv_tol NUM
								textEntry ansysMult "Convergence Multiplier" ansys_solv_mult NUM
							greyGroupItem END
						greyGroup END
						textEntry ansysSubStep "Number of Substeps" ansys_NSUBST INT
						dropDownEntry ansysLarge "Large Deformation Key" ansys_largeList ansys_NLGEOM FALSE
					exclusiveGroupItem END
    				exclusiveGroupItem setupAnsysModal "Modal"
						radioGroup ansysModSolv "Mode Extraction Method" 1 ansys_mod_solv 0 NULL
							radioItem  ansysModSolv1 "Block Lanczos" 0
							textEntry ansysModNum "Number of Modes to Extract" ansys_mod_n INT
							textEntry ansysModF1 "Beginning (Lower End) Frequency" ansys_freq NUM
							textEntry ansysModF2 "Ending (Upper End) Frequency" ansys_freq2 NUM
							dropDownEntry ansysModNorm "Mode Shape Normalization Key" ansys_normList ansys_mod_norm FALSE
							dropDownEntry ansysModCE "Constraint Equation Processing Key" ansys_ceList ansys_mod_ce FALSE
							dropDownEntry ansysModElem "Element Calculation Key" ansys_elemList ansys_mod_expec FALSE
						radioGroup END
					exclusiveGroupItem END
				exclusiveGroup END
			exclusiveGroupItem END 
			exclusiveGroupItem AnsysType2 "Thermal"
				exclusiveGroup setupAnsysThermal "Thermal Analysis Options" "Analysis Type" 1 DROPDOWN ansys_thType
					exclusiveGroupItem ThermalAnsysNone "None"
					exclusiveGroupItem END
					exclusiveGroupItem ThermalAnsysStatic "Static"
						greyGroup ansysThermStatSolv "Solver"
							greyGroupItem ansysThermStatSolv0 "Auto"
							greyGroupItem END
							greyGroupItem ansysThermStatSolv1 "Direct"
							greyGroupItem END
							greyGroupItem ansysThermStatSolv2 "ICCG"
								dialogSpace 1
								textEntry ansysThermTol "Tolerance" ansys_therm_solv_tol NUM
							greyGroupItem END
						greyGroup END
						textEntry ansysThermSubStep "Number of Substeps" ansys_therm_NSUBST INT
						dropDownEntry ansysThermLarge "Large Deformation Key" ansys_therm_largeList ansys_therm_NLGEOM FALSE
					exclusiveGroupItem END
				exclusiveGroup END
			exclusiveGroupItem END
		exclusiveGroup END
	exclusiveGroupItem END
	endif

	ifdef AI_ENV_LSDYNA
	exclusiveGroupItem LsdynaSetup4 "LS-Dyna"
		textEntry lsdynaTitle "Title" lsdyna_title TEXT
		textEntry lsdynaDensity "Density for Spring & Damper elements" lsdyna_rho NUM
		dialogSpace 1
#		exclusiveGroup lsdynaMatSolidEXG "Default Material for SOLID Elements" "Material Type" 1 DROPDOWN lsdynaMatSolidVal
#			exclusiveGroupItem lsdynaMatSolid1 "Type 1: *MAT_ELASTIC" 0
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatSolid3 "Type 3: *MAT_PLASTIC_KINEMATIC" 1
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatSolid18 "Type 18: *MAT_POWER_LAW_PLASTICITY" 2
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatSolid19 "Type 19: *MAT_STRAIN_RATE_DEPENDENT_PLASTICITY" 3
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatSolid20 "Type 20: *MAT_RIGID" 4
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatSolid24 "Type 24: *MAT_PIECEWISE_LINEAR_PLASTICITY" 5
#				textEntry lsdynaSolid24Sigy "Yield stress" solid_sigy NUM
#				textEntry lsdynaSolid24Fail "Failure flag" solid_fail NUM
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatSolid64 "Type 64: *MAT_RATE_SENSITIVE_POWERLAW_PLASTICITY" 6
#			exclusiveGroupItem END
#		exclusiveGroup END
#		dialogSpace 1
#		exclusiveGroup lsdynaMatShellEXG "Default Material for SHELL Elements" "Material Type" 1 DROPDOWN lsdynaMatShellVal
#			exclusiveGroupItem lsdynaMatShell1 "Type 1: *MAT_ELASTIC" 0
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell3 "Type 3: *MAT_PLASTIC_KINEMATIC" 1
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell18 "Type 18: *MAT_POWER_LAW_PLASTICITY" 2
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell19 "Type 19: *MAT_STRAIN_RATE_DEPENDENT_PLASTICITY" 3
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell20 "Type 20: *MAT_RIGID" 4
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell24 "Type 24: *MAT_PIECEWISE_LINEAR_PLASTICITY" 5
#				textEntry lsdynaShell24Sigy "Yield stress" shell_sigy NUM
#				textEntry lsdynaShell24Fail "Failure flag" shell_fail NUM
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell28 "Type 28: *MAT_RESULTANT_PLASTICITY" 6
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatShell64 "Type 64: *MAT_RATE_SENSITIVE_POWERLAW_PLASTICITY" 7
#			exclusiveGroupItem END
#		exclusiveGroup END
#		dialogSpace 1
#		exclusiveGroup lsdynaFormBeamEXG "Default Formulation for BEAM Elements" "Beam Type" 1 DROPDOWN lsdynaFormBeamVal
#			exclusiveGroupItem lsdynaFormBeam1 "Type 1H: Hughes-Liu" 0
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaFormBeam2 "Type 1B: Belytschko Resultant" 1
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaFormBeam3 "Type 1T: Truss" 2
#			exclusiveGroupItem END
#		exclusiveGroup END
#		dialogSpace 1
#		exclusiveGroup lsdynaMatBeamEXG "Default Material for BEAM Elements" "Material Type" 1 DROPDOWN lsdynaMatBeamVal
#			exclusiveGroupItem lsdynaMatBeam1 "Type 1: *MAT_ELASTIC" 0
#			exclusiveGroupItem END
#			exclusiveGroupItem lsdynaMatBeam20 "Type 20: *MAT_RIGID" 1
#			exclusiveGroupItem END
#		exclusiveGroup END
	exclusiveGroupItem END
	endif

	ifdef AI_ENV_ABAQUS
	exclusiveGroupItem AbaqusSetup4 "Abaqus"

		exclusiveGroup setupAbaqusType "Abaqus Analysis Options" "Analysis Category" 1 DROPDOWN abaqus_Type
			exclusiveGroupItem AbaqusType1 "Structural"
				exclusiveGroup setupAbaqusEXG "Structural Analysis Options" "Analysis Type" 1 DROPDOWN abaqus_anType
					textEntry abaqusINC "Maximum increments" abaqus_INC INT
					dropDownEntry abaqusAMP "Step amplitude" abaqus_ampList abaqus_AMPLITUDE FALSE
					dropDownEntry abaqusNLG "Include large displacement effects" abaqus_nlgList abaqus_NLGEOM FALSE
#					exclusiveGroupItem setupAbaqusNone "None"
#					exclusiveGroupItem END
					exclusiveGroupItem setupAbaqusStatic "Static"
						textEntry abaqusStaticTimeInit "Initial time increment" abaqus_initi NUM
						textEntry abaqusStaticTimeStep "Time period of step" abaqus_timei NUM
						textEntry abaqusStaticTimeMin "Minimum time increment" abaqus_mini NUM
						textEntry abaqusStaticTimeMax "Maximum time increment" abaqus_maxi NUM
					exclusiveGroupItem END
					exclusiveGroupItem setupAbaqusModal "Natural frequency extraction"
						dropDownEntry abaqusModSolv "Eigensolver" abaqus_modsolvList abaqus_mod_solv FALSE
						textEntry abaqusModNum "Number of Modes to Extract" abaqus_mod_n INT
						textEntry abaqusModF1 "Beginning (minimum) Frequency" abaqus_mod_freq1 NUM
						textEntry abaqusModF2 "Ending (maximum) Frequency" abaqus_mod_freq2 NUM
						textEntry abaqusModShift "Shift point" abaqus_mod_shift NUM
						textEntry abaqusModIter "Maximum iterations" abaqus_mod_iter INT
						dropDownEntry abaqusModNorm "Normalize by" abaqus_normList abaqus_mod_norm FALSE
					exclusiveGroupItem END
				exclusiveGroup END
			exclusiveGroupItem END 
		exclusiveGroup END

	exclusiveGroupItem END
	endif

	ifdef AI_ENV_AUTODYN
	exclusiveGroupItem AutodynSetup4 "AUTODYN"
		textEntry autodynTitle "Title" autodyn_title TEXT
		textEntry autodynDensity "Density for Spring & Damper elements" lsdyna_rho NUM
	exclusiveGroupItem END
	endif

    exclusiveGroup END
dataEntryDialog END

#-------------------------------------------------

dataEntryDialog subcaseDEZ "Create or Modify Subcase" nosave 
  exclusiveGroup SetupOptions5 "Solver:" " " 1 DROPDOWN solve_format5
    exclusiveGroupItem NastranSetup5 "NASTRAN"
	checkItem SubcaseOn "Active" subcase_active TRUE
	integerEntry Subcase_ID "ID" Subcase_ID 1 1000 1
	
         textEntry subcasetitle "Subcase Output Title (TITLE)" TITLE TEXT
         textEntry subcasesubtitle "Subcase Output SubTitle (SUBTITLE)" SUBTITLE TEXT
         textEntry subcaselabel "Subcase Output Label (LABEL)" LABEL TEXT
	dialogSpace 1
	dropDownEntry subcasespc "Single Point Constraints (SPC)" Single_Point_ConstraintsList SPC FALSE
	dropDownEntry subcasempc "Multipoint Constraints (MPC)" Multi_Point_ConstraintsList MPC FALSE
	dropDownEntry subcaseload "Load Set (LOAD)" Load_SetList LOAD FALSE
	dropDownEntry subcasetemp "Temperature Set (TEMP)" Temp_SetList TEMP FALSE
	dialogSpace 1
         #textEntry subcasemethod "Real Eigenvalue Extraction Method (METHOD)" METHOD NUM
         dropDownEntry subcase_method "Real Eigenvalue Extraction Method (METHOD)" EIGSList eigs TRUE
         dropDownEntry subNLParm "Nonlinear Static Analysis (NLPARM)" NLPARMList nlparm TRUE
         dropDownEntry subDLOAD_SEDFREQ "Dynamic Load (DLOAD)" DLOADList dload TRUE
         dropDownEntry subTSTEP_SEDFREQ "FREQUENCY" FREQList freq TRUE
         dropDownEntry subTSTEP_SEDTRAN "Transient Time Step (TSTEP)" TSTEPList tstep TRUE
         dropDownEntry subSDAMP_SEMFREQ "Structural Damping (SDAMPING)" SDAMPList sdamp TRUE

	dialogSpace 1

	frame suboutputStaticStr "Output Requests"
		#checkItem subdispStaticStr "Displacement (DISP)" DISP FALSE
		#checkItem substressStaticStr "Stress (STRESS)" STRESS FALSE
		#checkItem substrainStaticStr "Strain (STRAIN)" STRAIN FALSE
		#checkItem subeseStaticStr "Element Strain Energy (ESE)" ESE FALSE
                   dropDownEntry subdispStaticStr "Displacement (DISP)" OptionsList DISP FALSE
                   dropDownEntry substressStaticStr "Stress (STRESS)" OptionsList STRESS FALSE
                   dropDownEntry substrainStaticStr "Strain (STRAIN)" OptionsList STRAIN FALSE
                   dropDownEntry subeseStaticStr "Element Strain Energy (ESE)" OptionsList ESE FALSE
		dropDownEntry subvelocityStaticStr "Velocity (VELOCITY)" OptionsList VELOCITY FALSE
		dropDownEntry subaccelerationStaticStr "Acceleration (ACCELERATION)" OptionsList ACCELERATION FALSE
	frame END

	dialogSpace 1
         fileChooser INCLUDESubcase "Subcase Include File" INCLUDE FALSE "Include File,  .dat .nas .bdf, All Files, .*"

	#textEntry method "Real Eigenvalue Method (METHOD)" Real_Eigenvalue_Method NUM

#	exclusiveGroup subcaseEXG "Subcase Parameters" "Type" 6 DROPDOWN Subcase_Type

#	exclusiveGroupItem subseqSub "Subsequence"

#	textEntry Sequence "Subset Sequence" Subcase_Combination TEXT
	
#	exclusiveGroupItem END

#	exclusiveGroupItem subcaseSub "Subcase"

#		frame LoadSelectionframe "Load Selection"
#			textEntry Element_Deformation_Set "Element Deformation Set" Element_Deformation_Set NUM
#			textEntry Static_Load_Set "Static Load Set" Static_Load_Set NUM 
#			textEntry Static_Load_Sequence "Static Load Sequence" Static_Load_Sequence NUM 
#			textEntry Dynamic_Load_Set "Dynamic Load Set" Dynamic_Load_Set NUM 
#			textEntry Nonlinear_Load_Set "Nonlinear Load Set" Nonlinear_Load_Set NUM 
#		frame END
#		frame ThermalFieldSelectionframe "Thermal Field Selection"
#			textEntry Temperature_Set "Temperature Set" Temperature_Set NUM 
#			textEntry Temp_Set_Static_Load "Temp Set Static Load" Temp_Set_Static_Load NUM 
#			textEntry Temp_Set_Matl_Props "Temp Set Matl Props" Temp_Set_Matl_Props NUM 
#			textEntry Temp_Initial_Distribution "Temp Initial Distribution" Temp_Initial_Distribution NUM 
#		frame END
#		frame ConstraintSelectionframe "Constraint Selection"
#			textEntry Single_Point_Constraints "Single Point Constraints" Single_Point_Constraints NUM 
#			textEntry Multipoint_Constraints "Multipoint Constraints" Multipoint_Constraints NUM 
#		frame END
#		frame DynamicSolutionControlsframe "Dynamic Solution Controls"
#			textEntry Real_Eigenvalue_Method "Real Eigenvalue Method" Real_Eigenvalue_Method NUM 
#			textEntry Complex_Eigenvalue_Method "Complex Eigenvalue Method" Complex_Eigenvalue_Method NUM 
#			textEntry Forcing_Frequencies "Forcing Frequencies" Forcing_Frequencies NUM 
#			textEntry Structural_Damping_Set "Structural Damping Set" Structural_Damping_Set NUM 
#		frame END
#	exclusiveGroupItem END
#
#	exclusiveGroup END

    exclusiveGroupItem END

	ifdef AI_ENV_ANSYS
	exclusiveGroupItem AnsysSetup5 "ANSYS"
	checkItem SubcaseOnAnsys "Active" subcase_active TRUE
	integerEntry Subcase_IDAnsys "Load step ID" Subcase_ID 1 1000 1
	dialogSpace 1
	dropDownEntry subcasespcAnsys "Single Point Constraint Set" Single_Point_ConstraintsList SPC FALSE
#	dropDownEntry subcasempcAnsys "Multipoint Constraints (MPC)" Multi_Point_ConstraintsList MPC FALSE
	dropDownEntry subcaseloadAnsys "Load Set" Load_SetList LOAD FALSE
	dropDownEntry subcasetempAnsys "Temperature Set" Temp_SetList TEMP FALSE
	exclusiveGroupItem END
	endif

	ifdef AI_ENV_LSDYNA
	exclusiveGroupItem LsdynaSetup5 "LS-Dyna"
	exclusiveGroupItem END
	endif

	ifdef AI_ENV_ABAQUS
	exclusiveGroupItem AbaqusSetup5 "Abaqus"
	checkItem SubcaseOnAbaqus "Active" subcase_active TRUE
	integerEntry Subcase_IDAbaqus "Step ID" Subcase_ID 1 1000 1
	dialogSpace 1
	dropDownEntry subcasespcAbaqus "Single Point Constraint Set" Single_Point_ConstraintsList SPC FALSE
#	dropDownEntry subcasempcAbaqus "Multipoint Constraints (MPC)" Multi_Point_ConstraintsList MPC FALSE
	dropDownEntry subcaseloadAbaqus "Load Set" Load_SetList LOAD FALSE
	dropDownEntry subcasetempAbaqus "Temperature Set" Temp_SetList TEMP FALSE
	exclusiveGroupItem END
	endif

	ifdef AI_ENV_AUTODYN
	exclusiveGroupItem AutodynSetup5 "AUTODYN"
	exclusiveGroupItem END
	endif

  exclusiveGroup END

dataEntryDialog END

dataEntryDialog writeNastranDEZ "Write/View Input File" nosave
   exclusiveGroup SolverOptions "Solver:" " " 1 DROPDOWN solve_format

    exclusiveGroupItem NastranInput "NASTRAN" 
    #textEntry writeNasFile "Nastran File" nas_file TEXT
    fileChooser writeNasFile "Nastran File" nas_file TRUE "Nastran File,  .dat .nas .bdf, All Files, .*"
dialogSpace 1
    dropDownEntry Volume_mesh "Volume Elements" volumeList volume FALSE
    dropDownEntry Shell_mesh "Shell Elements" shellList shell FALSE
    dropDownEntry Bar_mesh "Bar Elements" barList bar FALSE
    dropDownEntry thick_mesh "Thickness Distribution" thickList thick FALSE
dialogSpace 1
    #we know the file names already
    #textEntry writeNasUnsFile "Mesh File" uns_file TEXT
    #textEntry writeNasBCFile "Attributes File" bc_file TEXT
    #it would be best if the above could be replaced by a file selector widget
    checkItem writeNasFormat  "Large Field Format " large_format FALSE
    checkItem writeNasContinuation  "Use Continuation Card " cont_flag FALSE
    checkItem writeNasView  "View Nastran File " view_file FALSE
    exclusiveGroupItem END

    ifdef AI_ENV_ANSYS
    exclusiveGroupItem AnsysInput "ANSYS"
    fileChooser writeAnsysFile "Ansys File" ansys_file TRUE "Ansys File,  .in, All Files, .*"
    fileChooser fbcAnsysFile "Attribute File" ansys_atr FALSE "Attribute File,  .fbc, All Files, .*"
    fileChooser parAnsysFile "Parameter File" ansys_par FALSE "Parameter File,  .par, All Files, .*"
	greyGroup ansysEditOption "Edit Options"
   		dropDownEntry ansysVolume "Volume Elements" ansys_volumeList ansys_volume FALSE
   		dropDownEntry ansysShell "Shell Elements" ansys_shellList ansys_shell FALSE
   		dropDownEntry ansysThickShell "Thickness Distribution" ansys_thickList ansys_thick FALSE
   		dropDownEntry ansysBar "Bar Elements" ansys_barList ansys_bar FALSE
		greyGroupItem ansysElementTypes "Basic"
		greyGroupItem END
        dialogSpace 1
		greyGroupItem ansysEdit "Advanced"
			textButton ansysData "Create Attribute & Parameter Files" aie_generate_ansys_data
			textButton ansysPars "Edit Parameters" ansys_params_edit
			textButton ansysBocs "Edit Attributes" ansys_famboco_edit
		greyGroupItem END
        dialogSpace 1
	greyGroup END
    dialogSpace 1
    checkItem writeAnsysView  "View Ansys file " view_file FALSE
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_LSDYNA
    exclusiveGroupItem LsdynaInput "LS-Dyna"
    fileChooser writeLsdynaFile "LS-Dyna File" lsdyna_file TRUE "LS-Dyna File,  .k, All Files, .*"
    fileChooser fbcLsdynaFile "Attribute File" lsdyna_fbc FALSE "Attribute File,  .fbc, All Files, .*"
    fileChooser parLsdynaFile "Parameter File" lsdyna_par FALSE "Parameter File,  .par, All Files, .*"
	greyGroup lsdynaEditOption "Edit Options"
   		dropDownEntry lsdynaVolume "Volume Elements" lsdyna_volumeList lsdyna_volume FALSE
   		dropDownEntry lsdynaShell "Shell Elements" lsdyna_shellList lsdyna_shell FALSE
   		dropDownEntry lsdynaThickShell "Thickness Distribution" lsdyna_thickList lsdyna_thick FALSE
   		dropDownEntry lsdynaBar "Bar Elements" lsdyna_barList lsdyna_bar FALSE
   		dropDownEntry lsdynaPoint "Point Elements" lsdyna_pointList lsdyna_point FALSE
		greyGroupItem lsdynaElementTypes "Basic"
		greyGroupItem END
		dialogSpace 1
		greyGroupItem lsdynaEdit "Advanced"
			textButton lsdynaData "Create Attribute & Parameter Files" aie_generate_lsdyna_data
			textButton lsdynaPars "Edit Parameters" lsdyna_params_edit
			textButton lsdynaBocs "Edit Attributes" lsdyna_famboco_edit
		greyGroupItem END
	greyGroup END
    dialogSpace 1
    checkItem writeLsdynaView  "View LS-Dyna File " view_file FALSE
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_ABAQUS
    exclusiveGroupItem AbaqusInput "Abaqus"
    fileChooser writeAbaqusFile "Abaqus File" abaqus_file TRUE "Abaqus File,  .inp, All Files, .*"

    fileChooser fbcAbaqusFile "Attribute File" abaqus_fbc FALSE "Attribute File,  .fbc, All Files, .*"
    fileChooser parAbaqusFile "Parameter File" abaqus_par FALSE "Parameter File,  .par, All Files, .*"
	greyGroup abaqusEditOption "Edit Options"
   		dropDownEntry abaqusVolume "Volume Elements" abaqus_volumeList abaqus_volume FALSE
   		dropDownEntry abaqusShell "Shell Elements" abaqus_shellList abaqus_shell FALSE
   		dropDownEntry abaqusBar "Bar Elements" abaqus_barList abaqus_bar FALSE
   		dropDownEntry abaqusPoint "Point Elements" abaqus_pointList abaqus_point FALSE
		greyGroupItem abaqusElementTypes "Basic"
		greyGroupItem END
		dialogSpace 1
		greyGroupItem abaqusEdit "Advanced"
			textButton abaqusData "Create Attribute & Parameter Files" aie_generate_abaqus_data
			textButton abaqusPars "Edit Parameters" abaqus_params_edit
			textButton abaqusBocs "Edit Attributes" abaqus_famboco_edit
		greyGroupItem END
	greyGroup END
    dialogSpace 1

    checkItem writeAbaqusView  "View Abaqus File " view_file FALSE
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_AUTODYN
    exclusiveGroupItem AutodynInput "AUTODYN"
    fileChooser writeAutodynFile "AUTODYN Compatible File" autodyn_file TRUE "AUTODYN Compatible File,  .k, All Files, .*"
#    fileChooser fbcAutodynFile "Attribute File" autodyn_fbc FALSE "Attribute File,  .fbc, All Files, .*"
#    fileChooser parAutodynFile "Parameter File" autodyn_par FALSE "Parameter File,  .par, All Files, .*"

    dialogSpace 1
    dropDownEntry AutodynVolume "Volume Elements" lsdyna_volumeList lsdyna_volume FALSE
    dropDownEntry AutodynShell "Shell Elements" lsdyna_shellList lsdyna_shell FALSE
    dropDownEntry AutodynThickShell "Thickness Distribution" lsdyna_thickList lsdyna_thick FALSE
    dropDownEntry AutodynBar "Bar Elements" lsdyna_barList lsdyna_bar FALSE

#    fileChooser writeAutodynFile "AUTODYN Compatible File" autodyn_file TRUE "AUTODYN Compatible File,  .k, All Files, .*"
#    fileChooser fbcAutodynFile "Attribute File" autodyn_fbc FALSE "Attribute File,  .fbc, All Files, .*"
#    fileChooser parAutodynFile "Parameter File" autodyn_par FALSE "Parameter File,  .par, All Files, .*"
#	greyGroup AutodynEditOption "Edit Options"
#   		dropDownEntry AutodynVolume "Volume Elements" lsdyna_volumeList lsdyna_volume FALSE
#   		dropDownEntry AutodynShell "Shell Elements" lsdyna_shellList lsdyna_shell FALSE
#   		dropDownEntry AutodynThickShell "Thickness Distribution" lsdyna_thickList lsdyna_thick FALSE
#   		dropDownEntry AutodynBar "Bar Elements" lsdyna_barList lsdyna_bar FALSE
#   		dropDownEntry AutodynPoint "Point Elements" lsdyna_pointList lsdyna_point FALSE
#		greyGroupItem AutodynElementTypes "Basic"
#		greyGroupItem END
#		dialogSpace 1
#		greyGroupItem AutodynEdit "Advanced"
#			textButton AutodynData "Create Attribute & Parameter Files" aie_generate_lsdyna_data
#			textButton AutodynPars "Edit Parameters" lsdyna_params_edit
#			textButton AutodynBocs "Edit Attributes" lsdyna_famboco_edit
#		greyGroupItem END
#	greyGroup END
    dialogSpace 1
    checkItem writeAutodynView  "View AUTODYN File " view_file FALSE
    exclusiveGroupItem END
    endif

    exclusiveGroup END
dataEntryDialog END

dataEntryDialog postNastranDEZ "Post Process Results" nosave
exclusiveGroup SolverOptions3 "Solver:" " " 1 DROPDOWN solve_format3

    exclusiveGroupItem NastranSetup3 "NASTRAN"
    #exclusiveGroup postNasOptions "Post Process Options" " " 2 RADIO
    exclusiveGroup postNasOptions "Post Process Options" " " 1 DROPDOWN post_option

        exclusiveGroupItem postNasOption1 "Convert OP2 File and View Results"
#	  dialogSpace 2
           fileChooser postNasFile "OP2 File" nasop2_file FALSE "Nastran File,  .op2, All Files, .*"
          #radioGroup postNasFormat "Results Format" 1 entform 1 NULL
	#      radioItem  postNasFormat1 "AI*Nastran" 0
	 #     radioItem  postNasFormat2 "MSC Nastran" 1
          #radioGroup END
        exclusiveGroupItem END
 
#dialogSpace 1
       exclusiveGroupItem  postNasOption2 "View Results"
#	  dialogSpace 2
           fileChooser domNasFile "Domain File" nasdom_file FALSE "Domain File,  .dom, Domain File (Static), .dom_Static, All Files, .*"
       exclusiveGroupItem END

#dialogSpace 1
       exclusiveGroupItem postNasOption3 "Convert OP2 File to Results File"
#	  dialogSpace 2
           fileChooser postNasFile_1 "OP2 File" nasop2_file_1 FALSE "Nastran File,  .op2, All Files, .*"
#dialogSpace 1
          #radioGroup postNasFormat_1 "Results Format" 1 entform_1 1 NULL
	 #     radioItem  postNasFormat3 "AI*Nastran" 0
	 #     radioItem  postNasFormat4 "MSC Nastran" 1
          #radioGroup END
        exclusiveGroupItem END

    exclusiveGroup END
    exclusiveGroupItem END

    ifdef AI_ENV_ANSYS
    exclusiveGroupItem AnsysSetup3 "ANSYS"

           fileChooser rsltANSYSFile "Result File" ansys_rslt_file FALSE \
                          "Result File,  .rst .rfl .rmg .rth, All Files, .*"
 
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_LSDYNA
   exclusiveGroupItem LsdynaSetup3 "LS-Dyna"
#		fileChooser lsdynaPost "Select LSPOST Executable" lsdyna_post FALSE "Executable file, .exe, All Files, *"
		fileChooser lsdynaResult "LS-Dyna D3plot File" lsdyna_result FALSE "LS-Dyna Result Files, *"
   checkItem v3lsdynaResultGroup "Group Elements by Materials" \
                 ::lsdynainfo(group_by_material) NULL
   exclusiveGroupItem END
    endif

    ifdef AI_ENV_ABAQUS
    exclusiveGroupItem AbaqusSetup3 "Abaqus"
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_AUTODYN
    exclusiveGroupItem AutodynSetup3 "AUTODYN"
    exclusiveGroupItem END
    endif

   exclusiveGroup END
dataEntryDialog END

dataEntryDialog solveNastranDEZ "Run Solver" nosave
exclusiveGroup SolverOptions2 "Solver:" " " 1 DROPDOWN solve_format2

    exclusiveGroupItem NastranSetup2 "NASTRAN"
    fileChooser datNasFile "Nastran File" nasdat_file FALSE "Nastran File,  .dat .nas, All Files, .*"
dialogSpace 1
    textEntry solutionOptions "Run Time Options" option_solver TEXT
dialogSpace 1
   #greyGroup solvePostProcess "Post process and View Results"
      #greyGroupItem solvePostNastran 0        
          #radioGroup postNasFormatb "Results Format" 1 entformb 1 NULL
	 #     radioItem  postNasFormatb1 "AI*Nastran" 0
	  #   radioItem  postNasFormatb2 "MSC Nastran" 1
          #radioGroup END
      #greyGroupItem END	
   #greyGroup END
   #checkItem solvePostProcess  "Post Process and View Results " solvePostNastran FALSE
   exclusiveGroupItem END

    ifdef AI_ENV_ANSYS
    exclusiveGroupItem AnsysSetup2 "ANSYS"

		greyGroup ansysBatchMode "Ansys Run Mode"
			greyGroupItem ansysInter "Interactive"
			dropDownEntry ansysGrfx "Graphics Device" ansys_grfxList ansys_device FALSE
			greyGroupItem END
			greyGroupItem ansysBatch "Batch"
			fileChooser ansysBatchIn "Input File" ansys_infile FALSE "Ansys File, .in, All Files, .*"
			fileChooser ansysBatchOut "Output File" ansys_outfile TRUE "Ansys File, .out, All Files, .*"
			greyGroupItem END
			textEntry ansysPwd "Working Directory" ansys_pwd TEXT
#			dropDownEntry ansysGrfx "Graphics Device" ansys_grfxList ansys_device FALSE
			textEntry ansysJob "Initial Jobname" ansys_job TEXT
			textEntry ansysMem "Total Workspace Memory(Mb)" ansys_mem_size NUM
			textEntry ansysDb "Total Database Memory(Mb)" ansys_db_size NUM
			dropDownEntry ansysRead "Read start.ans at Start-up" ansys_sreadList ansys_sread FALSE
			dropDownEntry ansysProd "Select Ansys Product" ansys_prodList ansys_prod FALSE
		greyGroup END

    exclusiveGroupItem END
    endif

    ifdef AI_ENV_LSDYNA
    exclusiveGroupItem LsdynaSetup2 "LS-Dyna"
		fileChooser lsdynaExec "Select LS-Dyna Executable" lsdyna_exec FALSE "Executable file, .exe, All Files, *"
		fileChooser lsdynaInput "LS-Dyna Input File" lsdyna_in FALSE "LS-Dyna File,  .k, All Files, .*"
        	dialogSpace 1
		greyGroup lsdynaAnsys "ANSYS LS-Dyna Options"
			greyGroupItem lsdynaAnsys0 "None"
			greyGroupItem END
			greyGroupItem lsdynaAnsys1 "Specify Ansys Product"
        			dialogSpace 1
				dropDownEntry lsdynaAnsysProd "Select Product" lsdyna_AnsysList lsdyna_ansys_prod FALSE
			greyGroupItem END
		greyGroup END
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_ABAQUS
    exclusiveGroupItem AbaqusSetup2 "Abaqus"
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_AUTODYN
    exclusiveGroupItem AutodynSetup2 "AUTODYN"
    exclusiveGroupItem END
    endif

   exclusiveGroup END
dataEntryDialog END

dataEntryDialog setupSolverParamDEZ "Setup Solver Parameters" nosave 

   exclusiveGroup SetupOptionsParam "Solver:" " " 1 DROPDOWN solve_format_param

    exclusiveGroupItem NastranSetupParam "NASTRAN"

    exclusiveGroup setupPramEXG "Solver Parameter" " " 1 DROPDOWN solver_param
         exclusiveGroupItem setupEIGRS "Eigenvalue Extraction (EIGR/EIGRL)"
               exclusiveGroup EIGRSType "Type" " " 1 DROPDOWN eigr_type
                     exclusiveGroupItem setupEIGRL "Eigenvalue Extraction (EIGRL)"
                          textEntry EIGRLName "Parameter Name" name TEXT
                          textEntry EIGRLmethodIDMod "Method ID (SID)" sid NUM
                          textEntry EIGRLminFReqModalMod "Min Freq (V1)" minFreq NUM
                          textEntry EIGRLmaxFReqModalMod "Max Freq (V2)" maxFreq NUM
                          integerEntry EIGRLnmodesModalMod "Number of Modes (ND)" nmodes 0 500 1
                     exclusiveGroupItem END
                    exclusiveGroupItem setupEIGR "Eigenvalue Extraction (EIGR)"
                         textEntry EIGRName "Parameter Name" name TEXT
                         textEntry EIGRmethodIDMod "Set Identification ID (SID)" sid NUM
                         dropDownEntry EIGRmethodMod "METHOD" method1List method FALSE
	                textEntry EIGRminEigenValrangeMod "Lower Frequency (F1)" l1 NUM
                   		    textEntry EIGRmaxEigenValrangeMod "Uper Frequency (F2)" l2 NUM
		      integerEntry EIGRnmodesModalMod "Estimate Number of Roots in Range (NE)" nep 0 500 1
                   		    integerEntry EIGRndpMod "Desired Number of Positive Roots (ND)" ndp 0 500 1
                         exclusiveGroup EIGRnormMod "NORM" " " 1 DROPDOWN norm_type
		          exclusiveGroupItem EIGRnormMod1 "MAX"
		          exclusiveGroupItem END
                             exclusiveGroupItem EIGRnormMod2 "POINT"
                  			    textEntry EIGRgridpntMod "Grid Identification Number (G)" gridpnt NUM
                  			    integerEntry EIGRcompnumMod "Component Number (C)" compnum 1 6 1
		          exclusiveGroupItem END
	               exclusiveGroup END
                     exclusiveGroupItem END
  	     exclusiveGroup END
          exclusiveGroupItem END
         exclusiveGroupItem setupEIGB "Buckling Analysis (EIGB)"
              textEntry EIGBName "Parameter Name" name TEXT
              textEntry EIGBmethodIDBuckl "Set Identification ID (SID)" sid NUM
	     dialogSpace 1
               exclusiveGroup EIGBmethodBuckl "METHOD" " " 1 DROPDOWN method_type
		   exclusiveGroupItem EIGBmethodBuckl1 "SINV"
			textEntry EIGBminEigenValrangeBuckl "Lower Eigenvalue (L1)" l1 NUM
                   			textEntry EIGBmaxEigenValrangeBuckl "Uper Eigenvalue (L2)" l2 NUM
                   			integerEntry EIGBndpBuckl "Desired Number of Positive Roots (NDP)" ndp 0 500 1
                   			integerEntry EIGBndnBuckl "Desired Number of Negative Roots (NDN)" ndn 0 500 1
		   exclusiveGroupItem END
                      exclusiveGroupItem EIGBmethodBuckl2 "INV"
			textEntry EIGBminEigenValrangeBuckl1 "Lower Eigenvalue (L1)" l1 NUM
                   			textEntry EIGBmaxEigenValrangeBuckl1 "Uper Eigenvalue (L2)" l2 NUM
			integerEntry EIGBnmodesModalBuckl1 "Estimate Number of Roots in Positive Range (NEP)" nep 0 500 1
                   			integerEntry EIGBndpBuckl1 "Desired Number of Positive Roots (NDP)" ndp 0 500 1
                   			integerEntry EIGBndnBuckl1 "Desired Number of Negative Roots (NDN)" ndn 0 500 1
		   exclusiveGroupItem END
		exclusiveGroup END
                   exclusiveGroup EIGBnormBuckl "NORM" " " 1 DROPDOWN norm_type
		   exclusiveGroupItem EIGBnormBuckl1 "MAX"
		   exclusiveGroupItem END
                      exclusiveGroupItem EIGBnormBuckl2 "POINT"
                  			textEntry EIGBgridpntBuckl "Grid Identification Number (G)" gridpnt NUM
                  			integerEntry EIGBcompnumBuckl "Component Number (C)" compnum 1 6 1
		   exclusiveGroupItem END
	    exclusiveGroup END
         exclusiveGroupItem END
         exclusiveGroupItem setupNLPARM "Nonlinear Static Analysis Control (NLPARM)"
              textEntry NLPARMName "Parameter Name" name TEXT
              textEntry NLPARMNLStaticID "Identification ID (ID)" sid NUM
              integerEntry NLPARMnincNL "Number of Increments (NINC)" ninc 0 1000 1
 	    textEntry NLPARMdtNL "Incremental Time Intervals (DT)" dt NUM
              dropDownEntry NLPARMkmethodNL "KMETHOD" kmethodList kmethod FALSE
              integerEntry NLPARMkstepNL "Number of Iterations (KSTEP)" kstep 0 1000 1
              integerEntry NLPARMmaxiterNL "Max Iterations (MAXITER)" maxiter 0 1000 1
              dropDownEntry NLPARMconvNL "CONV" convList conv FALSE
              dropDownEntry NLPARMintoutNL "INTOUT" intoutList intout FALSE
	     textEntry NLPARMepsuNL "Error Tolerance for Displacement (EPSU)" epsu NUM
	     textEntry NLPARMepspNL "Error Tolerance for Load (EPSP)" epsp NUM
	     textEntry NLPARMepswNL "Error Tolerance for Work (EPSW)" epsw NUM
              integerEntry NLPARMmaxdivNL "Max Divergence (MAXDIV)" maxdiv 0 1000 1
              integerEntry NLPARMmaxqnNL "Maximum Number of Quasi-Newton (MAXQN)" maxqn 0 1000 1
              integerEntry NLPARMmaxlsNL "Max Number of Line Search (MAXLS)" maxls 0 1000 1
	    textEntry NLPARMfstressNL "Fraction of Effective Stress (0.0-1.0) (FSTRESS)" fstress NUM
	    textEntry NLPARMlstolNL "Line Search Tolerance (0.01-0.9) (LSTOL)" lstol NUM
              integerEntry NLPARMmaxbisNL "Max Number of Bisections (MAXBIS)" maxls -10 10 1
	    textEntry NLPARMmaxrNL "Max Ratio (1.0-40.0) (MAXR)" maxr NUM
	    textEntry NLPARMrtolbNL "Max Value of Incremental Rotation (RTOLB)" rtolb NUM
         exclusiveGroupItem END
         exclusiveGroupItem setupTSTEP "Transient Time Step (TSTEP)"
              textEntry TSTEPName "Parameter Name" name TEXT
              textEntry TSTEPSID "Set Identification Number (SID)" sid NUM
      	     integerEntry TSTEPNsteps "Number of Time Steps" steps_num 1 1000 1
              textButton TSTEPSetSteps "Set Steps"  "aie_params_set_steps"     
         exclusiveGroupItem END
         exclusiveGroupItem setupFREQS "Frequency (FREQ/FREQ1/FREQ2)"
               exclusiveGroup FREQSType "Type" " " 1 DROPDOWN freq_type
                   exclusiveGroupItem setupFREQ "Frequency List (FREQ)"
                       textEntry FREQName "Parameter Name" name TEXT
                       textEntry FREQSID "Set Identification Number (SID)" sid NUM
      	              integerEntry FREQsteps "Number of Frequencies" steps_num 1 1000 1
                       textButton FREQSetSteps "Set Frequencies"  "aie_params_set_freqs"     
                   exclusiveGroupItem END
                   exclusiveGroupItem setupFREQ1 "Frequency List (FREQ1)"
                       textEntry FREQ1Name "Parameter Name" name TEXT
                       textEntry FREQ1SID "Set Identification Number (SID)" sid NUM
                  		   textEntry FREQ1F1 "First Frequency (F1)" f1 NUM
                  		   textEntry FREQ1DF "Frequency Increment (DF)" df NUM
                  		   textEntry FREQ1NDF "Number of Frequency Increment (NDF)" ndf NUM
                   exclusiveGroupItem END
                   exclusiveGroupItem setupFREQ2 "Frequency List (FREQ2)"
                       textEntry FREQ2Name "Parameter Name" name TEXT
                       textEntry FREQ2SID "Set Identification Number (SID)" sid NUM
                  		   textEntry FREQ2F1 "First Frequency (F1)" f1 NUM
                  		   textEntry FREQ2F2 "Last Frequency (F2)" df NUM
                  		   textEntry FREQ2NF "Number of Logarithmic Increments (NF)" ndf NUM
                   exclusiveGroupItem END
	     exclusiveGroup END
         exclusiveGroupItem END
         exclusiveGroupItem setupDYNAMIC "Dynamic Load (DAREA/DELAY/DPHASE)"
               exclusiveGroup DYNAMICType "Type" " " 1 DROPDOWN dynamic_type
		   exclusiveGroupItem DYNAMICType1 "Load Scale Factor (DAREA)"
                          textEntry DYNAMICType1Name "Parameter Name" name TEXT
                          textEntry DYNAMICType1ID "Set Identification ID (SID)" sid NUM
                  		      textEntry DYNAMICType1P1 "Grid Identification Number (P1)" gridpnt1 NUM
                  		      integerEntry DYNAMICType1C1 "Component Number (C1)" compnum1 1 6 1
                  		      textEntry DYNAMICType1A1 "Scale Factor (A1)" at1 NUM
                  		      textEntry DYNAMICType1P2 "Grid Identification Number (P2)" gridpnt2 NUM
                  		      integerEntry DYNAMICType1C2 "Component Number (C2)" compnum2 1 6 1
                  		      textEntry DYNAMICType1A2 "Scale Factor (A2)" at2 NUM
		   exclusiveGroupItem END
		   exclusiveGroupItem DYNAMICType2 "Dynamic Load Time Delay (DELAY)"
                          textEntry DYNAMICType2Name "Parameter Name" name TEXT
                          textEntry DYNAMICType2ID "Set Identification ID (SID)" sid NUM
                  		      textEntry DYNAMICType2P1 "Grid Identification Number (P1)" gridpnt1 NUM
                  		      integerEntry DYNAMICType2C1 "Component Number (C1)" compnum1 1 6 1
                  		      textEntry DYNAMICType2A1 "Time Delay (T1)" at1 NUM
                  		      textEntry DYNAMICType2P2 "Grid Identification Number (P2)" gridpnt2 NUM
                  		      integerEntry DYNAMICType2C2 "Component Number (C2)" compnum2 1 6 1
                  		      textEntry DYNAMICType2A2 "Time Delay (T2)" at2 NUM
		   exclusiveGroupItem END
		   exclusiveGroupItem DYNAMICType3 "Dynamic Load Phase Lead (DPHASE)"
                          textEntry DYNAMICType3Name "Parameter Name" name TEXT
                          textEntry DYNAMICType3ID "Set Identification ID (SID)" sid NUM
                  		      textEntry DYNAMICType3P1 "Grid Identification Number (P1)" gridpnt1 NUM
                  		      integerEntry DYNAMICType3C1 "Component Number (C1)" compnum1 1 6 1
                  		      textEntry DYNAMICType3A1 "Phase Lead (TH1)" at1 NUM
                  		      textEntry DYNAMICType3P2 "Grid Identification Number (P2)" gridpnt2 NUM
                  		      integerEntry DYNAMICType3C2 "Component Number (C2)" compnum2 1 6 1
                  		      textEntry DYNAMICType3A2 "Phase Lead (TH2)" at2 NUM
		   exclusiveGroupItem END
	     exclusiveGroup END
         exclusiveGroupItem END
         exclusiveGroupItem setupDYNAMICEXCITE "Dynamic Excitation (TLOAD/RLOAD)"
               exclusiveGroup DYNAMICEXCITEType "Type" " " 1 DROPDOWN dynamic_excite_type
		   exclusiveGroupItem DYNAMICEXCITEType1 "Transient Response (TLOAD1)"
                          textEntry DYNAMICEXCITEType1Name "Parameter Name" name TEXT
                          textEntry DYNAMICEXCITEType1ID "Set Identification ID (SID)" sid NUM
                          dropDownEntry DYNAMICEXCITEType1Excite "Identification ID (DAREA)" DAREAList darea_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType1Delay "Identification ID (DELAY)" DELAYList delay_id TRUE		   
                  		      integerEntry DYNAMICEXCITEType1type "Excitation Type" excite_type 0 3 1
                          dropDownEntry DYNAMICEXCITEType1Table "Identification ID (TABLEDi)" TABLEDList table1_id TRUE		   
                     exclusiveGroupItem END
		  exclusiveGroupItem DYNAMICEXCITEType2 "Transient Response (TLOAD2)"
                          textEntry DYNAMICEXCITEType2Name "Parameter Name" name TEXT
                          textEntry DYNAMICEXCITEType2ID "Set Identification ID (SID)" sid NUM
                          dropDownEntry DYNAMICEXCITEType2Excite "Identification ID (DAREA)" DAREAList darea_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType2Delay "Identification ID (DELAY)" DELAYList delay_id TRUE		   
                  		      integerEntry DYNAMICEXCITEType2type "Excitation Type" excite_type 0 3 1
                  		      textEntry DYNAMICEXCITEType2T1 "Time constant (T1)" t1 NUM
                  		      textEntry DYNAMICEXCITEType2T2 "Time constant (T2)" t2 NUM
                  		      textEntry DYNAMICEXCITEType2F "Frequency (F)" freq NUM
                  		      textEntry DYNAMICEXCITEType2P "Phase Angle (P)" phase NUM
                  		      textEntry DYNAMICEXCITEType2C "Exponential Coef. (C)" exp_coef NUM
                  		      textEntry DYNAMICEXCITEType2B "Growth Coef. (B)" g_coef NUM
                     exclusiveGroupItem END
		  exclusiveGroupItem DYNAMICEXCITEType3 "Frequency Response (RLOAD1)"
                          textEntry DYNAMICEXCITEType3Name "Parameter Name" name TEXT
                          textEntry DYNAMICEXCITEType3ID "Set Identification ID (SID)" sid NUM
                          dropDownEntry DYNAMICEXCITEType3Excite "Identification ID (DAREA)" DAREAList darea_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType3Delay "Identification ID (DELAY)" DELAYList delay_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType3Pahse "Identification ID (DPHASE)" DPHASEList dphase_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType3Table1 "Identification ID (TABLEDi) for C(f)" TABLEDList table1_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType3Table2 "Identification ID (TABLEDi) for D(f)" TABLEDList table2_id TRUE		   
                 		       integerEntry DYNAMICEXCITEType3type "Excitation Type" excite_type 0 3 1
                     exclusiveGroupItem END
		  exclusiveGroupItem DYNAMICEXCITEType4 "Frequency Response (RLOAD2)"
                          textEntry DYNAMICEXCITEType4Name "Parameter Name" name TEXT
                          textEntry DYNAMICEXCITEType4ID "Set Identification ID (SID)" sid NUM
                          dropDownEntry DYNAMICEXCITEType4Excite "Identification ID (DAREA)" DAREAList darea_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType4Delay "Identification ID (DELAY)" DELAYList delay_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType4Pahse "Identification ID (DPHASE)" DPHASEList dphase_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType4Table1 "Identification ID (TABLEDi) for B(f)" TABLEDList table1_id TRUE		   
                          dropDownEntry DYNAMICEXCITEType4Table2 "Identification ID (TABLEDi) for Phi(f)" TABLEDList table2_id TRUE		   
                 		       integerEntry DYNAMICEXCITEType4type "Excitation Type" excite_type 0 3 1
                     exclusiveGroupItem END
	     exclusiveGroup END
         exclusiveGroupItem END
         exclusiveGroupItem setupDLOAD "Dynamic Load Combination (DLOAD)"
              textEntry DLOADName "Parameter Name" name TEXT
              textEntry DLOADSID "Set Identification Number (SID)" sid NUM
	     textEntry DLOADS "Global Scale Factor (S)" s_factor NUM
      	     integerEntry DLOADNsteps "Number of loads" steps_num 1 1000 1
              textButton DLOADSetSteps "Set Loads"  "aie_params_set_dload"     
         exclusiveGroupItem END
         exclusiveGroupItem setupLOAD "Static Load Combination (LOAD)"
              textEntry LOADName "Parameter Name" name TEXT
              textEntry LOADSID "Set Identification Number (SID)" sid NUM
	     textEntry LOADS "Global Scale Factor (S)" s_factor NUM
      	     integerEntry LOADNsteps "Number of loads" steps_num 1 1000 1
              textButton LOADSetSteps "Set Loads"  "aie_params_set_sload"     
         exclusiveGroupItem END
         exclusiveGroupItem setupSPCADD "Single-Point Constraint Combination (SPCADD)"
              textEntry SPCADDName "Parameter Name" name TEXT
              textEntry SPCADDSID "Set Identification Number (SID)" sid NUM
      	     integerEntry SPCADDNsteps "Number of Constraints" steps_num 1 1000 1
              textButton SPCADDSetSteps "Set Constraints"  "aie_params_set_spcadd"     
         exclusiveGroupItem END
         exclusiveGroupItem setupMPCADD "Multi-Point Constraint Combination (MPCADD)"
              textEntry MPCADDName "Parameter Name" name TEXT
              textEntry MPCADDSID "Set Identification Number (SID)" sid NUM
      	     integerEntry MPCADDNsteps "Number of Constraints" steps_num 1 1000 1
              textButton MPCADDSetSteps "Set Constraints"  "aie_params_set_mpcadd"     
         exclusiveGroupItem END
         exclusiveGroupItem setupTEMPD "Default Grid Point Temperature (TEMPD)"
              textEntry TEMPDName "Parameter Name" name TEXT
              textEntry TEMPDSID "Set Identification Number (SID)" sid NUM
	     textEntry TEMPDTemp "Default Temperature (T)" temp NUM
         exclusiveGroupItem END
         exclusiveGroupItem setupGRAV "Acceleration or Gravity Load (GRAV)"
              textEntry Gravity_LoadName "Parameter Name" name TEXT
              textEntry GRAVSID "Set Identification Number (SID)" sid NUM
              dropDownEntry GRAVCS "LCS" LCSList LCS TRUE
              textEntry GRAVMB "MB" mb TEXT
              textEntry GRAVS "Scale Factor" scale TEXT
              dialogSpace 1
              frame GRAVFrame "Vector Components"
                 textEntry GRAVX "N1" x TEXT
                 textEntry GRAVY "N2" y TEXT
                 textEntry GRAVZ "N3" z TEXT
              frame END
         exclusiveGroupItem END
         exclusiveGroupItem setupINCLUDE "Include File (INCLUDE)"
              textEntry INCLUDEName "Parameter Name" name TEXT
              textEntry INCLUDESID "Identification Number (ID)" sid NUM
              fileChooser INCLUDEFile "Include File" include_file FALSE "Include File,  .dat .nas .bdf, All Files, .*"
              textButton INCLUDEFileLoad "Load Include File" "aie_load_include_file 0"
          exclusiveGroupItem END
    exclusiveGroup END

    exclusiveGroupItem END

    ifdef AI_ENV_ANSYS
    exclusiveGroupItem AnsysSetupParam "ANSYS"

       exclusiveGroup setupParamANSYS "Global motion" " " 1 DROPDOWN solver_ansys_param
         exclusiveGroupItem setupANSYSNone "None"
         exclusiveGroupItem END
         exclusiveGroupItem setupANSYSGRAV "Acceleration or Gravity"
              textEntry Gravity_LoadANSYSName "Parameter Name" name TEXT
              textEntry GRAVANSYSS "Scale Factor" scale TEXT
              dialogSpace 1
              frame GRAVANSYSFrame "Global Direction"
                 textEntry GRAVANSYSX "X" x TEXT
                 textEntry GRAVANSYSY "Y" y TEXT
                 textEntry GRAVANSYSZ "Z" z TEXT
              frame END
         exclusiveGroupItem END
         exclusiveGroupItem setupANSYSOmega "Rotational Velocity"
#		frame componentsAnsysOmega "Rotational Velocity"
			greyGroup paramAnsysOmega "Specify"
				greyGroupItem flagAnsysOmega " "
					textEntry dataAnsysOmegaX "X-component" ansys_OX NUM
					textEntry dataAnsysOmegaY "Y-component" ansys_OY NUM
					textEntry dataAnsysOmegaZ "Z-component" ansys_OZ NUM
					dropDownEntry dataAnsysOmegaSpin "Spin Softening Key" ansys_ospinList ansys_ospin FALSE
				greyGroupItem END
			greyGroup END
#		frame END
         exclusiveGroupItem END
         exclusiveGroupItem setupANSYSDomega "Rotational Acceleration"
#		frame componentsAnsysDomega "Rotational Acceleration"
			greyGroup paramAnsysDomega "Specify"
				greyGroupItem flagAnsysDomega " "
					textEntry dataAnsysDomegaX "X-component" ansys_DOX NUM
					textEntry dataAnsysDomegaY "Y-component" ansys_DOY NUM
					textEntry dataAnsysDomegaZ "Z-component" ansys_DOZ NUM
				greyGroupItem END
			greyGroup END
#		frame END
         exclusiveGroupItem END
       exclusiveGroup END

    exclusiveGroupItem END
    endif

    ifdef AI_ENV_LSDYNA
    exclusiveGroupItem LsdynaSetupParam "LS-Dyna"
       exclusiveGroup setupParamLSDYNA "Solver Parameter" " " 1 DROPDOWN solver_lsdyna_param
         exclusiveGroupItem setupLSDYNANone "None"
         exclusiveGroupItem END
         exclusiveGroupItem setupLSDYNAGRAV "Base Acceleration or Gravity Load"
              textEntry Gravity_LoadLSDYNAName "Parameter Name" name TEXT
#              textEntry GRAVLSDYNASID "Set Identification Number (SID)" sid NUM
#              dropDownEntry GRAVLSDYNACS "LCS" LCSList LCS TRUE
              textEntry GRAVLSDYNAS "Scale Factor" scale TEXT
              dialogSpace 1
              frame GRAVLSDYNAFrame "Direction"
                 textEntry GRAVLSDYNAX "X" x TEXT
                 textEntry GRAVLSDYNAY "Y" y TEXT
                 textEntry GRAVLSDYNAZ "Z" z TEXT
              frame END
         exclusiveGroupItem END
         exclusiveGroupItem setupLSDYNAInclude "Include File"
		fileChooser DynaINCLUDEFile "Include File" dyna_include_file FALSE "Keyword Files, .k .key, All Files, .*"
         exclusiveGroupItem END
       exclusiveGroup END
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_ABAQUS
    exclusiveGroupItem AbaqusSetupParam "Abaqus"
    exclusiveGroupItem END
    endif

    ifdef AI_ENV_AUTODYN
    exclusiveGroupItem AutodynSetupParam "AUTODYN"
    exclusiveGroupItem END
    endif

    exclusiveGroup END

dataEntryDialog END



