-
Notifications
You must be signed in to change notification settings - Fork 56
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
mesh generation in rings example errors #305
Comments
Regarding the physical groups. I did a mistake and did set the mesh file extension to ".mesh" instead of ".msh". After I corrected this, the physical groups do show up. Sorry |
Hi @fedeinthemix, Thanks for the catch on the variable names, you're right they don't match the arguments, there must've been rebasing issue at some stage. These mesh generation scripts aren't part of CI and are mainly for demonstration of how to create these relatively simplistic geometries in case they're of use to users. Consequently we are at risk of things like this creeping in. Aside from noting that bug (again, thank you), rerunning the script will not generate an identical file to the original msh file, because the HXT algorithm I'm not sure why changing the extension like that would alter the presence of physical groups, as the mesh format ought to be fully specified by |
Hi @hughcars Thanks for the explanation about the meshing algorithm. I'm new to Palace and Gmsh and the mesh generating scripts are very useful. |
Description
The file
examples/rings/mesh/mesh.jl
defines the functiongenerate_ring_mesh
. Among the keyword parameters there arerot_center
,rot_axis
androt_\theta
. However, the function body usesrc
,ra
and\theta
instead. Therefore, calling the function errors out.Even correcting the names, the gemerated mesh doesn't gemerate the same mesh as the one included in palace 0.13.0. In particular, differently from the distributed
rings.msh
file, the generated one does not include any physical group.Environment
OS: NixOS 24.05
Palace: 0.13.0
Gmsh: 4.13.1
Julia: 1.11.1
Julia-Gmsh: 0.3.1
The text was updated successfully, but these errors were encountered: