Difference between revisions of "GetDP"

From ONELAB
Jump to: navigation, search
Line 5: Line 5:
 
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:
 
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:
  
# Download the latest nightly build of Gmsh for [http://geuz.org/gmsh/bin/Windows/gmsh-nightly-Windows.zip Windows], [http://geuz.org/gmsh/bin/MacOSX/gmsh-nightly-MacOSX.dmg MacOS X] or [[http://geuz.org/gmsh/bin/Linux/gmsh-nightly-Linux.tgz Linux]
+
# Download the latest nightly builds of Gmsh (for [http://geuz.org/gmsh/bin/Windows/gmsh-nightly-Windows.zip Windows], [http://geuz.org/gmsh/bin/MacOSX/gmsh-nightly-MacOSX.dmg MacOS X] or [[http://geuz.org/gmsh/bin/Linux/gmsh-nightly-Linux.tgz Linux]) and GetDP (for Windows [http://geuz.org/getdp/bin/Windows/getdp-svn-Win32c.zip 32 bit]/[http://geuz.org/getdp/bin/Windows/getdp-svn-Win64c.zip 64 bit], MacOS X [http://geuz.org/getdp/bin/MacOSX/getdp-svn-MacOSX32c.tgz 32 bit]/[http://geuz.org/getdp/bin/MacOSX/getdp-svn-MacOSX64c.tgz 64 bit] or Linux [http://geuz.org/getdp/bin/Linux/getdp-svn-Linux32c.tgz 32 bit]/[http://geuz.org/getdp/bin/Linux/getdp-svn-Linux64c.tgz 64 bit])
# Download the latest nightly build of GetDP for Windows [http://geuz.org/getdp/bin/Windows/getdp-svn-Win32c.zip 32 bit]/[http://geuz.org/getdp/bin/Windows/getdp-svn-Win64c.zip 64 bit], MacOS X [http://geuz.org/getdp/bin/MacOSX/getdp-svn-MacOSX32c.tgz 32 bit]/[http://geuz.org/getdp/bin/MacOSX/getdp-svn-MacOSX64c.tgz 64 bit] or Linux [http://geuz.org/getdp/bin/Linux/getdp-svn-Linux32c.tgz 32 bit]/[http://geuz.org/getdp/bin/Linux/getdp-svn-Linux64c.tgz 64 bit]
 
 
# Uncompress the 2 archives (there is no installation necessary ; you can move them to any directory you want)
 
# Uncompress the 2 archives (there is no installation necessary ; you can move them to any directory you want)
 
# Double-click on the Gmsh executable ('''gmsh.exe''' [[File:GmshIcon.png|GmshIcon.png]] on Windows) ; a graphic window and a command window will open
 
# Double-click on the Gmsh executable ('''gmsh.exe''' [[File:GmshIcon.png|GmshIcon.png]] on Windows) ; a graphic window and a command window will open

Revision as of 09:49, 5 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 (there is no installation necessary ; you can move them to any directory you want)
  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 Transfo.geo for the transformer 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
  7. The first time you you will specify the location of the GetDP executable (getdp.exe on Windows) on your hard drive (this depends on where you uncompressed the archives in step 2.)
  8. Change some parameters in the ONELAB window and click on Compute
  9. ... that's it!


Tutorials

Electromagnetics

Acoustics

Time harmonic acoustic scattering (Helmholtz equation)

Heat transfer

Generic PDEs

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