Define a Planar Model
Set up the planar model
In the Model menu or tab, use New electric for an electrostatic draft and New magnetic for a magnetostatic draft. Each command loads its own standardized settings. New electric sets em_electrodes, a 0.02 m half-width, 0.04 m height, 1 V and a 0.004 m mesh size. New magnetic sets em_conductor, the same outer dimensions, a 0.005 m radius, a current density of 1,000,000 A/m² and a 0.0015 m mesh size. When you first open the tile, the module uses the values in the Startup and Reset column below.
- Model ID
- This ID identifies the model in the scientific settings. Start with a letter and use up to 81 characters consisting of Latin letters, digits, periods, hyphens and underscores. Spaces are rejected. Use Rename to change the name shown in the Workspace list.
- Physics
- The selected physics controls the equations, material roles and active fields. After changing the selector directly, check all reactivated values. The module retains inactive fields, but the current equations do not use them.
- electrostatic_2d
- Use this for the static response of a homogeneous rectangular dielectric with prescribed potentials on the left and right sides. This activates Relative permittivity εr (1) and Right boundary potential (V).
- magnetostatic_2d
- Use this for a uniform axial current in a circular conductor centered in a rectangular air domain. The conductor permeability, cross-section radius and current density fields are active.
- Half domain width (m)
- Half-width, from 0.001 to 2 m. The X domain extends from −w to +w, so the full width is 2w. Enter meters using a decimal point, for example
0.02. - Full domain height (m)
- Full height, from 0.001 to 2 m. The Y domain extends from −h/2 to +h/2. For 40 mm, enter
0.04.

Materials
- Relative permittivity εr (1)
- A dimensionless number from 0.0001 to 100,000, active in electrostatics. This sets ε = ε₀ εr throughout the rectangle. In this homogeneous exercise with fixed potentials, εr changes the material coefficient and the reference gradient of V remains uniform.
- Conductor relative permeability μr (1)
- A dimensionless number from 0.00001 to 100,000, active in magnetostatics. This sets μ = μ₀ μr inside the disk. The surrounding air uses μr = 1. Set 1 in the disk as well for comparison with the exercise reference.

Excitation
- Right boundary potential (V)
- In electrostatics, this is the voltage at X = +w. The X = −w boundary is at 0 V. The top and bottom edges are insulating. Enter a value from 10−8 to 106 V. Use 10 V for the exercise.
- Axial conductor radius (m)
- In magnetostatics, this is the radius of the disk centered at the origin. The minimum is 0.00001 m and the maximum is 0.35 × min(w, h), where w is the half-width and h is the full height. The outer boundary of the rectangle imposes Az = 0.
- Axial current density Jz (A/m²)
- Uniform current density along +Z, active in magnetostatics. Enter a positive value from 0.001 to 109 A/m². Use 10,000 A/m² and a 0.005 m radius for the comparison. The nominal current is Jzπa².

Mesh
Nominal maximum mesh size (m) sets the nominal maximum element size between 0.00001 and 0.2 m. The actual triangle count depends on the geometry and discretization. The initial check requires a mesh size s ≤ 0.6 × min(w, h) and 4wh/s² ≤ 6,000. For magnetostatics, also use s ≤ a/2. The actual mesh can contain up to 30,000 triangles and 60,000 nodes.
If Mesh exceeds bounded element/resolution policy appears, check the mesh size against the domain dimensions. A large mesh size gives poor resolution. A very small one can exceed the computational limit. Mesh must resolve conductor radius by at least two elements requires the mesh size to be at most half the radius. Adjust it before running Validate again.

Initial values and Reset buttons
Reset beside a field restores that field’s startup value. For example, after New electric, resetting the half-width restores 0.05 m. Use New electric or New magnetic to restore an entire consistent set of values.
| Field | Startup and Reset | New electric | New magnetic |
|---|---|---|---|
| Model ID | em_model | em_electrodes | em_conductor |
| Physics | electrostatic_2d | electrostatic_2d | magnetostatic_2d |
| Half domain width (m) | 0.05 | 0.02 | 0.02 |
| Full domain height (m) | 0.1 | 0.04 | 0.04 |
| Relative permittivity εr (1) | 1 | 1 | 1, inactive |
| Conductor relative permeability μr (1) | 1, inactive | 1, inactive | 1 |
| Right boundary potential (V) | 10 | 1 | 1, inactive |
| Axial conductor radius (m) | 0.01, inactive | 0.005, inactive | 0.005 |
| Axial current density Jz (A/m²) | 1000000, inactive | 1000000, inactive | 1000000 |
| Nominal maximum mesh size (m) | 0.005 | 0.004 | 0.0015 |