|
[Sponsors] |
May 17, 2010, 16:58 |
Blocking strategy around a sphere
|
#1 |
New Member
Patrick Young
Join Date: May 2010
Posts: 15
Rep Power: 16 |
I learned how to block around a circle in 2D, and now I'm trying to learn how to do blocking in 3D. I followed the Sphere-cube tutorial in the ANSYS customer portal. I tried to do similar around a sphere but did not have a good result.
I'm trying to do flow past a sphere, so i did an OGRID and then tried a c-block strategy similar to PSYMN's airfoil tutorial on youtube. Thanks |
|
May 18, 2010, 09:59 |
Steps...
|
#2 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
The first of the three parts in that youtube video (the ppt section) showed some far fields... We used a CGrid for the demo because the far field was shaped that way. In this case, your far field is a box, so an HGrid out there would be fine. Putting in the CGrid when your model has corners like that actually reduces quality in the corners. On the other hand, perhaps you were looking for the refinement like that and should change your far field shape instead...
Assuming you decide to keep the box far field... Here are the suggested steps. Start by initializing blocking and then use the auto associate (last icon under associate) to automatically associate to the box. Then create 2 splits, just a 1/3 diameter on either side of the sphere in each direction (6 splits total). This should form a box around your sphere. Use the index control (right click on the blocking branch of the tree or use the "i" hotkey while in the blocking tab) and adjust it until you only see that inner box. Use Split Block => OGrid and select just that center block. No need for faces since we want the ogrid to go all the way around. Delete the inside of the created ogrid (assuming you want a hollow sphere) so that the inside of the Ogrid default associates with the nearest surface. Use the Snap Project Verts button (middle of the second row of associate DEZ). This completes the blocking and association... Now you can setup edge params, etc... As a side note, OGrids are not really needed to improve mesh quality for the outside of curves. An HGrid will fit to the outside of a sphere without giving bad quality elements. However, it is still good to have in this situation because we can use it to generate a nice boundary layer grid (assuming you are looking at viscous flow around this sphere). Best regards, Simon |
|
May 18, 2010, 14:36 |
|
#3 |
New Member
Patrick Young
Join Date: May 2010
Posts: 15
Rep Power: 16 |
Thanks for your help! got it to work =)
|
|
April 7, 2011, 08:34 |
|
#4 |
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 17 |
Hi, I'm also trying to do a sphere inside a rectangular box. However, I'm only considering 1/4 domain. I will be doing a combustion simulation with the sphere denoting the initial spherical flame which would be convected downstream. I'm not sure how I would go about doing this using an O-grid. The sphere is very small and coloured in green in the image (on the left hand edge).
|
|
April 8, 2011, 10:08 |
Faces on Symmetry Planes...
|
#5 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
Your image didn't make it, but I guess you are talking about a quarter symmetry model...
The steps are all the same, except that you should apply "faces" to the symmetry planes when creating oGrids...
__________________
----------------------------------------- Please help guide development at ANSYS by filling in these surveys Public ANSYS ICEM CFD Users Survey This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)... CFD Online Users Survey |
|
April 8, 2011, 14:06 |
|
#6 |
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 17 |
Thanks for the reply Simon. I followed the instructions you gave earlier, my problem is the edges doesn't associate to the curve of the sphere when I click the 'Snap Project Vertices' button. I've attached a picture of what it looks like when I mesh. What am I doing wrong?
|
|
April 8, 2011, 22:41 |
Edge to Curve
|
#7 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
They are projecting to the nearest surface, which must be the side walls...
Presumably you have a curve at the intersection of the sphere and the symmetry planes... Associate the appropriate edges to those... In fact, where ever you have a curve, you should always associate the edges, even if it doesn't look bad right now (such as the straight sides of the box)... Best regards, Simon
__________________
----------------------------------------- Please help guide development at ANSYS by filling in these surveys Public ANSYS ICEM CFD Users Survey This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)... CFD Online Users Survey |
|
April 9, 2011, 06:54 |
|
#8 |
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 17 |
Thanks for the reply. I observe the same thing when I try to do the full sphere, here I'm trying to follow what you described exactly. The snappy project vertices doesn't seem to do anything.
Last edited by lost.identity; April 9, 2011 at 08:40. |
|
April 9, 2011, 11:30 |
|
#9 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
??? Snap project verts simply projects the verts to the nearest location on what they are projected to. In your case, they are snapping to the nearest surface.
It worked in your quarter symmetry model, its just that the nearest surface was the side walls. Instead, associate that edge to curve and you will be all set.
__________________
----------------------------------------- Please help guide development at ANSYS by filling in these surveys Public ANSYS ICEM CFD Users Survey This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)... CFD Online Users Survey |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] blocking strategy for ellipse geometry | gajemon | ANSYS Meshing & Geometry | 6 | April 21, 2014 17:19 |
Blocking strategy | Twix | ANSYS Meshing & Geometry | 11 | June 28, 2010 13:09 |
best blocking strategy for a wing profil | tgrt18 | ANSYS Meshing & Geometry | 1 | November 27, 2009 02:37 |
[ICEM] Blocking Strategy | hubidoo | ANSYS Meshing & Geometry | 9 | June 5, 2009 11:56 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 13:37 |