CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

user subroutine of inlet boundary

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 4, 2001, 05:54
Default user subroutine of inlet boundary
  #1
raymond
Guest
 
Posts: n/a
I have a question about the user soubroutine of inlet boundary conditions. For in my simulation, the inlet value varies with position. For example, the inlet velocity at different location is different and I can define an equation to present the velocity, such as: u(y,z)=f(y,z) I know I can input the value var tablet.But it would take a lot of time, how can it be integrated to the user subroutine in STAR-CD?

Thanks in advance!

Best regard

Raymond YIn
  Reply With Quote

Old   December 4, 2001, 12:00
Default Re: user subroutine of inlet boundary
  #2
john
Guest
 
Posts: n/a
Since your inlet velocity is a fuction of position, then you should be able to do it very easily in BCDEFI. The Boundary positions are passed to BCDEFI (X,Y,Z).
  Reply With Quote

Old   December 4, 2001, 22:38
Default Re: user subroutine of inlet boundary
  #3
raymond
Guest
 
Posts: n/a
Thanks a lot, I mis-understand the process of calling subroutine at first.
  Reply With Quote

Old   December 5, 2001, 19:54
Default Re: user subroutine of inlet boundary
  #4
Ethan
Guest
 
Posts: n/a
What if the inlet velocity is also a function of time? V=V(x,y,z,t).. since Time is also a variable to be returned , so do you modify BCDEFI or other ways to do it ? Thank you very much ..

-Ethan
  Reply With Quote

Old   December 6, 2001, 06:44
Default Re: user subroutine of inlet boundary
  #5
Richard
Guest
 
Posts: n/a
The boundary conditions at an inlet can be specified through BCDEFI as a function of position (the variables X, Y and Z indicate this) as well as time (the variable TIME indicates this). The conditions can be a function of lots of other things: have a look at the file "nom.inc" in the ufile subdirectory for a full nomenclature of user subroutines.
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Subroutine A. Said CFX 9 March 7, 2008 16:49
Inlet boundary subroutine procedure Johan CD-adapco 1 June 15, 2007 16:41
Help!trasient inlet user subroutine chun CD-adapco 8 January 14, 2005 10:31
User subroutine Don Baker CD-adapco 1 September 29, 2002 12:27
user soubroutine of inlet boundary conditions Charlie Beghein CD-adapco 2 August 30, 2002 02:03


All times are GMT -4. The time now is 09:38.