CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CD (https://www.cfd-online.com/Forums/star-cd/)
-   -   Residuals in POSDAT (Star-CD 4.06 / Windows) (https://www.cfd-online.com/Forums/star-cd/65096-residuals-posdat-star-cd-4-06-windows.html)

Ladde June 3, 2009 13:58

Residuals in POSDAT (Star-CD 4.06 / Windows)
 
Hi all!

I have a problem accessing the residuals in posdat.f under Windows.
Using Linux the following worked fine:

Code:

      RES_U = RESOR1(1, 1)
      RES_V = RESOR1(2, 1)
      RES_P = RESOR1(4, 1)
      RES_T = RESOR1(7, 1)
      RES_1 = RESORSC(1, 1)
      DO I_DOM = 2, doma_no
      RES_U = MAX(RESOR1(1,I_DOM),RES_U)
      RES_V = MAX(RESOR1(2,I_DOM),RES_V)
      RES_P = MAX(RESOR1(4,I_DOM),RES_P)
      RES_T = MAX(RESOR1(7,I_DOM),RES_T)
      RES_1 = MAX(RESORSC(I_DAMPF,I_DOM),RES_1)
      END DO

But under Windows these arrays seem not to be initialized.
When accessing them, I get the error
[ 1 ] ***Received signal 11 - EXITING
and the solver stops.

Same happens with RESMAXEQ and RESMAXSC.

Any ideas how to get the residuals in posdat?

Thanks,
Ladde

byanw81 June 5, 2009 05:16

Hi I experiencing the same error in windows, anyone know why?

byanw81 July 23, 2009 21:11

I upgraded the star-cd to 4.08 and no problem while running in windows ^ ^


All times are GMT -4. The time now is 17:26.