Difference between revisions of "GetDP"
From ONELAB
(→Getting started) |
|||
Line 4: | Line 4: | ||
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: | ||
+ | |||
+ | [[File:magnet-1.png|thumb|250px|right]] | ||
+ | [[File:magnet-2.png|thumb|250px|right]] | ||
+ | [[File:magnet-3.png|thumb|250px|right]] | ||
+ | [[File:magnet-4.png|thumb|250px|right]] | ||
+ | [[File:magnet-5.png|thumb|250px|right]] | ||
# 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 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]) |
Revision as of 09:22, 8 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:
- 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)
- Uncompress the 2 archives (no installation necessary; you can move them to any directory)
- Double-click on the Gmsh executable (gmsh.exe Error creating thumbnail: Unable to save thumbnail to destinationon Windows); a graphic window and a command window will open
- 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
- Go to the Solver module (by clicking on the Geometry button in the command window, then selecting Solver)
- 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.)
- Click on Compute
- ... that's it!
You can test this e.g. on the simulation of a C-shaped magnetic core:
- Open the geometry (magnet.geo)
- Check the influence of some parameters (e.g. the air gap or and relative permeability of the core)
- 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
- Electrostatics
- Capacitor, microstrip line, high-voltage isolator
- Electrokinetics
- Steady currents in conductors
- Magnetostatics
- Linear C-shaped magnetic core, Non-linear core
- Magnetodynamics
- Eddy currents in a plate, switched reluctance motor, synchronous and asynchronous machine
- Wave propagation
- Waveguide, parabolic reflector, dipole antenna, microstrip antenna
- Optics
Acoustics
- Time-harmonic scattering (Helmholtz equation)
- Multiple scattering with Sommerfeld ABC and with Perfectly Matched Layer (PML)
Heat transfer
Generic PDEs
The following examples explain the fundamental concepts used in GetDP '.pro' files
- Laplace equation
- Coupled problems