|
[Sponsors] |
Error Prevention: Negative Temperature Throws Fatal Error in Fluid Sim |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 27, 2017, 02:23 |
Error Prevention: Negative Temperature Throws Fatal Error in Fluid Sim
|
#1 |
New Member
Annonymouse
Join Date: Jul 2017
Posts: 5
Rep Power: 9 |
Hello!
I am just starting with OpenFoam, and this is my first time posting, so feel free to point out something obvious that you would assume someone else would know I am modelling a steady state, thermal fluid flow through a pipe elbow. I am getting an error when the thermofluid model (thermoI) gets passed a negative temperature. I am also often getting the error where a variable fails to converge in the number of iterations. I get these errors when I change the turbulence model from k-epsi to k-omega, when I extend the length of the pipe, when I run with different pipe geometries and in general when I try to change variables quickly. I would like to know where the error comes from and know how to interpret it to run simulations. This error throws even if I set basic conditions with no heat transfer. I think it might be that my initial conditions are very extreme: ~15MPa, ~600-800K, helium fluid, pipe diameter of 10 mm. Are there any strategies to designing runs to prevent this error (add mesh refinement, etc)? I am using a 'const' transport equation and a 'hconst' thermo equation. Best, Ben Last edited by ben_; August 27, 2017 at 04:04. |
|
August 28, 2017, 13:56 |
Update
|
#2 |
New Member
Annonymouse
Join Date: Jul 2017
Posts: 5
Rep Power: 9 |
I use this code in fvOptions and it does not crash (thanks KarenRei).
temperatureLimit { type limitTemperature; active true; limitTemperatureCoeffs { selectionMode all; min 100; max 5000; } } However, there are still problems with converging the enthalpy calculation. Any ideas on that? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error message: Insufficient Catalogue Size | Paresh Jain | CFX | 33 | August 16, 2024 06:09 |
[openSmoke] libOpenSMOKE | Tobi | OpenFOAM Community Contributions | 562 | January 25, 2023 10:21 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |