CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   using toposet for creating porous zone (https://www.cfd-online.com/Forums/openfoam-pre-processing/213083-using-toposet-creating-porous-zone.html)

zeinelserfy December 14, 2018 03:37

using toposet for creating porous zone
 
i am trying to create porous zone using toposet.Already one of the tutorials is porousblockage in tuturials of pisfoam.now i am trying to create the porous block which is square block using stl file instead of using boxToCell

shown blow boxToCell

// porousBlockage
{
name porousBlockageCellSet;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-0.5 -0.5 -0.1) (0.5 0.5 0.1);
}

how to modify it to be surfaceToCell by using stl file as source,but i do not understand what is meant by outsidepoints,include Cut ,.......

can any one help ?

{
name porousBlockageCellSet;
type cellSet;
action new;
source surfaceToCell;
sourceInfo
{
file "centerblock1.stl";
//outsidePoints ((-0.5 -0.5 0));
// includeCut false;
//includeInside true;
// includeOutside false;
nearDistance 1e5;
// curvature -100;
}

clapointe December 17, 2018 01:05

Check out the annotated topoSetDict provided with the OF release : https://github.com/OpenFOAM/OpenFOAM...ed/topoSetDict.

Caelan


All times are GMT -4. The time now is 21:38.