-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panzer: Wedge periodic boundaries #13597
Comments
@trilinos/panzer @rppawlo |
@delcmo - we do routinely use cubit meshes for the wedge periodic boundary condition in applications based on panzer. The node matching is very sensitive to how the mesh is constructed. The "copy mesh surface" is typically what we use to map things over, so at first glance it looks like you are doing the right thing. Ideas:
I'll try to get a unit test with a cubit mesh into panzer, but probably won't happen until next month. |
Thanks Roger for your help. I have a few follow-up questions:
Marco |
It can be any angle although I don't think we've tested larger than 120 degrees. |
We were able to get it to work with an angle of 90 degrees but we cannot get a converged solution yet. We will keep playing with it but I think this issue can be resolved. Thanks for the help. Marco |
We have been playing a bit more with the wedge condition and the numerical solution is not stable. I am trying to understand how variables are being treated at the wedge boundaries. Since I am solving for velocity where each component is treated as a scalar, how is each component treated at the wedge boundary? Marco |
Hi @delcmo - The periodic BCs in panzer are handled in the connection manager. The connection manager supplies the GIDs and element connectivity to the panzer DOF manager. The STK derived class for the conn manager replaces the global gids for matching element entities so that they are the same on each face. The implementation is here:
I'd be happy to hop on teams to discuss this more if you are around today. |
@delcmo It might not be relevant for this, but when working with wedges we noted that it's better to avoid using a cubature rule of order 3. This is likely because the cubature rule of order 3 for triangles have negative weights. |
Hello,
we have been trying to use the wedge periodic capability available in Panzer without success. We usually generate meshes with Cubit and it has been working fine with periodic boundaries in 2D and 3D (xz-all, yz-all, ...). For wedge periodic boundaries, we looked at the example https://github.com/trilinos/Trilinos/blob/master/packages/panzer/adapters-stk/example/main_driver/periodic_wedge.xml to understand the nomenclature and the associated orientation of the geometry. We reproduced the same mesh in Cubit but were not able to run it with our Trilinos-based code.
The
matcher
returns an error message:Thanks,
Marco
The text was updated successfully, but these errors were encountered: