kolarji2 / SE_api

Program for easier work with Surface Evolver
3 stars 3 forks source link

se_api returns empty file #1

Open positroncascade opened 5 years ago

positroncascade commented 5 years ago

I have bigger geo file than the example one. Example file works but my own file returns empty file. How can I solve this issue?

kolarji2 commented 5 years ago

Hello, could you provide me link to the geo file you use?

positroncascade commented 5 years ago

Sure. You can find it here: https://www.dropbox.com/s/qj1e286tng2fk56/data.geo?dl=0

kolarji2 commented 5 years ago

First, parsing method is very simple and assumes that all vertices, lines and volumes are ordered starting from 1, additionally it assumes key words to be delimited by space. Check following file https://www.dropbox.com/s/bqdclnrln0tyy60/foam_test.geo?dl=0

Second, se_api assumes that input geo file is periodic. And boundary cells contains also information about vertices and edges outside the domain. So for nonperiodic files it is necessary to modify the app.