Nodes ▸ Datasets ▸ Fields
Toroidal Field
Generates a grid holding a toroidal (azimuthal) potential field of a chosen degree, amplitude and radial power.
Inputs
None.
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
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 |
amplitude | primitive(number) | opt-in drives amplitude | Drives the Amplitude parameter while connected |
radial_power | primitive(number) | opt-in drives radial_power | Drives the Radial Power (n) parameter while connected |
Outputs
dataset(grid)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
r Ranger | range | (1, 2.5) | R_sun | ⇄ port | |
theta Rangetheta | range | (0, 180) | deg | ⇄ port | |
phi Rangephi | range | (0, 360) | deg | ⇄ port | |
Points along rnr | int | 50 | 2 to 2000 | ⇄ port | |
Points along thetant | int | 91 | 2 to 2000 | ⇄ port | |
Points along phinphi | int | 181 | 2 to 2000 | ⇄ port | |
Degree (l)degree | int | 1 | 1 to 20 | ⇄ port | |
Amplitudeamplitude | float | 1 | G | ⇄ port | |
Radial Power (n)radial_power | int | 2 | 0 to 10 | ⇄ port |
Used by
No stock template or group uses this node.