Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 658 Bytes

File metadata and controls

19 lines (12 loc) · 658 Bytes

py4x3d2

Tooling for the new x3d2 solver.

py4x3d2 supports generating IBM masks for x3d2. There are currently two mask generators:

  1. run.py will load an stl file (currently hardcoded) and embed this into a mesh
  2. tests/run.py generates a cylinder mask

Dependencies

py4x3d2 depends on ADIOS2 to write the IBM mask for loading into x3d2.

To read stl files py4x3d2 depends on stl-to-voxel, installable via pip.

Current limitations

The stl reader currently hardcodes the stl file and x3d2 mesh in run.py and the voxel resolution in src/convert_stl.py, users should edit these before running to suit their needs.