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

[Other] Meshing a pointy bulb

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By linnemann
  • 1 Post By NablaDyn

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2016, 15:25
Default Meshing a pointy bulb
  #1
New Member
 
Tom D.
Join Date: Nov 2016
Posts: 7
Rep Power: 10
piroshki is on a distinguished road
Hello all,

I am having trouble creating a mesh that works well for a profiled bulb with a pointy "tail".

I wonder if anyone has any pointers they could share.

I have tried with a tip that goes to zero thickness, and with small flat face as per the attached images. In all cases the tip ends up being rather ugly...

The resulting mesh also won't let me create layers, another problem, which I suspect may be related. I've attached two screenshots of my CAD model, one of the mesh generated by SHM, and also the entire directory should someone want to try their luck...

Thanks much,

Tom.
Attached Images
File Type: jpg BULB1.jpg (63.0 KB, 20 views)
File Type: jpg BULB2.jpg (79.7 KB, 17 views)
File Type: png BULB3.png (34.2 KB, 18 views)
Attached Files
File Type: gz bulb_c.tar.gz (111.0 KB, 2 views)
piroshki is offline   Reply With Quote

Old   December 9, 2016, 03:26
Default
  #2
Senior Member
 
NablaDyn's Avatar
 
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11
NablaDyn is on a distinguished road
Seems you are looking for a more precise mesh description that places points and edges exactly where you want them. Since your geometry is so simple, I'd recommend boundary-prescribing, hexahedral meshes instead of SnappyHexMesh or (other automatic unstructured stuff).

Did you give BlockMesh a shot? Or do you know MegaCads (it's freeware, has a GUI and offers elliptic smoothing)? I use that for OpenFOAM meshing.

Fittingly I recently built a mesh alike yours with MegaCads:
Attached Images
File Type: png mesh_megacads.png (42.8 KB, 30 views)
File Type: png mesh_megacads_closup.png (11.8 KB, 29 views)

Last edited by NablaDyn; December 9, 2016 at 04:54.
NablaDyn is offline   Reply With Quote

Old   December 9, 2016, 07:40
Default
  #3
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
Salome is great for this.

Make a 2D mesh from a bunch of 4 sided squares that are combined into a shell.

Revolve that mesh, export to unv, use "ideasUnvToFoam" to convert mesh.

Use "autoPatch 89 -overwrite" to split mesh by angle, open i Paraview and rename the boundaries accordingly.
Attached Images
File Type: png BulbSalome.png (145.6 KB, 25 views)
File Type: png Revolve.png (139.5 KB, 18 views)
__________________
Linnemann

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

Old   December 9, 2016, 11:14
Default
  #4
New Member
 
Tom D.
Join Date: Nov 2016
Posts: 7
Rep Power: 10
piroshki is on a distinguished road
Thanks NablaDyn and Niels for your thoughts. Both your answers make perfect sense, and I'll give them both a try for this bulb shape.

My issue is that this is really a precursor to a future study in which I will attach this bulb to a spar (wing, keel - same idea) so doing a simple body of revolution mesh won't be an option.

I'll also be interested in what happens when I modify the angle of attack, so I am thinking the strict "tunnels" your approach produce will also make things hard...

MegaCads looks really promising in this regard - I've send them a note and hopefully will get to test out the software.

Cheers,

Tom.
piroshki is offline   Reply With Quote

Old   December 11, 2016, 03:40
Default
  #5
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
Hi

To get angle og attack you can just mesh the outside as a sphere and then you can make a stl file that covers the inlet part and use "surfaceToPatch" command to extract the boundary condition for the inlet.

This way you can rotate the 3D mesh and then afterwards assign the inlet BC based on the surface stl.

If you dont know how to get the surface stl you can use Paraview to select particular surface cells, triangulate them and then export as stl.

For the other case you need to look into other meshers.
I've had good results with cfmesh, but never tried it on such a pointy bulb.
piroshki likes this.
__________________
Linnemann

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

Old   December 11, 2016, 10:39
Default
  #6
Senior Member
 
NablaDyn's Avatar
 
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11
NablaDyn is on a distinguished road
Fortunately, MegaCads doesn't constrain you to 2D mesh revolution. It offers 3D meshing natively and delivers grids of outstanding quality. It allows for mutli-blocking and of course you are free to parametrise your mesh extensively. It is therefore an easy task in MegaCads (given you have become somewhat familiar with it), for instance, to incline parts, regions or blocks of your mesh dynamically, whilst keeping other parts in fixed positions.
piroshki likes this.
NablaDyn is offline   Reply With Quote

Reply

Tags
layer addition, pointy, problems, snappyhexmesh


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
[ANSYS Meshing] only automatic meshing works, kazra ANSYS Meshing & Geometry 2 February 23, 2017 12:38
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 07:44
[ANSYS Meshing] Meshing strategy for External Flows Hybrid ANSYS Meshing & Geometry 0 January 24, 2012 15:27
Best Meshing scheme for Cylinder Nutrex Main CFD Forum 4 July 29, 2008 12:03
Volume Meshing & Face Meshing? singularity of grid ken FLUENT 0 September 4, 2003 12:08


All times are GMT -4. The time now is 03:48.