CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Salome] Meshing cylinder in salome

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2022, 14:54
Default Meshing cylinder in salome
  #1
New Member
 
Join Date: Mar 2022
Posts: 24
Rep Power: 4
tRock is on a distinguished road
Hello to all,


I would like to make a cylinder with a square on top. Image bellow.


https://i.ibb.co/7GTcC5q/a.png

Is there any way to control the amount of elements across the thickness of the cylinder and the cube?



The approach is to create a plane to separate the objects. Now I need a way to control the amount of elements across the thickness.



Has anyone faced a similar issue? I could get the 10 elements across the thickness by setting the maximum size to a 1/10 of the thickness value but this will result in a huge mesh...



Best Regards
tRock is offline   Reply With Quote

Old   May 25, 2022, 08:08
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
See the attached Salome dump.

See if you can work through what it does.
Attached Images
File Type: png boxOnCylinder.PNG (71.2 KB, 26 views)
Attached Files
File Type: txt boxOnCylinder.py.txt (7.4 KB, 15 views)
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Meshing of a cylinder containing a small hole on one face Giova82 ANSYS Meshing & Geometry 1 August 12, 2015 07:49
Cylinder Intake Meshing dbagtbag CFX 11 July 30, 2015 08:59
[snappyHexMesh] SnappyHexMesh Meshing inside a cylinder nammari OpenFOAM Meshing & Mesh Conversion 5 March 11, 2011 20:49
2D planar cylinder meshing problem saisanthoshm88 ANSYS Meshing & Geometry 15 December 27, 2010 12:14
Best Meshing scheme for Cylinder Nutrex Main CFD Forum 4 July 29, 2008 12:03


All times are GMT -4. The time now is 22:18.