|
[Sponsors] |
May 21, 2002, 08:28 |
how to use ICALL in subroutine usrsrc
|
#1 |
Guest
Posts: n/a
|
Hi, all I have a question about ICALL in subroutine usrsrc. When I add source terms, I don¡¯t know clearly that I should use ICALL=1 or ICALL=2. Though the manual expands how to use it, I am puzzled. Someone know the principle to use ICALL=1 OR 2. Any suggestion is appreciated.
|
|
May 21, 2002, 09:00 |
Re: how to use ICALL in subroutine usrsrc
|
#2 |
Guest
Posts: n/a
|
ICALL = 1 you will ADD your custom source term. When you set ICALL = 2 you'll OVERWRITE any existent source terms in your equation. If you take a look at the USRSRC subroutine on the manual, there's two examples using the energy equation. In one example (ICALL=1) there's a source of heat adding 100W/m3 in every cell, leaving the other source terms in the energy equation as they are. In the other example (ICALL=2) the source term is ONLY 100W/m3 in every cell of domain.
Regards, cfd guy |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Subroutine Error | sergiorbrett | CFX | 12 | September 3, 2012 08:40 |
Errorin subroutine appeared when applying cavitation model | pitisrisuk | CFX | 1 | July 2, 2012 04:36 |
FIDAP subroutine: USRBDY | Shuwen Tzeng | FLUENT | 0 | September 3, 2004 04:40 |
Trouble in using subroutine (FIDAP) | Sindy | FLUENT | 0 | July 5, 2004 08:07 |
How to active USRMST subroutine? | Thitikorn | FLUENT | 1 | October 19, 2002 05:23 |