How to exert boundary conditions for a Gmsh domain
Asked by
Zheng
Hi all,
In my simulation, I imported a Gmsh file into my Escript code using:
mydomain = ReadGmsh(
In the ''domain.msh", because the surface is curved and it's hard to define the boundary condition directly using FunctionOnBound
$MeshFormat
2.2 0 8
$EndMeshFormat
$PhysicalNames
4
1 1 "top"
1 3 "slope"
1 4 "bottom"
1 5 "side"
$EndPhysicalNames
$Nodes
703
1 0 0 0
2 0 2 0
3 0 5 0
......
The question is how to exert a designated boundary conditions on surface 'top' and 'bottom'?
Thanks so much.
Best regards,
Zheng
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Lutz Gross
- Solved:
- Last query:
- Last reply:
To post a message you must log in.