CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

time dependent inlet subroutine. HELP!!!

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2008, 13:23
Default time dependent inlet subroutine. HELP!!!
  #1
jimmer
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
  Reply With Quote

Old   November 5, 2008, 14:08
Default Re: time dependent inlet subroutine. HELP!!!
  #2
Pauli
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.

  Reply With Quote

Old   November 5, 2008, 16:57
Default Re: time dependent inlet subroutine. HELP!!!
  #3
jimmer
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!
  Reply With Quote

Old   November 5, 2008, 17:57
Default Re: time dependent inlet subroutine. HELP!!!
  #4
Pauli
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.

  Reply With Quote

Old   November 10, 2008, 08:49
Default Re: time dependent inlet subroutine. HELP!!!
  #5
jimmer
Guest
 
Posts: n/a
Thanks!!!
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Dependent Temperature Dependent BC Analysis RP Main CFD Forum 1 March 28, 2008 01:22
time dependent velocity input by user subroutine shohel mahmud Siemens 4 December 18, 2007 11:40
time dependent MRF ? olivier Main CFD Forum 1 April 1, 2005 10:28
time dependent mrf ? olivier FLUENT 0 April 1, 2005 07:46
time dependent B.C co2 FLUENT 3 November 26, 2003 15:55


All times are GMT -4. The time now is 08:18.