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

how to use ICALL in subroutine usrsrc

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2002, 08:28
Default how to use ICALL in subroutine usrsrc
  #1
zhu
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.
  Reply With Quote

Old   May 21, 2002, 09:00
Default Re: how to use ICALL in subroutine usrsrc
  #2
cfd guy
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
  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
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


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