|
[Sponsors] |
November 5, 2008, 14:23 |
time dependent inlet subroutine. HELP!!!
|
#1 |
Guest
Posts: n/a
|
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
|
|
November 5, 2008, 15:08 |
Re: time dependent inlet subroutine. HELP!!!
|
#2 |
Guest
Posts: n/a
|
Then enter: v = A * time where A is your rate constant. The remaining parameters will default to the values set in the NavCenter.
|
|
November 5, 2008, 17:57 |
Re: time dependent inlet subroutine. HELP!!!
|
#3 |
Guest
Posts: n/a
|
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!
|
|
November 5, 2008, 18:57 |
Re: time dependent inlet subroutine. HELP!!!
|
#4 |
Guest
Posts: n/a
|
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. |
|
November 10, 2008, 09:49 |
Re: time dependent inlet subroutine. HELP!!!
|
#5 |
Guest
Posts: n/a
|
Thanks!!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time Dependent Temperature Dependent BC Analysis | RP | Main CFD Forum | 1 | March 28, 2008 02:22 |
time dependent velocity input by user subroutine | shohel mahmud | Siemens | 4 | December 18, 2007 12:40 |
time dependent MRF ? | olivier | Main CFD Forum | 1 | April 1, 2005 11:28 |
time dependent mrf ? | olivier | FLUENT | 0 | April 1, 2005 08:46 |
time dependent B.C | co2 | FLUENT | 3 | November 26, 2003 16:55 |