CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

can OpenFoam model a pole in Cylindrical mesh??

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2014, 20:03
Default can OpenFoam model a pole in Cylindrical mesh??
  #1
Member
 
Daniel
Join Date: Jun 2014
Posts: 60
Rep Power: 11
Dan1788 is on a distinguished road
I am making a 3D cylindrical mesh for LES computations of premixed flames.

I would like to know if OpenFoam can correctly model singularities or poles at the origin (as shown in the attached figure) correctly, or would I have to mesh my geometry in a different manner.

Would really appreciate any help on this topic. Thanks!
Attached Images
File Type: jpg mesh.jpg (28.7 KB, 16 views)
Dan1788 is offline   Reply With Quote

Old   October 27, 2014, 16:17
Default
  #2
New Member
 
Chris Sears
Join Date: Oct 2014
Location: Boston
Posts: 4
Rep Power: 11
ChristoBeers is on a distinguished road
I had previously tested this with rhoPimpleFoam, and did notice abnormal action along the cylinder axis (center of the "pie slices") where the cell skewness gets really large. I then tried rounding out one square hex, but this introduced abnormalities where the corners were stretched out (probably for the same reason). I then meshed a square in the center of the circle which simulated properly.

I honestly didn't spend too much effort trying to see if there were more advanced solver options to account for skewedness, I just changed the mesh. Somebody else with more experience may speak to your exact question.

Good luck!
ChristoBeers is offline   Reply With Quote

Old   October 28, 2014, 04:05
Default
  #3
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
I am wondering: why..? I mean, people use o-grids for this normally. I didn't really question this up to now, because I thought this is pretty common. Can you explain, why you prefer this way of meshing?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   October 28, 2014, 12:11
Default
  #4
New Member
 
Chris Sears
Join Date: Oct 2014
Location: Boston
Posts: 4
Rep Power: 11
ChristoBeers is on a distinguished road
You are absolutely right, people use o-grids. It may have been my specific mesh/configuration/BC, but there were false temp/density iso's which protruded down the cylinder axis which should not have been the case. I was merely warning the OP that it is possible if he's not careful. As I said, I didn't play with it too much because it was simple enough for me to change the grid.

To keep an o-grid in my system I had calculated an excessively dense mesh in the center to keep the skewness down (increasing #/meter of "onion shells" around the axis where the "pie slice" tips narrow to zero @ the center). I have very little experience in CFD, but in my simulation, the denser mesh & running >3 nonOrthogonalCorrectors will slow me down, and I guessed a nice cubic in the center may help the solver converge more rapidly...? I wanted to spend the mesh density near the walls where there's something more interesting going on. Am I way off?
ChristoBeers is offline   Reply With Quote

Old   October 28, 2014, 13:14
Default
  #5
Member
 
Daniel
Join Date: Jun 2014
Posts: 60
Rep Power: 11
Dan1788 is on a distinguished road
Even I am modeling my mesh using an O-grid but was wondering if OpenFoam could model poles because for an axisymmetric grid it is able to take into account pole formation.

Anyways thanks for your reply Chris!
Dan1788 is offline   Reply With Quote

Old   May 30, 2017, 22:03
Default
  #6
New Member
 
Join Date: Jun 2014
Posts: 22
Rep Power: 11
chun is on a distinguished road
Although it might be late for you, but I do have what you want.

You can change the length and radius from the .m4 file.
Using the following command, you can get the blockMeshDict from the .m4 file.
Code:
m4 circle.m4 > blockMeshDict
Attached Images
File Type: jpg cylinder.jpg (191.6 KB, 25 views)
Attached Files
File Type: txt blockMeshDict.txt (4.0 KB, 15 views)
File Type: txt circle.m4.txt (5.3 KB, 16 views)
chun is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
Frozen Rotor 1:1 Mesh Connection pharley CFX 5 January 31, 2013 16:15
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30
salome, openfoam and moving mesh prhlava OpenFOAM Running, Solving & CFD 8 November 9, 2009 08:59


All times are GMT -4. The time now is 00:31.