6.4. Performing a Static Edge-Based Analysis

Follow these steps to perform a static edge-based magnetic analysis:

  1. Specify the electromagnetics edge formulation by choosing Main Menu> Preferences> Electromagnetics: Magnetic-Edge from the GUI. Doing so enables you to filter out other commands not involved in edge analysis.

  2. Define a jobname and title for your analysis. To do so, use the commands shown below:

    Command(s): /FILNAME and /TITLE
    GUI: Utility Menu> File> Change Jobname
    Utility Menu> File> Change Title

  3. Enter the preprocessor to begin defining your model:

    Command(s): /PREP7
    GUI: Main Menu> Preprocessor

  4. Choose element type SOLID236 or SOLID237:

    Command(s): ET
    GUI: Main Menu> Preprocessor> Element Type> Add/Edit/Delete

  5. Select the formulation option suitable for the specified element type and physics region. (For information on formulation options, see Characteristics and Settings for Physical Regions of a Model)

    Command(s): KEYOPT
    GUI: Main Menu> Preprocessor> Element Type> Add/Edit/Delete

  6. Define material properties. 2D Static Magnetic Analysis describes the material properties you can use and tells you how to specify them. For a static analysis, you must specify the relative permeability (defined by the MP command) or a B-H curve (defined by the TB command). Permanent magnetic orientation is defined in the element coordinate system, ESYS.

    Command(s): MP
    GUI: Main Menu> Preprocessor> Material Props> Material Models> Electromagnetics> Relative Permeability> Constant

    Command(s): TB
    GUI: Main Menu> Preprocessor> Material Props> Material Models> Electromagnetics> BH Curve

  7. Build the model. (For instructions on building and meshing models, see the Modeling and Meshing Guide.) If you are using the GUI, select Main Menu> Preprocessor> Modeling.

  8. Assign attributes to the volumes (that is, associate the element types, the material properties with the appropriate volumes).

    GUI:

    Main Menu> Preprocessor> Meshing> Mesh Attributes

  9. Mesh the model, specifying brick or tetrahedral element shape.

    Command(s): VMESH
    GUI: Main Menu> Preprocessor> Meshing> Mesh> Volumes> Mapped

  10. Apply flux-parallel and flux-normal solid model boundary conditions to the boundaries.

    Command(s): DA
    GUI: Main Menu> Solution> Define Loads> Apply> Magnetic> Boundary

    For edge-based analyses, the label AZ (when set to zero) applies the flux-parallel boundary condition. No prescription is required to set flux-normal, because it is the natural boundary condition. In the rare case when the AZ = 0 condition is not general enough for flux-parallel conditions, you can prescribe constraints using individual D commands.

  11. Apply source loading. See Characteristics and Settings for Physical Regions of a Model for information on source loading.

    You can use constraint equations to define cyclic symmetry.

  12. Enter the SOLUTION processor, using either of the following:

    Command(s): /SOLU
    GUI: Main Menu> Solution

  13. Choose the static analysis type.

    Command(s): ANTYPE,STATIC,NEW
    GUI: Main Menu> Solution> Analysis Type> New Analysis> Static

    To restart a previous analysis (for example, to specify additional loads), issue the command ANTYPE,STATIC,REST. In a static and transient nonlinear magnetic analysis, the default behavior is multiframe restart; for more information, see the RESCONTROL command.

  14. Choose the solver you wish to use. The sparse solver is recommended. Select an equation solver using either of the following:

    Command(s): EQSLV
    GUI: Main Menu> Solution> Analysis Type> Analysis Options
  15. Choose load step options. (Alternative Analysis Options and Solution Methods of this manual describes these options.)

  16. Solve the model.

    When you use the edge-element formulation, by default Mechanical APDL gauges the problem domain over all selected elements and nodes. Gauging removes unneeded degrees of freedom by setting them to zero; this in turn enables the program to solve your analysis problem faster. You can control gauging using either of the following:

    Command(s): GAUGE
    GUI: Main Menu> Solution> Load Step Opts> Magnetics> Options Only> Gauging

    Gauging is required for electromagnetic analyses with elements using an edge formulation. Therefore, in most cases you should not turn automatic gauging off. If you do turn gauging off, you must perform manual gauging.

    To initiate the two-step solution sequence, use the following:

    Command(s): SOLVE
    GUI: Main Menu> Solution> Solve

  17. To leave the SOLUTION processor, use one of the following:

    Command(s): FINISH
    GUI: Main Menu> Finish

  18. Perform postprocessing and review the analysis results, as described in Reviewing Results from a Static Edge-Based Analysis.