SimiLie
Loading...
Searching...
No Matches
The ONELAB interface

ONELAB is a standard interface specification that allows Gmsh to control external PDE solvers. SimiLie provides an ONELAB interface for several standard physics problems, including scalar field and magnetostatic physics.

Important
The ONELAB interface in SimiLie is mostly AI-generated and has received very limited testing. Unfortunately, I do not have the resources to do better. Please keep in mind that, without AI assistance, this interface would not exist at all. Contributions would of course be greatly appreciated.

The geometry is defined in a .geo file, which is interpreted entirely by Gmsh. Gmsh then communicates with SimiLie through the ONELAB interface. The physical problem definition and numerical solver configuration are specified in a .silpro file, which can be viewed as the SimiLie counterpart of GetDP .pro files. Of course, .silpro files do not follow the same specification as .pro files, since SimiLie is far for being able to claim having capabilities comparable to GetDP.

Important
Because the ONELAB interface is evolving rapidly, the .silpro format is currently undocumented. For a basic introduction, please refer to the onelab_inductor example.

A key limitation of using SimiLie through its ONELAB interface is that SimiLie only supports rectilinear hexahedral grids. If Gmsh requests SimiLie to process a mesh containing non-hexahedral elements, it should trigger an assertion.