|
[Sponsors] |
February 3, 2011, 06:18 |
Unstructured Grid using InterFoam
|
#1 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hello everyone,
I'm trying to simulate a flow around a disk using a fully unstructured grid (all prisms) using interFoam. The mesh is generated with gmsh. I have several problems on the quality of the solution, concerning the contact angle on the surface of the disc (does not seem to remain constant, probably due to the fact that a lot of cells has only one line, 2D case, on the disc) and also get a very irregular front. So the question is: would be better to change the mesh? (even if I do not know how to build a well structured grid around a circle) Should i change the schemes using by interFoam to get more accurate solution? (now i'm using the default schemes, the same schemes that are in the dambreak tutorial case). Attached a .jpg of the mesh. Thanks for any help andrea |
|
February 3, 2011, 13:40 |
|
#2 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
It is not very difficult to construct a structured mesh around a disk using blockMesh.
- Take four points on your cylinder, namely at 45°, 135°, 225° and 315°. - I suppose you work in a rectangular domain, so you also have four corner points on the outer boundaries. - Now make 4 blocks, each time using two adjacent points on the disk and two corner points. If you add grading in the right direction, you will have high resolution on the disk boundary. |
|
February 4, 2011, 03:23 |
|
#3 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hi,
thanks for the answer flowris. Surely if I had to simulate the flow around a single disk would be easy with a structured grid (as in the tutorial), unfortunately I have to simulate the flow around 100-200 discs placed randomly and I do not think it is feasible that kind of geometry. Any suggestions? andrea |
|
February 4, 2011, 04:38 |
|
#4 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
In that case, I suggest you build an unstructured mesh (triagonals) and add boundary layers (rectangles) around the disks. Maybe you can use snappyHexMesh. I haven't done this myself, though.
|
|
February 4, 2011, 05:01 |
|
#5 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
So to use a structured grid only around the disc and use an unstructured grid for the rest. might be a good idea!
I want to try Thanks andrea |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2D unstructured Grid | prapanj | Main CFD Forum | 4 | March 15, 2008 17:01 |
unstructured mesh grid independence for Fluent | Shane Schouten | FLUENT | 0 | October 11, 2006 16:50 |
to Identify unstructured grid and structrued grid | harry | Main CFD Forum | 4 | February 17, 2006 02:10 |
Unstructured grid approach | Li Yang | Main CFD Forum | 8 | June 11, 2003 10:48 |
Combustion Convergence problems | Art Stretton | Phoenics | 5 | April 2, 2002 05:59 |