|
[Sponsors] | |||||
|
|
|
#1 |
|
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 |
|
|
||
|
|
|
#2 |
|
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 |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 03:38 |
| Pros and Cons for CFX, CFdesign, COMSOL | Val | Main CFD Forum | 3 | June 10, 2011 03:20 |
| CFX pressure in Simulations problem | nasdak | CFX | 1 | April 14, 2010 14:22 |
| PhD using CFX | Rui | CFX | 9 | May 28, 2007 06:59 |
| CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 05:07 |