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

Real gas simulations - Problems with Linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2005, 09:34
Default Real gas simulations - Problems with Linux
  #1
Smilla
Guest
 
Posts: n/a
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?
  Reply With Quote

Old   November 18, 2005, 07:25
Default Re: Real gas simulations - Problems with Linux
  #2
Dergunov
Guest
 
Posts: n/a
How you set the real gas properties? Are you using RGP-file?
  Reply With Quote

Old   November 18, 2005, 12:35
Default Re: Real gas simulations - Problems with Linux
  #3
smilla
Guest
 
Posts: n/a
no, I use the standard values of Redlich-Kwong and also modified heat capacities.
  Reply With Quote

Old   November 19, 2005, 06:19
Default Re: Real gas simulations - Problems with Linux
  #4
matej
Guest
 
Posts: n/a
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

  Reply With Quote

Old   November 19, 2005, 14:39
Default Re: Real gas simulations - Problems with Linux
  #5
Smilla
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   November 19, 2005, 20:24
Default Re: Real gas simulations - Problems with Linux
  #6
Nepal
Guest
 
Posts: n/a
Have you checked that your directory is writable? If not, tyy this: $ chmod -Rvf 777 * (change to your working directory first)
  Reply With Quote

Old   November 21, 2005, 10:08
Default Re: Real gas simulations - Problems with Linux
  #7
smilla
Guest
 
Posts: n/a
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?
  Reply With Quote

Old   November 21, 2005, 11:27
Default Re: Real gas simulations - Problems with Linux
  #8
Stevie Wonder
Guest
 
Posts: n/a
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
  Reply With Quote

Reply


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
error: uninitialized local variable 't' used MASOUD Fluent UDF and Scheme Programming 5 October 17, 2016 05:24
defining a term for a domain using DEFINE_ADJUST MASOUD Fluent UDF and Scheme Programming 1 September 24, 2010 06:08
Real gas equation of state for gas mixture ahourri FLUENT 0 April 30, 2008 12:23
UDF error from Windows to Linux manu FLUENT 3 January 10, 2008 05:02
about the real gas in Numeca redboy Fidelity CFD 2 March 4, 2003 08:57


All times are GMT -4. The time now is 21:13.