CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Real gas simulations - Problems with Linux (http://www.cfd-online.com/Forums/cfx/21838-real-gas-simulations-problems-linux.html)

Smilla November 17, 2005 08:34

Real gas simulations - Problems with Linux
 
I would like to do real gas simulations. It works well with windows, but it always crashes with Linux when a backup or resultfile is written.

What can I do?

Dergunov November 18, 2005 06:25

Re: Real gas simulations - Problems with Linux
 
How you set the real gas properties? Are you using RGP-file?

smilla November 18, 2005 11:35

Re: Real gas simulations - Problems with Linux
 
no, I use the standard values of Redlich-Kwong and also modified heat capacities.

matej November 19, 2005 05:19

Re: Real gas simulations - Problems with Linux
 
Hi,

what error do you find at the end of the out file? Isn't it just full disk??

Try to switch off the real gas, and run few iteration and save file in windows and the same then in Linux, to find the error by elimination. Check in def file what do you told it to write to result file.

matej


Smilla November 19, 2005 13:39

Re: Real gas simulations - Problems with Linux
 
No, it cannot be full disk. I already checked this.

This is my output control.

OUTPUT CONTROL:

BACKUP RESULTS: Backup Results 1

File Compression Level = Default

Iteration List = 150

Option = Standard

END

RESULTS:

File Compression Level = Default

Option = Standard

END

TRANSIENT RESULTS: Transient Results 1

File Compression Level = Default

Option = Standard

Time Interval = 0.0001 [s]

END

It also happens when I push the button for 'backup run' in the solver. This is the output I get:

+--------------------------------------------------------------------+ | Writing user requested backup file: 1_full.bak | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | ERROR #001100279 has occurred in subroutine ErrAction. | | Message: | | c_fpx_handler: Floating point exception: Invalid Operand | | | | | | | | | | | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | Writing crash recovery file | +--------------------------------------------------------------------+

Details of error:- ---------------- Error detected by routine MAKDAT CDANAM = LVAR CDTYPE = INTR ISIZE = 187 CRESLT = OLD

+--------------------------------------------------------------------+ | An error has occurred in cfx5solve: | | | | The CFX-5 solver exited with return code 1. No results file has | | been created. | +--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+ | The following transient and backup files written by the CFX-5 | | solver have been saved in the directory | | /home/ilona/Documents/CFX/D24C/R17/R17_stat_b_001: | | | | 1_full.bak | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | An error has occurred in cfx5solve: | | | | Error reported by IO module: setfilebusyflag: more than one user | | is reading | | /home/ilona/Documents/CFX/D24C/R17/R17_stat_b_001.dir/crash or the | | wrong lock file | | /home/ilona/Documents/CFX/D24C/R17/R17_stat_b_001.dir/crash.lck | | exists | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | An error has occurred in cfx5solve: | | | | Error reported by IO module: iocnt: setfilebusyflag failed when | | writing a data set | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | An error has occurred in cfx5solve: | | | | Error from IO module while writing G/MON:EVERY:1: | | | | "iocnt: setfilebusyflag failed when writing a data set" | | | | IO_LOCKED(21): File is locked. Remove the lock (lck) file if this | | shouldn't be the case. | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | Warning! | | | | The CFX-5 Solver has written a crash recovery file. This file has | | been saved as | | /home/ilona/Documents/CFX/D24C/R17/R17_stat_b_001.res.err and may | | be an aid to diagnosing the problem or restarting the run. More | | details should be available in the solver output section of the | | output file. Note that a lock file was left for the crash file | | when the solver exited, and so it is probably incomplete. | +--------------------------------------------------------------------+

+--------------------------------------------------------------------+ | The following user files have been saved in the directory | | /home/ilona/Documents/CFX/D24C/R17/R17_stat_b_001: | | | | mon | +--------------------------------------------------------------------+

This run of the CFX-5 Solver has finished.

I already tried several things, but I think I should begin from the start to be able to tell when the problem exactly occurs.

Nepal November 19, 2005 19:24

Re: Real gas simulations - Problems with Linux
 
Have you checked that your directory is writable? If not, tyy this: $ chmod -Rvf 777 * (change to your working directory first)

smilla November 21, 2005 09:08

Re: Real gas simulations - Problems with Linux
 
I tested it, when the error occurs:

It works as long as I use the standard values for the Redlich Kwong gases H2RK, N2RK and O2RK. But when I change the Zero Pressure Polynomial for H2RK, the above message occurs.

The directory is writeable.

It works with Windows and gives reliable results.

Has anyone an idea what may be the problem?

Stevie Wonder November 21, 2005 10:27

Re: Real gas simulations - Problems with Linux
 
I've got a similar error with a UserFortran code. It has run on windows but it crashed every time in linux in the first iteration with the message: c_fpx_handler: Floating point exception: Invalid Operand.


In my case I don't know whether is a compiler (PGI) or a code issue. But as long as it happens to you also (but without fortran I guess) it could be a bug in the linux version of the code.

I strongly suggest you to look for your technical support. They might have a look at it.


Good luck, Stevie Wonder


All times are GMT -4. The time now is 09:05.