How to Write Boundary Conditions?
Re: How to Write Boundary Conditions?
Can I ask one more question? What is the meaning of "3,9,12,15" in the line "Physical Surface("ends1", 24) = {3, 9, 12, 15};"? I didn't find any related numbers in the ".geo" file...
-
- Posts: 2237
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: How to Write Boundary Conditions?
You can always ask one more question, but there may not be one more answer, The geo is created automatically in gmsh using the gmsh menus. So the exact meaning of the numbers I do not know,. However I believe they are the line numbers that make up the surface.
The gmsh manual is online.
The gmsh manual is online.
Re: How to Write Boundary Conditions?
Ah, I see. Actually I'm just confusing that how to write a boundary condition like "0 potential at infinity"? Since I can't define a surface represents the infinity right?
-
- Posts: 2237
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: How to Write Boundary Conditions?
If you look at tutorials 12, 14, 15 you can see how they created an air body around the bodies and defined the fairfield boundary condition to the outer surface
https://www.nic.funet.fi/pub/sci/physic ... orials.pdf
https://www.nic.funet.fi/pub/sci/physic ... orials.pdf