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

[Other] topoSet removes some of my cell mesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2014, 06:09
Default topoSet removes some of my cell mesh
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Hi everybody ,

first attached file shows the part of my mesh created by Gambit. the diamond shape is a porous media that I want to simulate the flow around and within it. I used the below topoSetDict to specify a diamond as my porous region:

Code:
actions
(


{
    name c0;
    type cellSet;
    action new;
    source rotatedBoxToCell;
    sourceInfo
    {
    origin (0 -0.5 0);
    i (0.5 0.5 0); 
    j (-0.5 0.5 0); 
    k (1 1 1);
    }
}

);
and then I used setsToZones to create a zone. when I ran paraFoam, I saw that some of my cells in the diamond are eliminated. Second file shows just the diamond mesh after using topoSet.

anybody knows why some of cells are eliminated?

thanks
Mostafa
adambarfi is offline   Reply With Quote

Old   March 27, 2014, 06:24
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
I modified the topoSeDict as follows and the problem solved!!!

but I can't understand why these changes solve the problem???

Code:
actions
(


{
    name c0;
    type cellSet;
    action new;
    source rotatedBoxToCell;
    sourceInfo
    {
    origin (0 -0.5 0);
    i (0.5 0.5 -1); 
    j (-0.5 0.5 0); 
    k (0 0 1);
    }
}

);
adambarfi 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] Creating very fine, high accuracy mesh with snappyHexMesh JD_Welch OpenFOAM Meshing & Mesh Conversion 10 July 5, 2023 12:50
[mesh manipulation] How to write cellSet for different regions in constant/polyMesh/sets Struggle_Achieve OpenFOAM Meshing & Mesh Conversion 3 June 17, 2019 10:29
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 05:27
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


All times are GMT -4. The time now is 04:10.