EMAnalysis#

class ansys.dyna.core.pre.dynaem.EMAnalysis(type=EMType.EDDY_CURRENT)#

Enables the EM solver and sets its options.

Parameters:
typeint

Electromagnetism solver. The default is EDDY_CURRENT. Options are:

  • EQ.1: Eddy current solver

  • EQ.2: Induced heating solver

  • EQ.3: Resistive heating solver

  • EQ.11: Electrophysiology monodomain

Overview#

set_timestep

Set the EM time step and its evolution.

set_em_solver

Set the EM solver.

set_solver_bem

Set the type of linear solver, pre-conditioner, and tolerance for the EM BEM solver.

set_solver_fem

Set some parameters for the EM FEM solver.

set_bem_matrix_tol

Set the type of BEM matrices and the way that they are assembled.

create

Create an EM analysis.

Import detail#

from ansys.dyna.core.pre.dynaem import EMAnalysis

Attribute detail#

EMAnalysis.p_matrix_tol = 1e-06#
EMAnalysis.q_matrix_tol = 1e-06#
EMAnalysis.w_matrix_tol = 1e-06#
EMAnalysis.defined = False#
EMAnalysis.stub#
EMAnalysis.type = 1#
EMAnalysis.dimtype = 0#
EMAnalysis.defined_bem = False#
EMAnalysis.defined_fem = False#

Method detail#

EMAnalysis.set_timestep(timestep)#

Set the EM time step and its evolution.

EMAnalysis.set_em_solver(type=EMType.EDDY_CURRENT, dimtype=EMDimension.SOLVER_3D)#

Set the EM solver.

EMAnalysis.set_solver_bem(solver=BEMSOLVER.PCG, relative_tol=1e-06, max_iteration=1000)#

Set the type of linear solver, pre-conditioner, and tolerance for the EM BEM solver.

EMAnalysis.set_solver_fem(solver=FEMSOLVER.DIRECT_SOLVER, relative_tol=1e-06, max_iteration=1000)#

Set some parameters for the EM FEM solver.

EMAnalysis.set_bem_matrix_tol(p_matrix_tol=1e-06, q_matrix_tol=1e-06, w_matrix_tol=1e-06)#

Set the type of BEM matrices and the way that they are assembled.

EMAnalysis.create()#

Create an EM analysis.