Docs › Physics API reference › onesim.physics.magnetostatics
A.11 onesim.physics.magnetostatics
CoulombGauge class
CoulombGauge(multiplier_reference_dof: int = 0) -> None
The div(A)=0 constraint; no implicit penalty parameter or mass shift.
Selected methods.
bind(*, space, mesh, boundary_facets)
semantic_constraint(identifier, field)
MagneticFieldBoundary class
MagneticFieldBoundary(*, boundary: object, physics: object, value: object) -> None
Prescribed tangential H. the Ampere weak boundary source is H cross n.
Selected methods.
bind_trace(**context)
MagneticInsulation class
MagneticInsulation(*, boundary: object, physics: object) -> None
Tangential A=0 on the outer boundary of the vector-potential problem.
Selected methods.
bind_potential(**context)
MagneticPotentialBoundary class
MagneticPotentialBoundary(*, boundary: object, physics: object, value: object) -> None
Prescribed tangential vector potential in Wb/m, evaluated in world coordinates.
Selected methods.
bind_potential(**context)
MagneticReluctanceBoundary class
MagneticReluctanceBoundary(*, boundary: object, physics: object, reluctance: object, reference_potential: object = (0.0, 0.0, 0.0), reference_field: object = (0.0, 0.0, 0.0)) -> None
H cross n + beta A_t = H_ref cross n + beta A_ref,t, beta in 1/H.
Selected methods.
bind_trace(**context)
MagneticVectorPotential class
MagneticVectorPotential(*, gauge: object) -> None
Select the vector-potential formulation and provide its gauge declaration.
Magnetostatics class
Magnetostatics(*, domain: object, model_id: str = <factory>, permeability: object, formulation: object, current_sources: tuple = ()) -> None
Solve the static magnetic field through the declared formulation, permeability and current sources.
Declared fields. vector_potential (Wb/m, algebraic, x/y/z), magnetic_flux_density (T, derived, x/y/z), magnetic_field_strength (A/m, derived, x/y/z). Selected methods.
intrinsic_constraints(problem_id)
SolenoidCurrent class
SolenoidCurrent(*, inner_radius: float, outer_radius: float, length: float, turns: int, current: float, center: tuple = (0.0, 0.0, 0.0), axis: tuple = (0.0, 0.0, 1.0), source_id: str = <factory>) -> None
Uniform azimuthal current density over a resolved winding cross section.
Selected methods.
current_density(points)