Difference between revisions of "ONELAB"

From ONELAB
Jump to: navigation, search
(Sponsors)
(Sponsors)
Line 58: Line 58:
 
The [[ONELAB project]] was funded by the Walloon Region under [http://recherche-technologie.wallonie.be/projets/index.html?IDD=17018 WIST3 grant n° 1017086] and ''Fonds de maturation'' grant n° 1217742 (AWE), and was sponsored by [http://www.gdtech.eu GDTech] and [http://www.audaxis.com Audaxis]. Additional funding was provided by [http://www.belspo.be the Belgian Science Policy] under grant IAP P7/02.
 
The [[ONELAB project]] was funded by the Walloon Region under [http://recherche-technologie.wallonie.be/projets/index.html?IDD=17018 WIST3 grant n° 1017086] and ''Fonds de maturation'' grant n° 1217742 (AWE), and was sponsored by [http://www.gdtech.eu GDTech] and [http://www.audaxis.com Audaxis]. Additional funding was provided by [http://www.belspo.be the Belgian Science Policy] under grant IAP P7/02.
  
<center><span class="plain links">
+
<center>
[[File:logo_ulg.gif|x64px|link=http://www.ulg.ac.be]]
+
[[File:logo_ulg.gif|x64px|link=http://www.ulg.ac.be]] &nbsp;
[[File:logo_ucl.jpg|x64px|link=http://www.uclouvain.be]]
+
[[File:logo_ucl.jpg|x64px|link=http://www.uclouvain.be]] &nbsp;
[[File:logo_rw.jpg|x64px|link=http://www.wallonie.be]]
+
[[File:logo_rw.jpg|x64px|link=http://www.wallonie.be]] &nbsp;
[[File:logo_belspo.jpg|x64px|link=http://www.belspo.be]]
+
[[File:logo_belspo.jpg|x64px|link=http://www.belspo.be]] &nbsp;
[[File:logo_gdtech.jpg|x64px|link=http://www.gdtech.eu]]
+
[[File:logo_gdtech.jpg|x64px|link=http://www.gdtech.eu]] &nbsp;
 
[[File:logo_audaxis.png|x64px|link=http://www.audaxis.be]]
 
[[File:logo_audaxis.png|x64px|link=http://www.audaxis.be]]
</span>
 
 
</center>
 
</center>

Revision as of 16:50, 5 December 2015


ONELAB (Open Numerical Engineering LABoratory) is an open-source, lightweight interface to finite element software. It is completely free: the default ONELAB bundle contains the open source mesh generator Gmsh and the free finite element solver GetDP. Many other codes (free or not) can be easily interfaced as well.

Give it a try!

  1. Download the ONELAB bundle:
  2. Launch the app
  3. Open a model:
    • Desktop version: go to the File/Open menu and select a GetDP .pro file, e.g. models/inductor/inductor.pro
    • Mobile version: select one of the preloaded models
  4. Press Run.
  5. ... then explore other models!

Use existing clients

Native clients directly embed the ONELAB library:

  • GetDP: a finite element solver for electromagnetism, heat transfer, acoustics and generic PDEs
  • Gmsh: a mesh generator and post-processor (Gmsh also plays the role of ONELAB server)
  • Onelab/Mobile: GetDP and Gmsh on iPhone, iPad and Android devices

Other clients (non-native) are interfaced with ONELAB by a system of input file pre-processing. The different steps of a simulation (meshing, solving, post-processing) are controlled by a python script. See worked-out examples with:

  • Elmer: a finite element solver for multi-physic problems developed by CSC
  • OpenFOAM: an open source CFD software package developed by OpenCFD

Any software driven by input data files (e.g. Code_Aster, Abaqus, CalculiX, FreeFem, Gnuplot, ...) can be readily interfaced in the same way.

Here are some useful hints to efficiently use the ONELAB graphical user interface.

Develop your own client

Implement your own native ONELAB clients:

  • With Python: any Python code can become a native ONELAB client
  • With C++: how to create a native C++ ONELAB client

Technical information

The ONELAB interface allows calling sequences of independent clients (e.g. mesh generators, finite element solvers and other related tools) and have them share parameters and modeling information. It is based on an abstraction of the interface to finite element solvers and related tools: for geometry modeling and meshing, for the definition of physical properties, constraints and other solver parameters, and for post-processing.

The implementation is based on a client-server model, with a server-side database and (optional) graphical front-end, and local or remote clients communicating in-memory or through TCP/IP sockets. Contrary to most available solver interfaces, the ONELAB server has no a priori knowledge about any specifics (input file format, syntax, ...) of the clients. In practice, this is made possible by having any simulation preceded by an analysis phase, during which the clients are asked to upload their parameter set to the server.

Native ONELAB clients can be written in C++ or Python, and embed the ONELAB library. For native clients the specification of which data to share is completely dynamic. For non-native clients, the ONELAB server acts as a pre-processor of their input files, which should be instrumented to specify the information to be shared. In all cases the issues of completeness and consistency of the parameter sets are completely dealt with on the client side: the role of ONELAB is limited to data centralization, modification and re-dispatching.

Sponsors

The ONELAB project was funded by the Walloon Region under WIST3 grant n° 1017086 and Fonds de maturation grant n° 1217742 (AWE), and was sponsored by GDTech and Audaxis. Additional funding was provided by the Belgian Science Policy under grant IAP P7/02.

Logo ulg.gif   Logo ucl.jpg   Logo rw.jpg   Logo belspo.jpg   Logo gdtech.jpg   Logo audaxis.png