Replies: 2 comments 1 reply
-
Could you have a look at: https://jsdokken.com/dolfinx-tutorial/chapter3/subdomains.html#subdomains-defined-from-external-mesh-data |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, missed this one. At work now, I had a bird-eye view. I'll have a closer look at the week-end. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I suggest here an idea for adding a new tutorial: starting from step file, meshing with pygmsh, and then, solving with fenics.
I succeeded to run chapter2/linearelasticity_code.py which has automatic mesh and fenics solve.
I succeeded to run https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/examples/api/step_assembly.py which has custom mesh from CAD (STEP file) with physical surfaces (where you can apply BC on them), but, no fenics solve.
I didn't succeed to merge both tutorials. As this is a common use case, I guess having a new tutorial on this topic would be worth! That is:
pygmsh
(3D mesh + export physical surfaces in the .msh file)I didn't succeed to design this tutorial which was the one I needed in the first place... But I would be glad somebody could succeed where I failed! :)
Beta Was this translation helpful? Give feedback.
All reactions