Hi Jorge
Thank you a lot for the quick response! There are a few aspects that are still unclear to me.
1) Which one of the possible output formats is the openCARP format?
" The supported output formats are -- carp_txt, carp_bin, vtk, vtk_bin, vtk_polydata, mmg, stellar"
If I look at the meshes generated by the program , I see a folder with numerous types of files.
2) If I understand the use of meshtool correctly, the I should add in my run.py script the following code:
imsh = '/home/username/my_mesh.vtk' # path to input file
ifmt = 'vtk' # format of input file
omsh = os.path.join(DIR,'meshes') # path to output file
ofmt = 'carp_bin' # format of output file
heart = ['convert', '-imsh=' + imsh,
'-ifmt=' + ifmt,
'-omsh=' + omsh,
'-ofmt=' + ofmt]
cmd += heart
However, how can I then know the name of my mesh (the converted mesh in openCARP format), which I need in the run.py script as well?
Thank you a lot in advance!
Best
Lore