Skip to main content
The lucid module defines high-level methods to abstract and simplify common meshing tasks. Methods contained in this module are intended to demonstrate how the low-level APIs can be combined to execute meshing workflows flexibly and with minimal need for understanding PyPrimeMesh-specific concepts. The methods use global automatic defaults where possible to reduce effort in creating general purpose operations. Many common meshing tasks and workflows can be tackled easily using the functions provided. Here is an example of meshing the mixing elbow case for a fluid flow analysis:

Remesh surface using the Lucid module

This code shows how to remesh the surface using the Lucid module:

Surface wrapping using the lucid.Mesh class

This example shows you surface wrapping using lucid to get the desired surface mesh results:

Prism controls for polyhedral mesh using the Lucid module

This example shows how to generate poly prism method using the Lucid module: