ansys.dyna.core.pre.dynaem.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

p_matrix_tol = 1e-06#
q_matrix_tol = 1e-06#
w_matrix_tol = 1e-06#
defined = False#
stub#
type = 1#
dimtype = 0#
defined_bem = False#
defined_fem = False#
set_timestep(timestep)#

Set the EM time step and its evolution.

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

Set the EM solver.

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.

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

Set some parameters for the EM FEM solver.

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.

create()#

Create an EM analysis.