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! |
Answered by
ProjectPhysX
Nov 2, 2024
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, |
1 reply
Answer selected by
CbsTau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @CbsTau,
(
TYPE_S) and (TYPE_Ewithu=0) are not equivalent. UseTYPE_Shere, that ensures mass conservation.To be able to look into the box in
VIS_FLAG_SURFACEmode, modify this line toKind regards,
Moritz