To add a new dielectric or magnetic material group to a project, right-click on "Dielectric/Magnetic Materials" on the Navigation Tree, and select "Insert New Dielectric..." From the Dielectric Dialog, you can change the default green color of a material group or set the values of the material [[parameters]].
{{Note| Excluding surface and [[Curve Objects|[[Curve Objects|[[Curve Objects|[[Curve Objects|[[Curve Objects|[[Curve Objects|[[Curve Objects|[[Curve Objects|curve objects]]]]]]]]]]]]]]]], you can define any solid object as a dielectric or magnetic material object.}}
[[Image:MORE.png|40px]] Click here to learn more about '''[[Defining Materials in EM.Cube]]'''.
== Computational Domain and Discretization==
Â
[[Image:fermbc.png|thumb|250px|Boundary Condition Dialog]]
===The Domain Box===
EM.Ferma allows you to specify the electric potential boundary conditions on the domain box. Two options are available. The Dirichlet boundary condition is the default option and is specified as a fixed potential value on the surface of the domain walls. By default, this value is 0 Volts. The Neumann boundary condition specifies the normal derivative of the electric scalar potential on the surface of the domain walls. This is equivalent to the normal electric field component on the domain walls and its value is specified in V/m. The magnetostatic simulation engine always assumes Dirichlet domain boundary conditions and sets the values of the magnetic vector potential to zero on all the domain walls. To modify the boundary conditions, right-click on "Boundary Conditions" in the Navigation Tree, and select "Boundary Conditions..." from the contextual menu to open the Boundary Conditions Dialog.
Â
<table>
<tr>
<td> [[Image:Qsource5.png|thumb|250px|EM.Ferma's Domain Settings dialog.]] </td>
<td> [[Image:fermbc.png|thumb|250px|EM.Ferma's Boundary Conditions dialog.]] </td>
<td> [[Image:Qsource4.png|thumb|250px|EM.Ferma's Mesh Settings dialog.]] </td>
</tr>
</table>
===The Static Mesh===
{{Note|To obtain accurate results, it is highly recommended to use a square mesh as much as possible.}}
Â
<table>
<tr>
<td> [[Image:Qsource2.png|thumb|300px|Geometry of a spherical charge source and the enclosing domain box.]] </td>
<td> [[Image:Qsource3.png|thumb|300px|Fixed-cel mesh of the spherical charge object.]] </td>
</tr>
</table>
== Running Static Simulations in EM.Ferma ==