|
[Sponsors] |
Problem with Thermophysical Properties and rhoSimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 23, 2014, 08:58 |
Problem with Thermophysical Properties and rhoSimpleFoam
|
#1 |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi everyone!
I am trying to use rhoSimpleFoam with hPsiThermo<pureMixture<SutherlandTransport<specieT hermo<hConstThermo<perfectGas. I have already run a case with an hexaedral mesh created with bockMesh, but with a new mesh built with thetraedrical cells (from fluent), it does not run with the same boundary conditions. Can anyone help me? Thanks Ben |
|
April 23, 2014, 22:24 |
|
#2 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
Have you tried this page? http://www.openfoam.org/features/mesh-conversion.php |
||
April 24, 2014, 04:25 |
|
#3 | |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi massive_turbulence
Thank you for your answer. Yes, I did convert the mesh with the FluentToFoam utility. I should be more precise, my mistake. When I try to run the case with exactly the same boundary conditions, system file and constant properties (thermodynamics, turbulence model etc...), when I only change the mesh, the first time iteration runs for velocity components, but crashes after calculating the enthalpy h (and I tried it with different solvers). Here is the message I get : Quote:
BenJ |
||
April 24, 2014, 05:27 |
|
#4 |
Senior Member
|
Hi,
can you show: 1. Output of checkMesh utility 2. Your fvSchemes, fvSolution, and controlDict |
|
April 24, 2014, 08:29 |
|
#5 | ||||
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi Alexeym,
Thank you for your interest! Here is the result of checkMesh: Quote:
Quote:
Quote:
Quote:
|
|||||
April 24, 2014, 09:59 |
|
#6 |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi again,
It seems that the problem does not come from the mesh, but from my settings. I have exactly the same issue with rhoSimplecFoam after 12 iterations and an hexahedral mesh... So I think my fvSchemes or fvSolution are not adapted for these compressible solvers... what should I set? BenJ |
|
April 24, 2014, 11:48 |
|
#7 |
Senior Member
|
Hi,
my suggestions will be rather general: 1. Have you tried to run simulation with smaller time step? 2. Try cellMDLimited (or just cellLimited) scheme for gradients. I.e. instead Code:
default Gauss linear; Code:
default cellMDLimited Gauss linear 1.0; |
|
April 24, 2014, 12:50 |
|
#8 |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi Alexeym !
Thanks for these advices! I tried to replace the scheme for gradient. In fact, it does run for a few iterations (42), but it crashes and gives me the same floating point exception. Before you answered, I also tried to replace the scheme for divergence. I tried Gauss linear corrected. But, again, after 47 iterations, it crashes and returns the same floating point exception... So, I guess I should try another scheme... But I donīt really know where I could have good informations about this subject. The OpenFOAM userīs Guide is a bit light about it. About the time step, I thought it has no influence for steady-state solver? Thanks again! BenJ |
|
April 24, 2014, 14:50 |
|
#9 |
Senior Member
|
Hi,
well, as I don't know the actual problem you're trying to solve I'll try to give another set of rather general suggestions: 1. Change smoothSolvers to PBiCG for U, k, omega. 2. Change GAMG to PCG for pressure. Or at least set nCellsInCoarsestLevel to square root of the number of cells in your mesh. 3. Reduce relaxation factors even more (i.e. increase relaxation). 4. Add even more viscosity changing cellLimited to faceLimited. I really don't know where to learn about discretisation schemes except going though sources (you can find certain hints in http://www.dicat.unige.it/guerrero/o...sandtricks.pdf). You're right about time step, didn't pay attention to Simple in solver name. |
|
April 25, 2014, 11:14 |
|
#10 |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi!
Thanks for your answer. I did try to change the fvSchemes and fvSolution files. It worked well, but the residuals were oscillating, tending to be amplified. I will try to use the results of this simulation as initial conditions for a simulation with other solvers. Thanks again BenJ |
|
April 28, 2014, 04:50 |
|
#11 |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi!
Running other solver (rhoCentralFoam), with the fvSchemes and Solution above, I get the same error message. And this is about thermophysicalProperties... I don't know where I can change something to male this work. Does anyone have an idea? BenJ |
|
April 28, 2014, 12:35 |
|
#12 | |
New Member
Join Date: Mar 2014
Posts: 17
Rep Power: 12 |
Hi!
So, with your advices Alexeym, it ran, but crashed after 200 iterations... If it can help, here are the last terminal out: Quote:
BenJ |
||
July 29, 2014, 18:02 |
|
#13 |
New Member
nakku
Join Date: Jun 2014
Posts: 11
Rep Power: 12 |
Hi Alexeym,
I want to use nanofluids for laminar pipe flow simulations.The thermophysical properties of nanofluids are as a functions of temperature thus I need to add temperature equation in rhoSimpleFoam.Could you please let me know how I can make it? Thank you. Best Regards. |
|
February 25, 2015, 23:29 |
sigFPE error with thermophysical model
|
#14 |
New Member
Dhaval Shiyani
Join Date: Sep 2012
Posts: 7
Rep Power: 14 |
Hello BenJ,
Have you found the solution to the sigFPE error for the thermophysical model? I am running a 2D unsteady, compressible flow over a backward facing step and I get the exact same error. I tried all the suggestion by alexyem and it just increases the number of iterations after which it crashes. Just like you had. Also the residuals oscillate and tend to diverge. I would really appreciate any help I can get on this matter. From anybody! I can post more details if anyone requires it. Regards, Dhaval |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with rhoSimpleFoam : exploding enthalpy and density at the walls | david39 | OpenFOAM Running, Solving & CFD | 6 | January 18, 2011 12:49 |
rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 05:32 |
Problem with rhoSimpleFoam | mecbe2002 | OpenFOAM | 3 | April 11, 2010 01:54 |
RhoSimpleFoam problem with patch | nishant_hull | OpenFOAM Running, Solving & CFD | 15 | October 30, 2009 13:51 |
How to implement thermophysical properties in a solver | dominik_christ | OpenFOAM Running, Solving & CFD | 0 | June 17, 2008 12:29 |