|
[Sponsors] |
May 25, 2008, 12:31 |
urgent help for user subroutines
|
#1 |
Guest
Posts: n/a
|
Dear CFD Experts,
I have installed star-cd version 4.02 on windows xp using intel core 2 duo pc. i have also installed intel fortran compiler 9.1. now when i write any user subroutine, it gets compiled successfully but it is not usd in the calculatiions. i have made all the checks in my model and and i am at my wits end to find out the problem. any help would be greatly appreciated. |
|
May 25, 2008, 12:35 |
Re: urgent help for user subroutines
|
#2 |
Guest
Posts: n/a
|
Hi,
who do you know it get compiled? Did you turn on th euse of the subroutines in PROSTAR? Regards |
|
May 25, 2008, 13:48 |
Re: urgent help for user subroutines
|
#3 |
Guest
Posts: n/a
|
the subroutines compilation message is given while running the solver and it makes obj files successfully. i have checked in prostar that subroutines are activated.
|
|
May 26, 2008, 22:32 |
Re: urgent help for user subroutines
|
#4 |
Guest
Posts: n/a
|
The script will compile any code in the user subdirectory so the fact that its being compiled is not any indication that it is logically turned on. Perhaps you wrote your .prob file BEFORE you turned on the subroutines? If that isn't the case, its probably a bug and you should call user support. You might also try moving to 4.06.
|
|
May 27, 2008, 11:42 |
Re: urgent help for user subroutines
|
#5 |
Guest
Posts: n/a
|
Does the .run file tell you the subroutine is being used? You should see something like this:
|-> USER FORTRAN CODING USED ------------- | MODIFIED HEAT TRANSFER WALL FUNCTION | If the user subroutines are being compiled and linked. And the correct switches inside PROSTAR are configured properly. Then the user subroutines should be getting executed. Maybe your user coding has a problem. Try adding some print statements. |
|
May 27, 2008, 15:18 |
Re: urgent help for user subroutines
|
#6 |
Guest
Posts: n/a
|
Dear Pauli,
As you have written in your comments, my run file shat subroutine is being used. also i am adding some print commands in my subroutine. but unfortunately, those commands are not printed. it is a very strange behaviour ans i am at my wits end to sort out the matter. bye the way, thank you very much for your suggestions and i really appreciate that you guys have looked into this problem. |
|
September 4, 2008, 21:12 |
Re: urgent help for user subroutines
|
#7 |
Guest
Posts: n/a
|
Which subroutine might this be? If a print command doesn't get printed I'm pretty sure it is not being called upon properly. I also suggest you upgrade to v4.06 as prior v4.0x's seem buggy.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
user subroutines | vladimir | Siemens | 7 | October 12, 2004 14:59 |
User subroutines | Meiring | Siemens | 5 | January 17, 2003 01:14 |
User subroutines | Mir | Siemens | 10 | May 4, 2002 17:16 |
user subroutines in CFX | Zeng | CFX | 3 | March 19, 2002 20:35 |
two questions about user subroutines | cherry.qian | Siemens | 2 | November 26, 2001 04:18 |