CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   velocity blocking (https://www.cfd-online.com/Forums/siemens/53522-velocity-blocking.html)

F.K. October 22, 2003 04:40

velocity blocking
 
Hi all,

is it possible to block the velocity components u,v for a predefined cell id so that only w exists??

thx

ulf October 22, 2003 05:16

Re: velocity blocking
 
Check the usersubroutine "sormom.f" for more info.

F.K. October 22, 2003 05:24

Re: velocity blocking
 
the usersubroutine sormom.f can't be used for velocity blocking!!!!

ulf October 22, 2003 09:12

Re: velocity blocking
 
That depends on what you mean with blocking. I assumed you wanted 0-velocity for some cells.

steve October 22, 2003 11:01

Re: velocity blocking
 
Perhaps you could turn that cell in question to porous and define the coeficients such that there is no resistance in the w direction and infinite resistance in the other 2 directions?

F.K. October 23, 2003 05:38

Re: velocity blocking
 
Yes ,thank you for your help. I have adjusted the values so that nearly no resitance appears. I've tried the some with sormon.f in combination with sorent.f but this leads to strange results. So I think it is not possible to define a flow-equalizer(u,v blocked, w no restriction) with the subroutines.


vladimir krejci October 23, 2003 05:50

Re: velocity blocking
 
I do not know what is your problem about but you can set arbitrary velocity at any cell using the sormom.f subroutine just write

if (ictid.eq.prostar_cell_type_number_where_the_subro utine_should_apply) then

s1u=velocity_you_like*great

s2u=great

and similarly for the rest

endif

instead of ictid you can use ip or something like that for cell number

using this procedure may appear unstable

regards

steve October 23, 2003 17:32

Re: velocity blocking
 
Why even bother with user subroutines? Can't you just use prostar to define which cells are porous and adjust the porous material properties accordingly?


All times are GMT -4. The time now is 07:37.