|
[Sponsors] |
December 8, 2003, 14:58 |
user subroutine BCDEFW for velocity
|
#1 |
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 |
|
December 9, 2003, 08:18 |
Re: user subroutine BCDEFW for velocity
|
#2 |
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
|
|
December 12, 2003, 10:29 |
Re: user subroutine BCDEFW for velocity
|
#3 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |