|
[Sponsors] |
May 10, 2020, 12:43 |
PengRobinson floating point exception
|
#1 |
New Member
Daniel
Join Date: Nov 2019
Location: Germany
Posts: 10
Rep Power: 7 |
Hello CFDler,
i am working on a simulation with fluid CO2 through a diffusor at 60 bar and roomtemepratur. The fluid should pressure driven exit the nozzle. I started my first simulation with the Equation of state perfectGas which worked. Now i changed the EOS to PengRobinsonGas and now i get a "floating point exception" (division through zero) after a few iterations. In this link you can find my case with the log File: https://drive.google.com/open?id=1wv...zqL9c6CEc9YcxU I already tried to change the Boundarys, the numeric and my mesh without any oblique lines but nothing worked. Any suggestions? Greatings Daniel |
|
May 11, 2020, 05:34 |
|
#2 |
Senior Member
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 14 |
In most cases, when using real equations of state, the CFD user is not aware that in some areas the setup surpasses the physical limits of the EOS.
I would suggest, to modify your thermodynamic states and approach the initial condition in stages, e.g. reduce your pressure to 1 bar at 293.15 K temperature. Regards |
|
May 11, 2020, 05:40 |
|
#3 | |
New Member
Daniel
Join Date: Nov 2019
Location: Germany
Posts: 10
Rep Power: 7 |
Quote:
So you're recommending to increase the pressure on the fly? |
||
May 11, 2020, 06:58 |
|
#4 |
Senior Member
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 14 |
Not exactly, i mean that you should be aware if your underlying problem may produce non-physical conditions for you geometrical setup.
Independantly of this, a ramping of the boundary or initial conditions is no bad choice. Regards |
|
May 11, 2020, 07:27 |
|
#5 |
New Member
Daniel
Join Date: Nov 2019
Location: Germany
Posts: 10
Rep Power: 7 |
I just tried to ramp my pressure, but for that i had to change the bcs at the inlet. With the new BCs the simulations starts, but doesnt reach the first point i had defined with "table". It ended with the same Error.
|
|
Tags |
cfd - post, equation of state, openfoam 1806, pengrobinsongas |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
icoFoam floating point exception (8) | leizhao512 | OpenFOAM Running, Solving & CFD | 7 | November 1, 2018 12:43 |
A floating point exception has occurred: floating point exception [Overflow]. | starlight | STAR-CCM+ | 4 | May 4, 2016 10:08 |
A floating point exception - SEM Model | yansheng | STAR-CCM+ | 1 | April 4, 2016 05:57 |
Floating point exception from twoPhaseEulerFoam | openfoammaofnepo | OpenFOAM Running, Solving & CFD | 1 | March 19, 2016 14:56 |
Floating point exception (core dumped) for GAMG solver | yuhou1989 | OpenFOAM Running, Solving & CFD | 2 | March 24, 2015 20:28 |