Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 619 Bytes

File metadata and controls

32 lines (22 loc) · 619 Bytes

monoblock_dimension_effects

1. Create the geometry

This step requires CadQuery which can be installed with Anaconda.

python make_cad.py

This will create a brep file.

2. Mesh

To mesh the brep files, run:

C:\SALOME-9.6.0\run_salome.bat -t mesh_with_salome.py

You may need to replace the path to run_salome.bat.

This will create a .med file.

Then to convert the .med file in .xdmf files (readable by FESTIM), run:

python convert_mesh.py

If needed, install meshio with:

pip install meshio[all]