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

user subroutine BCDEFW for velocity

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 8, 2003, 13:58
Default user subroutine BCDEFW for velocity
  #1
Abe
Guest
 
Posts: n/a
Hello,

I tried to use the user subroutine BCDEFW for velocity. The velocity at the wall is a function of x and y coordinate. The solver compiled the user subroutine. However, it appears that it did not read the x and y values and evaluated them as zero. The functions are typically U=10+20*SQRT(X**2+Y**2)*COS(ALPHA) and V=10+20*SQRT(X**2+Y**2)*SIN(ALPHA) I wonder what is missing?

Thanks in advance. Abe
  Reply With Quote

Old   December 9, 2003, 07:18
Default Re: user subroutine BCDEFW for velocity
  #2
John L
Guest
 
Posts: n/a
Did you activate the user function for the wall region in PROSTAR - you should see in the .run file head of additional features used:USER FORTRAN CODING USED
  Reply With Quote

Old   December 12, 2003, 09:29
Default Re: user subroutine BCDEFW for velocity
  #3
Abe
Guest
 
Posts: n/a
Hello,

Thank you. It resolved the problem.

Now, I am experiencing another difficulty. The wall boundary is located at the interface of fluid and solid. I need to define a heat flux at this boundary. The wall needs to be determined as conducting wall since there is a conjugate heat transfer. However, in this case, conducting wall and heat flux cannot be defined at the same time. I tried to define heat flux in the subroutine while making the wall conducting, but it did not see the heat flux. I need to make the wall moving and conducting with a heat flux. Is it possible to define this type of boundary? Or, any idea to resolve this problem?

Thank you.
  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 15:49
time dependent velocity input by user subroutine shohel mahmud CD-adapco 4 December 18, 2007 11:40
User Subroutine Garryx CD-adapco 1 June 25, 2005 00:13
CFX5.5 User Subroutine defining velocity B.C. David CFX 7 March 4, 2003 19:02
User subroutine Don Baker CD-adapco 1 September 29, 2002 12:27


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