|
[Sponsors] |
September 14, 2004, 07:08 |
How looks an usersubroutine
|
#1 |
Guest
Posts: n/a
|
Hello, i want to give a temperature function to a boundary. How looks an usersubroutine for this problem.
Thank you very much for your help. Torsten |
|
September 14, 2004, 10:16 |
Re: How looks an usersubroutine
|
#2 |
Guest
Posts: n/a
|
Have you taken a look on the sample coding provided in Star ?
|
|
September 14, 2004, 10:32 |
Re: How looks an usersubroutine
|
#3 |
Guest
Posts: n/a
|
I have, but i havn`t found anything. Perhaps i have found a method of resolution.
IF(IREG.EQ.0) THEN U=0 V=0 W=0 TORHF=293+345*log(8*TIME+1) !that´s my temp.function SCALAR(1)=?? RESWT=0.05 RSTSC(1)=?? ENDIF What stay for the question mark? Is the other code okay? thank´s a lot |
|
September 14, 2004, 14:07 |
Re: How looks an usersubroutine
|
#4 |
Guest
Posts: n/a
|
Just create a little testcase and have a look if the coding works as expected.
|
|
September 15, 2004, 04:41 |
Re: How looks an usersubroutine
|
#5 |
Guest
Posts: n/a
|
I have never used a subroutine before. Do i have to select in Run Analysis Interactively YES for the question "Do you have User Subroutines?"? What have i to do with the boundary conditions? What have i to select for Wall Heat? Thank´s
|
|
September 16, 2004, 04:21 |
Re: How looks an usersubroutine
|
#6 |
Guest
Posts: n/a
|
YES, you have to select yes. if you don't run star interactively and use starlink, you are asked, if the compilation should be checked or something like that- then you can see the errors. The boundary condition should be USER. Normally the subroutine bcdefw.f is used then, and there you can add your user coding
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fidap/usersubroutine/bcnode | uwe | FLUENT | 0 | November 26, 2001 03:59 |