In EM.Ferma you don't have to select any specific simulation engine. The program looks at the types sources and material objects present in your project workspace and then it determines whether an electrostatic analysis or a magnetostatic analysis or possibly both should be performed. When there are only electric sources present, you will get nonzero electric fields and zero magnetic fields. When there are only magnetic sources present, you will get nonzero magnetic fields and zero electric fields.
Â
To run a static simulation, first you have to open the Run Dialog. This is done by clicking the "Run" button of the Simulate Toolbar, or by selecting the "Run" item of the Simulate Menu, or simply using the keyboard shortcut "Ctrl+R". The only available simulation engine is "Static". Clicking the Run button of this dialog starts a static analysis. A separate window pops up which reports the progress of the current simulation.
=== Simulation Modes ===
EM.Ferma currently offers three different simulation modes: Analysis, Parametric Sweep and [[Optimization]]. An "Analysis" is a single-shot finite difference solution of your static structure. The structure is first discretized using a fixed-cell mesh and the Poisson equation is solved numerically everywhere in your computational domain. The field and potential values at each mesh node are computed and the specified observables are written into data files.
In a "Parametric Sweep", one ore more [[variables]] are varied at the specified steps(s). This means that you must first define one or more [[variables]] in your projects. [[Variables]] can be associated with CAD object properties like dimensions, coordinates, rotation angles, etc. or with material properties or source properties. For each single variable sample or each combination of variable samples, first all the associated CAD object properties, material properties or source properties are updated in the project workspace. Then is a finite difference solution of your updated static structure is computed and parametric sweep proceeds to the next variable sample or combination. The [[optimization]] mode requires definition of one or more objectives based on the standard output quantities. At the present time, the [[optimization]] mode is only available for the 2D Quasi-Static Mode of the EM.Ferma, which will be discussed separately later.
===Static Simulation Engine Settings===
{{Note| If you define a single Flux Box observable and a single Voltage Path observable for your static project, the Capacitance is calculated and written to "capacitance.DAT" data file.}}
{{Note| If you define a single Flux Plane observable and a single Current Loop observable for your static project, the Inductance is calculated and written to "inductance .DAT" data file.}} Â Â
== 2D Quasi-Static Solution of Transmission Lines ==