⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 beam.desc

📁 一个isight调用ansys接口的例子
💻 DESC
字号:
MDOLVersion: 8.0
CompilerOptions: warn

Task IBEAM

    TaskHeader IBEAM
        Version: 1.0
        Evaluation: doestudy DOEStudy1
        ControlMode: user
        RunCounter: 21
        BoundsPolicy: adjustvalue
        CheckPoint: unknown
        RandGenInit: default
    End TaskHeader IBEAM

    Inputs IBEAM
        Parameter: Flange Type: real InitialValue: 20.0
        Parameter: Width Type: real InitialValue: 20.0
        Parameter: HeightUp Type: real InitialValue: 20.0
        Parameter: Height Type: real InitialValue: 80.0
        Parameter: Length Type: real InitialValue: 200.0
    End Inputs IBEAM

    Outputs IBEAM
        Parameter: Volume Type: real
    End Outputs IBEAM

    Calculations IBEAM
        Calculation CalVolume
            Parameters
                Width Flange Height HeightUp Volume
            Statements
                Volume = (Height*Width+2*(Flange*2+Width)*HeightUp)
            End Statements
        End Calculation CalVolume
    End Calculations IBEAM

    SimCode SolidEdge

        InputFiles SolidEdge
            FileDescription beamvbs
                FileType: standard
                TemplateFile: "Template.txt"
                InputFile: "beam.vbs"
                Parameters
                    Flange Width HeightUp Height Length
                Instructions
                    require  Flange Width HeightUp Height Length
                        find "\"FlangeLeftUp\"," ignore 
                        replace "50.0000000" with $Flange as "%f" ignore 
                        find "\"Width\"," ignore 
                        replace "20.0000000" with $Width as "%f" ignore 
                        find "\"HeightUp\"," ignore 
                        replace "20.000000" with $HeightUp as "%f" ignore 
                        find "\"Height\"," ignore 
                        replace "50.0000000" with $Height as "%f" ignore 
                        find "\"Length\"," ignore 
                        replace "360.0000000" with $Length as "%f" ignore
                End Instructions
            End FileDescription beamvbs
        End InputFiles SolidEdge

        SimCodeProcess SolidEdge
            Program: "./beam.vbs"
            ProcessType: transient
            Environment: restored
            ElapseTime: 5m
            Prologue
                WriteInputSpecs: beamvbs
            Execution: "$Program"
        End SimCodeProcess SolidEdge

    End SimCode SolidEdge

    SimCode Del

        SimCodeProcess Del
            ScriptLanguage: DOSBatch
            Script
                del D:\beam\Beam.igs
                del D:\beam\Beam.full
                del D:\beam\file.lock
                del D:\beam\output.txt
            End Script
            ProcessType: transient
            Environment: unrestored
            ElapseTime: 5m
            Execution: "$Program"
        End SimCodeProcess Del

    End SimCode Del

    TaskProcess IBEAM
        Control: [
            Sequential [
                Del
                SolidEdge
                CalVolume
            ]
        ]
    End TaskProcess IBEAM

    Optimization IBEAM
        PotentialVariables:
            Flange Width HeightUp Height Length
        Variables:
            Flange Width HeightUp Height
        VariableScaling
            Parameter: Flange ScaleFactor: 1.0
            Parameter: Width ScaleFactor: 1.0
            Parameter: HeightUp ScaleFactor: 1.0
            Parameter: Height ScaleFactor: 1.0
            Parameter: Length ScaleFactor: 1.0
        InputConstraints
            Parameter: Flange LowerBound: 10.0 UpperBound: 30.0
            Parameter: Width LowerBound: 10.0 UpperBound: 30.0
            Parameter: HeightUp LowerBound: 10.0 UpperBound: 30.0
            Parameter: Height LowerBound: 50.0 UpperBound: 100.0
        PotentialObjectives:
            Flange Width HeightUp Height Length Volume
        Objectives
            Parameter: Volume Direction: minimize Weight: 1.0 ScaleFactor: 1.0
        OutputConstraints

        OptimizePlan PriorityRankedPlan
            Control: [
            ]
    End Optimization IBEAM

    DesignOfExperiments IBEAM
        Plan DOEPlan1
            Technique: "OrthogonalArray"
            Factors
                ParameterList
                    Type: control
                    Parameters
                        Length
                            Levels: percent [ -25.0 -8.333 8.333 25.0 ]
                            BaseLine: 200.0
                End ParameterList
            End Factors
        End Plan DOEPlan1

        Study DOEStudy1
            Plan: DOEPlan1
            Responses
            End Responses
            Actions
                Direction: minimize
            End Actions
            ResultsFile: "doe_Study.DOEStudy1"
            Prologue
                Tcl
                End Tcl
            Epilogue
                Tcl
                End Tcl
        End Study DOEStudy1
    End DesignOfExperiments IBEAM

    TaskPlan IBEAM
        StopTaskPlanOnError: no
        Control: [
            PriorityRankedPlan
        ]
    End TaskPlan IBEAM

    DataStorage IBEAM
        Restore: no
        DataLog: "IBEAM.db" Mode: overwrite
        MatchMode: Exact
        Levels: all
        StoreGradRuns: yes
        StoreApproxRuns: yes
    End DataStorage IBEAM

End Task IBEAM

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -