time dependent inlet subroutine. HELP!!!
Hello. I am simulating transient multiphase flow. My inlet is time dependent but I can't use a table. STAR 3.26 doesn't give u this option so I have to use a subroutine. Can anyone tell me what to put into bcdefi.f? The only thing I want is y-velocity (V) increasing at a certain rate with TIME. Your help will be much appreciated
|
Re: time dependent inlet subroutine. HELP!!!
Then enter: v = A * time where A is your rate constant. The remaining parameters will default to the values set in the NavCenter.
|
Re: time dependent inlet subroutine. HELP!!!
do I have to determine the global variable TIME in the bcdefi subroutine? I tried what u said but the subroutine didn't work. thanks!
|
Re: time dependent inlet subroutine. HELP!!!
No.
The bcdefi.f template should have the line: INCLUDE 'usrdat.inc' When you run the code, star will put usrdat.inc in your ufile directory. The variable time is provided by a common block within usrdat.inc. Time gives the current simulation time. |
Re: time dependent inlet subroutine. HELP!!!
Thanks!!!
|
All times are GMT -4. The time now is 20:47. |