all projects

project 15 / 31

Parametric Solenoid

A few lines of code meshing a helical solenoid - OpenCASCADE builds the geometry, Gmsh generates the tets, ready for electromagnetic simulation.

#gmsh#opencascade#python#c++#meshing#fea#cad#electromagnetics

About this project

A few lines of code create the mesh for a solenoid, You can control its size and mesh from code easily.

Gmsh: a robust 3D finite element mesh generator with a simple but powerful scripting language, an intuitive GUI and support for multiple export formats.

OpenCASCADE: a feature-rich library for 3D CAD modeling and visualization - tools for constructing, analyzing and manipulating geometric shapes, often the backbone of advanced CAD/CAE applications.

Together they bridge design and simulation: OpenCASCADE for geometry creation, Gmsh for meshing.

hosted on fly.io