Hi everybody,
I just started working with cubit, so I hope my question is not a stupid one.
I have a brick with two spherical inclusions with their center points on opposite brick surfaces (actually just one particle in a periodic environment).
Now I want to generate a periodic mesh, for which I first mesh one surface of the brick (with the circular particle surface on it), and copy this mesh to the other side. Unfortunately, the mesh copied is by now means periodic, probably because the circular face has only one curve, and I cannot define a proper direction.
You can see the result, when you run the following commands:
I know that one solution (I would rather call it a workaround) is to divide the sphere in half-spheres. Then the meshing direction is properly defined. But since my original model is much larger (hundreds of particles) I would like to skip this procedure.
Can anybody show me a simple method to create a periodic mesh?
Thanks
Ingo
The problem arises because the sphere vertices are mirrored. When you copy the mesh, the mesh also gets mirrored. Note that vertex 9 and 10 are on opposite sides of the XY plane.
I fixed this by splitting the sphere curves. You probably don’t need to do this on both curves, but I liked keeping the symmetry. I used the curve in volume syntax just to demonstrate capability and to reduce picking.
I changed a couple of other minor things in your script.
Remember the keyword all. It can dramatically reduce the amount of picking required.
Because the geometry is merged, I can use the same source and target curve and vertex in the copy command.
I removed the smooth keyword from the copy mesh command. We want to keep the mesh the same and not perform any additional optimizations on node positions.