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

[snappyHexMesh] snappyhexmesh Edge problem

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 12, 2024, 03:28
Default
  #12
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,098
Rep Power: 26
Yann will become famous soon enough
Hello Nafiz,

If you want to refine a zone inside your mesh you can do it directly in snappyHexMesh: define a box in the geometry section and then use it refinement regions.

Code:
geometry
{
    a_box_for_refinement
    {
        type box;
        min  (1.5 1 -0.5);
        max  (3.5 2 0.5);
    }
};

Code:
refinementRegions
    {
        a_box_for_refinement
        {
            mode inside;
            levels ((1.0 4)); // refine to level 4 inside the box
        }
    }
More details in the documentation: https://doc.openfoam.com/2306/tools/...inementRegions

Regards,
Yann
Yann is offline   Reply With Quote

 


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
[cfMesh] Edge problem momod OpenFOAM Community Contributions 1 May 23, 2024 08:31
[snappyHexMesh] Problem with snappyhexMesh: modelling a pore chamber and pore throat model Saideep OpenFOAM Meshing & Mesh Conversion 5 May 10, 2015 14:46
[GAMBIT] GAMBIT edge problem SJD ANSYS Meshing & Geometry 4 February 26, 2014 15:56
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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