Gmsh solver getdp5/24/2023 Import meshio # Import mesh conversion library Examples Import packages from onelab import gmsh # Import Onelab API They are have the capability to easily hook into solvers created in ther languages such as C, Fortran or Matlab. With this package, users can define their geometry, mesh, solver, post processing view and optimisation functions in Python. However, they have a steep learning curve on account of the fact that geometries, solvers and optimisation libraries all require different programming / scripting languages and data formats. Onelab and Gmsh are powerful open source engineering design tools. The purpose of this project is to package the respective Python APIs aong with a set of useful fucntions and classes that will make interacting with the software a lot easier. Onelab and Gmsh both support Python, Julia and C++ application programming interfaces. It is completely free: the default ONELAB software bundle contains the mesh generator Gmsh, the finite element solver GetDP and the optimization library conveks." If you are not familiar with Onelab or Gmsh, I highly recommend that you familiarise yourself with these software packages before reading on.Īccording to the Onelab website - "Onelab is an open-source, lightweight interface to finite element software. Contol files from the Onelab GUI or the command line. ![]() ![]() Quickly link solvers written in your proramming language of choice. ![]() It is a proof on concept package for easily interfacing with the gmsh and onelab clients using python.Ī more detailed version of the documentation will follow, along with examples of how the api can be used and a set of useful functions to make it easier to manipulate mesh data in Python.Ĭurrently the package contains the APIs as distributed HERE. This is the v.1 release of the "onelab" python package.
0 Comments
Leave a Reply. |