Difference between revisions of "Magnetostatics template"

From ONELAB
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{mytexdefs}}The [http://onelab.info/files/templates/Magnetostatics.pro Magnetostatics.pro] [http://onelab.info/files/templates.zip template] focuses on solving static magnetic problems, i.e. computing the distribution of the magnetic field  $\vec{h}$ $\Units{A/m}$ and the magnetic flux density $\vec{b}$ $\Units{T}$ around magnets or stationary current sources. This is called an ''magnetostatic'' problem, or simply ''magnetostatics''.  
+
{{mytexdefs}}The [http://onelab.info/files/templates/Magnetostatics.pro Magnetostatics.pro] template focuses on solving static magnetic problems, i.e. computing the distribution of the magnetic field  $\vec{h}$ $\Units{A/m}$ and the magnetic flux density $\vec{b}$ $\Units{T}$ around magnets or stationary current sources. This is called an ''magnetostatic'' problem, or simply ''magnetostatics''.  
  
* Download the [http://onelab.info/files/templates.zip templates] (they are also directly available in the [[ONELAB|ONELAB bundle]])
+
* Download the [http://onelab.info/files/templates.zip templates] (they are also directly available in the [[ONELAB#Give it a try!|ONELAB bundle]])
 
* Create a geometry with Gmsh, or open an existing geometry
 
* Create a geometry with Gmsh, or open an existing geometry
 
* '''File/Merge''' the '''Magnetostatics.pro''' template
 
* '''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
 
* 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.
+
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.

Latest revision as of 16:53, 5 March 2016

\(\renewcommand{\vec}[1]{\mathbf{#1}} \newcommand{\Grad}[1]{\mathbf{\text{grad}}\,{#1}} \newcommand{\Curl}[1]{\mathbf{\text{curl}}\,{#1}} \newcommand{\Div}[1]{\text{div}\,{#1}} \newcommand{\Real}[1]{\text{Re}({#1})} \newcommand{\Imag}[1]{\text{Im}({#1})} \newcommand{\pvec}[2]{{#1}\times{#2}} \newcommand{\psca}[2]{{#1}\cdot{#2}} \newcommand{\E}[1]{\,10^{#1}} \newcommand{\Ethree}{{\mathbb{E}^3}} \newcommand{\Etwo}{{\mathbb{E}^2}} \newcommand{\Units}[1]{[\mathrm{#1}]} \)The Magnetostatics.pro template focuses on solving static magnetic problems, i.e. computing the distribution of the magnetic field $\vec{h}$ $\Units{A/m}$ and the magnetic flux density $\vec{b}$ $\Units{T}$ around magnets or stationary current sources. This is called an magnetostatic problem, or simply magnetostatics.

  • 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.