|
[Sponsors] |
[snappyHexMesh] HOW to set a circular face by toposet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2013, 06: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); } } ); 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; } } |
|
September 11, 2013, 06:33 |
|
#2 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
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, 21:54 |
|
#3 | |
New Member
Jessica
Join Date: Sep 2013
Posts: 2
Rep Power: 0 |
Quote:
Thank you for you reply. I'm trying. |
||
Tags |
toposet circular |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Error in mesh writing | helios | ANSYS Meshing & Geometry | 21 | August 19, 2021 15:18 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |