To solve PDEs, I am trying to make meshes on a 2d rectangular domain by using Gmsh.
For the PDEs, I impose periodic boundary condition in x-direction and Neumann condition in y-direction.
I found that "Periodic Line" imposes the periodic boundary condition as the attached geo file.
However, the periodic condition on the geo file does not work as expectation, that is, when I numerically solve the PDEs by running BL1d_periodic2.py, the solution does not continue from the right wall after the solution reaches the left wall. On the other hand, when using the built-in-mesh maker "PeriodicRectangleMesh", the periodic condition works well.
How should I fix the geo file or the Python file in order to have a result like one by using PeriodicRectangleMesh?
Thank you.
Junho
BL1d_periodic2.zip
To solve PDEs, I am trying to make meshes on a 2d rectangular domain by using Gmsh.
For the PDEs, I impose periodic boundary condition in x-direction and Neumann condition in y-direction.
I found that "Periodic Line" imposes the periodic boundary condition as the attached geo file.
However, the periodic condition on the geo file does not work as expectation, that is, when I numerically solve the PDEs by running BL1d_periodic2.py, the solution does not continue from the right wall after the solution reaches the left wall. On the other hand, when using the built-in-mesh maker "PeriodicRectangleMesh", the periodic condition works well.
How should I fix the geo file or the Python file in order to have a result like one by using PeriodicRectangleMesh?
Thank you.
Junho
BL1d_periodic2.zip