Tooling for the new x3d2 solver.
py4x3d2
supports generating IBM masks for x3d2
.
There are currently two mask generators:
run.py
will load anstl
file (currently hardcoded) and embed this into a meshtests/run.py
generates a cylinder mask
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
.
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.