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

OpenFoam, snappyHexMesh and Salome for patches "top, bottom wall'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2021, 16:26
Default OpenFoam, snappyHexMesh and Salome for patches "top, bottom wall'
  #1
New Member
 
Alberto Campuzano
Join Date: Mar 2021
Posts: 14
Rep Power: 5
baezacaljo is on a distinguished road
Hello dear all.


i am currently using openFoam and SnappyHexMesh. However nowadays i need to get involved with Salome in order to create my geometry.


i am practicing with the most simple geometry, a Box with an sphere inside of the Box.


Look after creating my stl files "top, bottom, wall" and riceHusk for the "sphere" and sending them into snappyHexMesh everything goes fine until i apply the solver (solids4Foam). My residuals are not converging at all, instead they are increasing.


So according to that i took the geometry from Tobias Holzmann from his webstie


HTML Code:
https://holzmann-cfd.com/community/training-cases/sphere-meshing

so i use his geometry created in salome and my results converged. it means that the solvers is not an issue


the issue comes from snappy or salome, let me mention that also i copied the snappyHexMesh from tobias from the link above and added faceZone, cellZone and cellZoneInside because i need to specify that some part of my geometry contains other parameters. And again using the geometry created by tobias (the same as mine) the system runs smooth and converge quite well



Code:
    refinementSurfaces
    {
        polyester.stl
        {
            // Surface-wise min and max refinement level
            level (0 0);
            regions 
            {
                bottom       { level (1 1); patchInfo { type patch; }}
                top      { level (1 1); patchInfo { type patch; }}
                wall        { level (1 1); patchInfo { type patch; }}
            }
        }
        riceHusk
        {
            // Surface-wise min and max refinement level
            level (2 2);
            faceZone    faceZoneRiceHusk;
            cellZone    riceHusk;
            cellZoneInside inside;

//            boundary    internal;
        }



With that being said i dont know why when i create my geometry (the same as tobias) the system does not converge?


the problems comes from snappyHexMesh or salome


any suggestions?


again, i am quite new to Salome. i dont know if this post must be in Salome.



in attached file you will find my geometry also the snappyHexMesh. i can not attach the geometry by tobias because of the file size. but the geometry can be found in the link mentioned above



thanks in advance
Alberto


geometryAndSnappy.zip
baezacaljo is offline   Reply With Quote

Reply

Tags
openfoam, salome, snappyhexmesh


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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
OpenFoam and salome training on 2nd July at Pune, India sachinlb OpenFOAM Announcements from Other Sources 0 May 21, 2018 05:33
[CAD formats] How to scale the stl when importing from salome or any cad tool to openfoam vishalsharma OpenFOAM Meshing & Mesh Conversion 3 February 2, 2018 05:20
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 20:20
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04


All times are GMT -4. The time now is 13:11.