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
Checking R1 values, there are some values that -ive values, while some have +ive values!
Re: CFX 4:USRSRC
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.
|All times are GMT -4. The time now is 23:12.|