assign_vector_potential#

Maxwell2d.assign_vector_potential(assignment, vector_value=0, boundary=None)[source]#

Assign a vector potential boundary condition to specified edges.

This method is valid for Maxwell 2D Eddy Current, Magnetostatic, and Transient solvers.

Parameters:
assignmentlist

List of edge names or edge IDs to assign a vector to.

vector_valuefloat, optional

Value of the vector. The default is 0.

boundarystr, optional

Name of the boundary. The default is None, in which case the default name is used.

Returns:
pyaedt.modules.Boundary.BoundaryObject

Vector Potential Object. False if it fails.

References

>>> oModule.AssignVectorPotential