Solid Walls - Two approaches? #240
-
Hello, I am modelling the flow generated by a rotating fan through a rectangular duct, and so I make the Side walls, and the Top and Bottom walls: TYPE_S The problem then is that I cannot see into the box in shaded mode (VIS_FLAG_SURFACE). Would it be the same numerically to model the solid walls of the ducting as follows:
This way I can see into the box to view the fan in shaded mode. Is this approach equivalent numerically to setting the walls as TYPE_S? Thanks in Advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @CbsTau, ( if(xyz.x<=0u||xyz.y<=0u||xyz.z<=0u||xyz.x>=def_Nx-2u||xyz.y>=def_Ny-2u||xyz.z>=def_Nz-2u) return; Kind regards, |
Beta Was this translation helpful? Give feedback.
Hi @CbsTau,
(
TYPE_S
) and (TYPE_E
withu=0
) are not equivalent. UseTYPE_S
here, that ensures mass conservation.To be able to look into the box in
VIS_FLAG_SURFACE
mode, modify this line toKind regards,
Moritz