Error on implementing periodic boundary condition #20232
-
Hello MOOSE Experts I am working with a chemo-mechanical model in which displacement is diffusion induced. My domain is of square shape with coordinates (0,0), (1e-5,0), (1e-5,1e-5) and (0,1e-5). I have generated the mesh in cubit and also verified the domain size using paraview. I am trying to put periodic boundary conditions on disp_x and disp_y for the left and right boundaries. But I am getting the following error:
My code snippet for implementing periodic bc is as follows:
Please let me know any suggestions you have? Update: If I apply the periodic boundaries on top and bottom boundaries, I didn't get any error even if put the wrong translation value. Best |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 17 replies
-
Dear @asingh-mit Since your domain is a square, For instrance, see this one: Best Regards, |
Beta Was this translation helpful? Give feedback.
-
Looks like your imported mesh has boundaries where the nodes do not exactly line up. Easiest solution is to remesh, or use an integrated constraint to enforce periodicity. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your valuable insights and help. I resolved the issue. This has not been documented in the given text: Best |
Beta Was this translation helpful? Give feedback.
Hello @GiudGiud and @dschwen
Thank you very much for your valuable insights and help. I resolved the issue.
Actually, periodic boundary conditions can only be applied to SIDESETS.
I was trying to implement it to NODESETS.
This has not been documented in the given text:
https://mooseframework.inl.gov/source/actions/AddPeriodicBCAction.html
Best
Avtar