changing fan-direction
hi together,
i think it 's very simple question. I tested the fan BC and made a case. there i get four fans.
The problem is, that just two of them have the correct direction (picture).
The other two fan's are wrong. I tested many things but don 't get it solved (just i set 2 of them to cyclic --> other picture)
And i am not good in reading the code :/ so I am not sure what to do (till now).
p-file (fan2.png)
Code:
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
internalWall
{
type zeroGradient;
}
fan1
{
type fan;
patchType cyclic;
f List<scalar> 2 (0.1 1.0);
value uniform 0;
}
fan3
{
type fan;
patchType cyclic;
f List<scalar> 2 (0.1 1.0);
value uniform 0;
}
fan2
{
type fan;
patchType cyclic;
f List<scalar> 2 (0.1 -1.0);
value uniform 0;
}
fan4
{
type fan;
patchType cyclic;
f List<scalar> 2 (0.1 1.0);
value uniform 0;
}
frontAndBack
{
type empty;
}
wall
{
type zeroGradient;
}
}
p-file (fan.png)
Code:
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
internalWall
{
type zeroGradient;
}
fan1
{
type fan;
patchType cyclic;
f List<scalar> 2 (0.1 1.0);
value uniform 0;
}
fan3
{
type fan;
patchType cyclic;
f List<scalar> 2 (0.1 1.0);
value uniform 0;
}
fan2
{
type cyclic;
// patchType cyclic;
// f List<scalar> 2 (0.1 -1.0);
// value uniform 0;
}
fan4
{
type cyclic;
// patchType cyclic;
// f List<scalar> 2 (0.1 1.0);
// value uniform 0;
}
frontAndBack
{
type empty;
}
wall
{
type zeroGradient;
}
}
|