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

user subroutine BCDEFW for velocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2003, 14: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, 08: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, 10: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


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
User Subroutine A. Said CFX 9 March 7, 2008 16:49
time dependent velocity input by user subroutine shohel mahmud Siemens 4 December 18, 2007 12:40
User Subroutine Garryx Siemens 1 June 25, 2005 01:13
CFX5.5 User Subroutine defining velocity B.C. David CFX 7 March 4, 2003 20:02
User subroutine Don Baker Siemens 1 September 29, 2002 13:27


All times are GMT -4. The time now is 03:19.