Quickstart¶
This guide walks through a complete simulation in Elementa from geometry creation to results visualisation.
1. Launch Elementa¶
The Welcome Window opens. Click New Project or select a template.
2. Configure the Project¶
In the New Project Wizard:
- Project name — a descriptive label (e.g.
parallel_plate_capacitor) - Space dimension —
2Dor3D - Physics — select one or more physics modules (e.g.
Electrostatics) - Study type —
StationaryorTime Dependent
Click Finish to open the main window.
3. Add Parameters¶
Open the Definitions → Parameters panel and define symbolic constants, for example:
| Name | Expression | Description |
|---|---|---|
W |
0.1 |
Plate width (m) |
H |
0.01 |
Plate height (m) |
gap |
0.02 |
Gap between plates (m) |
Parameters can reference each other and use standard mathematical functions (sin, cos, sqrt, …).
4. Build the Geometry¶
- Open the Geometry panel.
- Click Add → Rectangle and enter expressions using your parameters:
dx = W,dy = H,cx = 0,cy = gap/2→ name itplate_topdx = W,dy = H,cx = 0,cy = -gap/2→ name itplate_bot- Add a surrounding domain: a large rectangle covering both plates.
- Use Boolean → Difference to cut out the plates from the domain to create a dielectric gap region.
5. Generate the Mesh¶
- Open the Mesh panel.
- Set Element Size (e.g.
0.005m for a fine mesh). - Click Generate Mesh.
The mesh is visualised on the canvas with coloured boundaries.
6. Set Materials (Optional)¶
Open the Materials panel. Each domain can be assigned a material from the built-in library (Air, Vacuum, Water, Silicon, Copper) or a custom material with user-specified property values.
Enable Use Material Properties in the Physics settings to activate domain-dependent material values.
7. Define Boundary Conditions¶
Open the Physics panel:
- Click on a boundary in the canvas (it highlights) or type the boundary name.
- Click Add Boundary Condition and select the type:
Electric Potential→ setvalue = 100V onplate_topGroundonplate_bot
8. Solve¶
- Open the Study panel.
- Click Compute.
A progress bar tracks assembly and solving. The log console displays solver status.
9. Visualise Results¶
After solving, open the Results panel:
- Surface Plot — colour-map of electric potential φ or any scalar field.
- Arrow Plot — vector arrows showing the electric field E.
- Point Probe — extract the field value at a specific coordinate.
- Line Probe — plot a field quantity along a line.
Use the Plot ribbon tab to add multiple plots to the canvas.
10. Save the Project¶
Press Ctrl+S or File → Save. Projects are saved as .elem files (a portable ZIP archive containing the model state, mesh, and results).
Next Steps¶
- Geometry guide — boolean operations, 3-D primitives
- Physics guide — all boundary conditions and domain features
- Examples — ready-to-run tutorials