# HOW to set a circular face by toposet

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 7, 2013, 05:26 HOW to set a circular face by toposet #1 New Member   Jessica Join Date: Sep 2013 Posts: 2 Rep Power: 0 Hello,everyone There is a simple blockmesh, it is easy to set a square face on the boundray by topoSet using 'boxtoface' as follows. Code: ```BLOCKMESH: vertices ( (-0.5 -0.5 0) ( 0.5 -0.5 0) ( 0.5 -0.5 1) (-0.5 -0.5 1) (-0.5 0.5 0) ( 0.5 0.5 0) ( 0.5 0.5 1) (-0.5 0.5 1) ); blocks ( hex (0 1 2 3 4 5 6 7) (20 20 20) simpleGrading (1 1 1) ); edges ( ); boundary ( base { type patch; faces ( (0 1 5 4) ); } outlet { type patch; faces ( (3 2 6 7) ); } sides { type patch; faces ( (0 4 7 3) (0 1 2 3) (1 5 6 2) (4 5 6 7) ); } ); TOPOSET: actions ( { name f0; type faceSet; action new; source boxToFace; sourceInfo { box (-0.1 -0.001 -0.1)(0.1 0.005 0.1); } } );``` But I don't know how to set a circular face using the toposet, and I am puzzled after 'cylinderToCell' , please help me! Code: ```TOPOSET { name c0; type cellSet; action new; source cylinderToCell; sourceInfo { p1 (0 0 -0.001); // start point on cylinder axis p2 (0 0 0.025); // end point on cylinder axis radius 0.2; } }``` Thanks in advance!!!

 September 11, 2013, 05:33 #2 Senior Member     Artur Join Date: May 2013 Location: Southampton, UK Posts: 305 Rep Power: 12 As far as I know, cylinderToCell will select all cells inside the cylinder with the two circle centres at p1 and p2 with radius r, that's about it. If your mesh is a box then it will not turn it into a cylindrical mesh, I think. The way I use it to create AMI interfaces is by snapping the mesh to a cylindrical shape and then using the cylinderToCell to select the snapped cells, much as in the propeller tutorial.

September 12, 2013, 20:54
#3
New Member

Jessica
Join Date: Sep 2013
Posts: 2
Rep Power: 0
Quote:
 Originally Posted by Artur As far as I know, cylinderToCell will select all cells inside the cylinder with the two circle centres at p1 and p2 with radius r, that's about it. If your mesh is a box then it will not turn it into a cylindrical mesh, I think. The way I use it to create AMI interfaces is by snapping the mesh to a cylindrical shape and then using the cylinderToCell to select the snapped cells, much as in the propeller tutorial.
Hi,Autur,
Thank you for you reply. I'm trying.

 Tags toposet circular

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Ahmed Khattab OpenFOAM Pre-Processing 23 November 2, 2017 13:17 nennbs OpenFOAM Native Meshers: blockMesh 7 April 17, 2013 05:42 [ICEM] ICEM Scripting Issues tylerplowright ANSYS Meshing & Geometry 17 June 3, 2012 21:23 hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50 SSL FLUENT 2 January 26, 2008 12:55

All times are GMT -4. The time now is 21:44.