Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Mesh on a cylinder that specifies the numbers of elements longitudinally and cross sectionally
Posted 11 apr 2024, 03:32 GMT-4 9 Replies
Please login with a confirmed email address before reporting spam
How to mesh a cylinder that specifies the numbers of elements longitudinally and cross sectionally? Swept seems to work for longitudinal elements.
Please login with a confirmed email address before reporting spam
Hi Carl,
I'm not an expert on meshing, but I think you can do it by specifying a custom mesh size along the edges for the bottom circular boundary and then sweep based on that mesh with another custom mesh size for the longitudal sweep direction. That should give you control of the swept mesh in both directions.
Best regards,
Magnus
Please login with a confirmed email address before reporting spam
Hi Magnus, Thank you so much. How to specify a custom mesh size along the edges for the bottom circular boundary is what I wonder!
Please login with a confirmed email address before reporting spam
Hi Carl,
Use an Edge mesh generator from Mesh>More Generators>Edge and apply it to the bottom circumferential edges. Then add a Size subnode and choose Custom under Element Size so that you can set a fixed mesh element size under Element Size Parameters.
Best regards,
Magnus
Please login with a confirmed email address before reporting spam
Hi Magnus, Thank you so much. I followed your advice but found that Edge 1 and swept 1 don't play well together. I specify first the mesh density to be extremely fine in Edge 1, then specify the element numbers swept 1, the latter overthrowing the former.
Attachments:
Please login with a confirmed email address before reporting spam
Hi Carl,
This approach works well for me in version 6.2. I suggest that you contact COMSOL Support for any specific issues that you may have with your model.
Best regards,
Magnus
Attachments:
Please login with a confirmed email address before reporting spam
Hi Magnus, Thank you. I can't see your cross sectional meshing clearly enough. Isn't it axisymmetric?
Please login with a confirmed email address before reporting spam
Hi Carl,
The mesh nodes are evenly distributed along the base (and top) perimeter, and by default, the bottom surface uses a quadrilateral mesh, and the cylinder is swept meshed with hexahedron mesh elements. If desired, you can instead use a triangular mesh on the botton surface; the swept mesh for the cylinder then uses prism mesh elements.
Best regards,
Magnus
Please login with a confirmed email address before reporting spam
Hi Magnus thank you. I followed your advice as attached. The only weakness for me is that on the circular boundary the mesh is too biased. Is it possible to build one that is not so biased in the two perpendicular directions?
Attachments:
Please login with a confirmed email address before reporting spam
Hi Carl,
I guess it's a matter of designing a suitable face mesh on the bottom boundary. I'm not sure that I can assist with further advice here. Please contact the COMSOL Support team if you have additional questions.
Best regards,
Magnus
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- BLOG Meshing Considerations for Linear Static Problems
- KNOWLEDGE BASE Resolving Time-Dependent Waves
- KNOWLEDGE BASE Graphics Window Not Responding on Computer with Intel Iris Xe Graphics Chip
- BLOG Using the Application Builder to Create a Koch Snowflake
- KNOWLEDGE BASE What to do when a linear stationary model is not solving