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

Creating meshes for FSI simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2018, 13:13
Default Creating meshes for FSI simulation
  #1
Member
 
Sangeet
Join Date: Jun 2017
Location: India
Posts: 43
Rep Power: 9
sangeet is on a distinguished road
Hello,


I am currently trying to simulate blood flow inside an artery. I am using fsiFoam to solve the FSI problem. But I am having problems with meshing the solid artery wall and the fluid domain. Initially I tried to mesh them separately in snappyHexMesh but while trying to run the solver, I get an error of "Master point addressing not correct" . I suspect this is because of the gaps between the meshes.


I then tried multi-region meshing in snappyHexMesh but for some reason, the cellzone for the solid has 0 or very less (when the make the background mesh finer) number of cells assigned to it and when I run splitMeshRegions, it gives the fluid cellzone as the background mesh minus the fluid domain and an empty solid cellzone.


Could anyone give me pointers on how are meshes for FSI usually built? Maybe in snappyHexMesh or some other software like ICEM CFD? Or if anyone could guess why the cellzones arenot being correctly built by snappyHexMesh, do I need to just refine the background mesh a lot?


I have also attached an image of my geometry.



my snappyHexMeshDict
Code:

geometry
{
    FLUID.stl
    {
        type triSurfaceMesh;
    }
    SOLID.stl
    {
        type triSurfaceMesh;
    }
};

castellatedMeshControls
{

    
    maxLocalCells 2000000;


    maxGlobalCells 4000000;

    minRefinementCells 0;

    nCellsBetweenLevels 3;

    features
    (
        {
            file "FLUID.eMesh";
            level 0;
        }
        {
            file "SOLID.eMesh";
            level 0;
        }

    );


    refinementSurfaces
    {
        FLUID.stl
        {
            level (1 1);

            faceZone fluid;
            cellZone fluid;
            cellZoneInside inside;
        }

        SOLID.stl
        {
            level (1 1);

            faceZone solid;
            cellZone solid;
            cellZoneInside inside;
        }
    }

    resolveFeatureAngle 150;


    refinementRegions
    {
    }


    locationInMesh (0 0 50);

    allowFreeStandingZoneFaces false;
}



snapControls
{

    nSmoothPatch 3;


    tolerance 2.0;

    nSolveIter 100;

    nRelaxIter 5;

    nFeatureSnapIter 4;

    implicitFeatureSnap false;

     explicitFeatureSnap true;

     multiRegionFeatureSnap true;
}
Attached Images
File Type: png FLUID.png (49.4 KB, 36 views)
sangeet is offline   Reply With Quote

Old   October 3, 2019, 14:30
Default
  #2
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road
Did you find a solution?


I am trying to simulate FSI aneurysm but Im stuck with the solid mesh too.
dewey is offline   Reply With Quote

Reply

Tags
fsi, fsifoam, 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
Train - Simulation Moving Meshes pippi OpenFOAM 3 February 14, 2012 10:02
Creating thin-surfaces for CFX Meshes Orb CFX 0 February 13, 2012 02:34
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
Creating Table of Variable versus Time in Transient simulation in CFX 11 cjhaw CFX 2 January 15, 2011 12:52
[blockMesh] Tutorial for Creating Simple 3D Meshes jonlemur OpenFOAM Meshing & Mesh Conversion 4 August 8, 2007 14:20


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