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

CFX 4:USRSRC

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2005, 19:12
Default CFX 4:USRSRC
  #1
RK
Guest
 
Posts: n/a
Hi,

Can someone suggest what is wrong with the following statement? It is causing a divergence at present.

C ADD SOURCE TERM C....+R1 is added to enthalpy equation C C Check if R1 is positive or negative

IF (R1.GE.0) THEN

SU(INODE,IPHASE)=SU(INODE,IPHASE)+R1*VOL(INODE)

ELSE SU(INODE,IPHASE)=SU(INODE,IPHASE)-R1*VOL(INODE)

ENDIF

Checking R1 values, there are some values that -ive values, while some have +ive values!

Many Thanks,

RK
  Reply With Quote

Old   September 10, 2005, 10:51
Default Re: CFX 4:USRSRC
  #2
Jeff
Guest
 
Posts: n/a
If the sources are either positive or negative, then that's what they are. Arbitrarily negating the negative values to make them all positive isn't physical.

Sources should ALWAYS be added, whether they are positive or negative.

Jeff

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[ICEM] Proper way to name boundaries on 2D model for use in CFX? RossFS ANSYS Meshing & Geometry 4 November 10, 2011 02:38
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 02:20
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 13:22
PhD using CFX Rui CFX 9 May 28, 2007 05:59
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 04:07


All times are GMT -4. The time now is 01:00.