Difference between revisions of "GetDP"

From ONELAB
Jump to: navigation, search
Line 23: Line 23:
  
 
* [[Electrostatics]]
 
* [[Electrostatics]]
 +
** Capacitor, microstrip line, high-voltage isolator
 
* [[Electrokinetics]]
 
* [[Electrokinetics]]
 +
** Steady currents in conductors
 
* [[Magnetostatics]]
 
* [[Magnetostatics]]
 +
** C-shaped magnetic core
 
* [[Magnetodynamics]]
 
* [[Magnetodynamics]]
 +
** Eddy currents in a plate, switched reluctance motor, synchronous and asynchronous machine
 
* [[Wave propagation]]
 
* [[Wave propagation]]
 +
** Waveguide, parabolic reflector, dipole antenna, microstrip antenna
 
* [[Optics]]
 
* [[Optics]]
 +
**
  
 
= Acoustics =
 
= Acoustics =
  
Time harmonic acoustic scattering (Helmholtz equation)
+
* Time-harmonic scattering (Helmholtz equation)
 
+
** Multiple scattering with [[Multiple scattering with Sommerfeld absorbing condition|Sommerfeld ABC]] and with [[Multiple scattering with a Perfectly Matched Layer (PML)|Perfectly Matched Layer (PML)]]
* [[Multiple scattering with Sommerfeld absorbing condition]]
 
* [[Multiple scattering with a Perfectly Matched Layer (PML)]]
 
  
 
= Heat transfer =
 
= Heat transfer =
Line 44: Line 48:
 
The following examples explain the fundamental concepts used in GetDP '.pro' files
 
The following examples explain the fundamental concepts used in GetDP '.pro' files
  
* [[Laplace equation with Neumann boundary condition]]
+
* Laplace equation
* [[Laplace equation with Dirichlet boundary condition]]
+
** [[Laplace equation with Neumann boundary condition|Neumann boundary condition]], [[Laplace equation with Dirichlet boundary condition|Dirichlet boundary condition]]
 
* [[Coupled problems]]
 
* [[Coupled problems]]

Revision as of 09:30, 6 April 2012

GetDP is a rather general open source finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions. GetDP is developed by the ACE group from the Montefiore Institute at the University of Liège, and is released under the GNU GPL.

Getting started

ONELAB allows to use GetDP as a black-box solver: you don't need to know anything about finite elements or de Rham complexes in order to run your first simulations:

  1. Download the latest nightly builds of Gmsh (for Windows, MacOS X or Linux) and GetDP (for Windows 32 bit/64 bit, MacOS X 32 bit/64 bit or Linux 32 bit/64 bit)
  2. Uncompress the 2 archives (no installation necessary; you can move them to any directory)
  3. Double-click on the Gmsh executable (gmsh.exe
    Error creating thumbnail: Unable to save thumbnail to destination
    on Windows); a graphic window and a command window will open
  4. Load one of the geometries through the File->Open menu (e.g. the file magnet.geo for the first example below); the geometry will appear in the graphic window
  5. Go to the Solver module (by clicking on the Geometry button in the command window, then selecting Solver)
  6. Click on the GetDP button (the first time you you will need to specify the location of the GetDP executable, e.g. getdp.exe on Windows; this depends on where you uncompressed the archives in step 2.)
  7. Click on Compute
  8. ... that's it!

You can test this e.g. on the simulation of a C-shaped magnetic core:

  1. Open the geometry (magnet.geo)
  2. Check the influence of some parameters (e.g. the air gap or and relative permeability of the core)
  3. You can loop over a parameter by clicking on File:LoopButton.png

The underlying model is explained in more details in the Magnetostatics section.

Electromagnetics

Acoustics

Heat transfer

Generic PDEs

The following examples explain the fundamental concepts used in GetDP '.pro' files