We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

How to perform a material sweep?

    • FAQFAQ
      Participant

      Go to Maxwell 2D/3D > Design Properties and create 2 new parameters: 1) Select Add Array… to create a material array. Name: MaterialArray, Append Rows.. > 3 > OK. On the Data fields, type “steel_1008”, “steel_1010”, “iron”, and accept with OK. 2) Select Add… to create an array index. Name: MaterialIndex, type: ArrayIndexVariable, Associate array variable: MaterialArray, Value: 0. Accept with OK. Then select the object which material you want to change, and in the properties window > Material, type ‘MaterialArray[MaterialIndex]’. On field ‘Evaluated Value’ you will see now “steel_1008”. Finally create a parametric sweep. Right-click on Optimetrics > Add > Parametric. Click Add and select MaterialIndex from the drop-down menu. Select linear step, Start:0, Stop: 2, Step: 1 > Add > OK. On tab Options, activate ‘Copy geometrically equivalent meshes’. Run ParametricSetup1 and you will have results with all the selected materials.