# Magnetostatics template


• Download the templates (they are also directly available in the ONELAB bundle)
• Create a geometry with Gmsh, or open an existing geometry
• File/Merge the Magnetostatics.pro template
• For each physical group in the model, you will be asked to select the material, sources or boundary conditions

Every time you run your model, the ONELAB database is saved to disk (you can later reload it using the gear menu). An flattened problem file containing the GetDP definitions is also saved in case you want to edit it manually later on.