Application for 3D reconstruction of foam
Dependencies: vtk-python
The code depends on third-party applications, all must be callable from python/shell, place their executables for example to /usr/local/bin:
neperfor tessellation (http://neper.sourceforge.net/)se_apifor modifying foam structure, converting geo to Surface Evolver format, analyzing tools (https://github.com/kolarji2/SE_api)meshconvfor converting between stl and ply format (http://www.patrickmin.com/meshconv/)binvoxfor generating voxel structure from ply format (http://www.patrickmin.com/binvox/)vox_fillfor filling empty holes in foam structure in voxel formatevolverfor structure relaxation (http://facstaff.susqu.edu/brakke/evolver/evolver.html)PackingGenerationfor dense sphere packing (https://github.com/VasiliBaranov/packing-generation)
Example configuration files are located in examples
Try run:
python main.py -c examples/example_sp1.json -gra
#Generate spherical packing, anneal the foam structure and optimize strut content and porosity
python main.py -c examples/example_el1.json -gd
#Generate anisotropic packing, anneal the dry foam structure