How to import a STEP geometry into EGS++ #1260
Unanswered
physicsmed
asked this question in
Questions
Replies: 1 comment 4 replies
-
Using gmsh, you need to give each "physical volume" in the mesh a name, that will correspond to a material. It might look something like this at the top of the .msh file. If you know the physical volume IDs, you can type it manually, or you can use the GUI to do it.
For the following line, I suggest providing the full file path and removing the quotes. Just in case that's the issue.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone! I’m trying to simulate a geometry originally given as a .step file in EGS++. I used Gmsh to open the STEP file (with extension ".step") and generate a tetrahedral mesh (exported as .msh in ASCII format).
In my EGS++ input file, I’m defining the geometry like this:
`:start geometry definition:
:stop geometry definition:
`
However, when I run egs_view filter.egsinp, I get a segmentation fault (core dumped). Sometimes I also see an error about “No matching stop delimiter.”
1- Is there a recommended workflow or common pitfalls when converting .step to .msh for EGS++? is there any other way to read directly my 3D geometry avoiding the conversion?
2- Could the crash be related to missing region definitions or an unbounded geometry?
Beta Was this translation helpful? Give feedback.
All reactions