CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Refinement edges

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 6, 2012, 06:28
Default Refinement edges
  #1
New Member
 
Vincenzo Santoro
Join Date: Apr 2012
Location: Politecnico di Torino
Posts: 16
Rep Power: 5
vinezio is on a distinguished road
Hi Foamers,
the figure shows the inlet and outlet of my cooler. I would to ask you how i can obtain the similar result in proximity of edges. The concentric layers are important to study turbulence model. This geometry comes from fluent export. Any ideas??
Attached Images
File Type: jpg mind1.jpg (26.8 KB, 37 views)
File Type: jpg not_mind1.jpg (27.9 KB, 33 views)
File Type: jpg mind2.jpg (31.9 KB, 38 views)
File Type: jpg not_mind2.jpg (41.9 KB, 32 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (10.5 KB, 8 views)
vinezio is offline   Reply With Quote

Old   July 7, 2012, 06:04
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 9
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
Hi Vincenzo,

your "snappyHexMeshDict" looks good. If your layer cells don't get filtered by the quality settings, then this should be fine. (You could switch off all quality controls and check what it looks like then. Then carefully raise quality controls until "checkMesh" gives you an OK ... << see this post)

So why are there no layer cells?:

Assuming, that the images you posted are the full geometry, then here is a possible answer: snappyHexMesh cannot make layer cells orthogonal to a boundary. They will always start growing at a boundary edge. So unless you will cut your geometry in half in paraview/parFoam you will not see, whether there are any layers and what they look like. You could use a cutting plane for that, or better "extractedCellsByRegion".

SOLUTION:

AFAIK there is no solution for that problem. Though it might be possible to extend the geometry at the boundary, then snappyHexMesh the extended version of your mesh and afterwards cut the extended part off. But this is only a idea ... I never tried it.

Greets,
Jan
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   July 10, 2012, 19:14
Default
  #3
New Member
 
Vincenzo Santoro
Join Date: Apr 2012
Location: Politecnico di Torino
Posts: 16
Rep Power: 5
vinezio is on a distinguished road
Thanks so much Jan!! I'm tried several options. We'll inform about the progress.

Greets,
vinezio
vinezio is offline   Reply With Quote

Old   July 13, 2012, 13:58
Default
  #4
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 9
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
Hi Vincenzo,

I just came across a possible solution:

If you set your "inlet"-patch to patch type "empty" in your blockMeshDict then snappyHexMesh will give you orthogonal cell layers. No need for cutting!

e.g.

Code:
...
    inlet
    {
        type empty;
        faces
        (
            (0 4 7 3)
        );
    }
...
then run blockMesh and SHM.

Afterwards you will need to change the patch type in the "boundary"-file located under "constant/polyMesh/" to type "patch".

Here's the link for reference: https://sites.google.com/site/snappy.../cylinder-case


Greets, Jan
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 09:54
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43


All times are GMT -4. The time now is 06:14.