October 14, 2016, 14:20
|
problem with slave cells using toposet while calculating volume flux with swak4foam
|
#1
|
New Member
AW
Join Date: Mar 2016
Posts: 17
Rep Power: 8
|
Dear foamers,
i got problem with the setting of toposet to create slave cells. I did this because i want to calculate the volume flux with swakExpression, which needs slave cells. My topoSetDict is as follows:
Code:
actions
(
{
name A0Cells;
type cellSet;
action new;
source cylinderToCell;
sourceInfo
{
p1 (0 0 0.001);
p2 (0 0 0.008);
radius 0.03;
}
}
{
name A0Face;
type faceSet;
action new;
source cellToFace;
sourceInfo
{
set A0Cells;
option both;
}
}
{
name A0SlaveCells;
type cellSet;
action new;
source cylinderToCell;
sourceInfo
{
p1 (0 0 0.001);
p2 (0 0 0.009);
radius 0.03;
}
}
{
name A0Zone;
type faceZoneSet;
action new;
source setsToFaceZone;
sourceInfo
{
faceSet A0Face;
cellSet A0SlaveCells;
flip false;
}
}
);
I have searched the forum and found one thread that exactly the same problem presents. But it was a thread of 2012, so i decided to open my own thread. Hope it is ok. And the error report i got when i run interFoam like this:
Code:
in file sets/faceZoneSources/setsToFaceZone/setsToFaceZone.C at line 167
One of owner or neighbour of internal face 524106 should be in cellSet A0SlaveCells to be able to determine orientation.
Face:524106 own:171621 OwnInCellSet:1 nei:171622 NeiInCellSet:1
Could anybody help me please!
|
|
|