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

[snappyHexMesh] Refinement edges

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2012, 07:28
Default Refinement edges
  #1
New Member
 
Vincenzo Santoro
Join Date: Apr 2012
Location: Politecnico di Torino
Posts: 16
Rep Power: 13
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, 42 views)
File Type: jpg not_mind1.jpg (27.9 KB, 36 views)
File Type: jpg mind2.jpg (31.9 KB, 41 views)
File Type: jpg not_mind2.jpg (41.9 KB, 35 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (10.5 KB, 8 views)
vinezio is offline   Reply With Quote

Old   July 7, 2012, 07:04
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 19
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, 20:14
Default
  #3
New Member
 
Vincenzo Santoro
Join Date: Apr 2012
Location: Politecnico di Torino
Posts: 16
Rep Power: 13
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, 14:58
Default
  #4
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 19
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 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] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 10:12
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 02:37
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 18:12
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23


All times are GMT -4. The time now is 16:33.