Nodes ▸ Datasets ▸ Fields

Poloidal Field

Generates a grid holding an axisymmetric multipole potential field of a chosen degree and moment, optionally plus a uniform Cartesian field. It is a quick synthetic field for testing tracing and null-point finding.

Poloidal Field

Inputs

None.

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
r primitive(array) opt-in
drives r
Drives the r Range parameter while connected
theta primitive(array) opt-in
drives theta
Drives the theta Range parameter while connected
phi primitive(array) opt-in
drives phi
Drives the phi Range parameter while connected
nr primitive(number) opt-in
drives nr
Drives the Points along r parameter while connected
nt primitive(number) opt-in
drives nt
Drives the Points along theta parameter while connected
nphi primitive(number) opt-in
drives nphi
Drives the Points along phi parameter while connected
degree primitive(number) opt-in
drives degree
Drives the Degree (l) parameter while connected
moment primitive(number) opt-in
drives moment
Drives the Moment parameter while connected
uniform primitive(number) opt-in
drives uniform
Drives the Uniform Field parameter while connected
uniform_direction primitive(array) opt-in
drives uniform_direction
Drives the Uniform Direction parameter while connected

Outputs

dataset(grid)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
r Range
r
range (1, 2.5) R_sun ⇄ port
theta Range
theta
range (0, 180) deg ⇄ port
phi Range
phi
range (0, 360) deg ⇄ port
Points along r
nr
int 50 2 to 2000 ⇄ port
Points along theta
nt
int 91 2 to 2000 ⇄ port
Points along phi
nphi
int 181 2 to 2000 ⇄ port
Degree (l)
degree
int 1 1 to 20 ⇄ port
Moment
moment
float 1 G ⇄ port
Uniform Field
uniform
float 0 G ⇄ port
Uniform Direction
uniform_direction
vector (1, 0, 0) ⇄ port

Used by

No stock template or group uses this node.