Assign material property to cells from gmsh
Asked by
Praveen C
Hello
I want to generate a mesh in gmsh and assign a material property to each cell. Each cell would have some id. Can this cell id be used inside fenics to define subdomains ?
Alternately can I assign some id to each cell inside fenics and define subdomains based on these id ? The cells may then get deformed but the subdomain should be still defined in terms of the cell id. I cannot use a test on the cell coordinates to decide the subdomain since the deformation can be complicated.
Thanks
praveen
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Praveen C for more information if necessary.
To post a message you must log in.