|
[Sponsors] |
Divition by zero error in rhoSimpleFoam with SA |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2017, 17:25 |
Divition by zero error in rhoSimpleFoam with SA
|
#1 |
New Member
Andrea Matiz C
Join Date: Feb 2017
Posts: 10
Rep Power: 9 |
Hello
I am trying to simulate the bump-in-channel verification case from the TRM web by NASA with compressible, steady solver rhoSimpleFoam and SpalartAllmaras with OF 3.1. I've succeed at simulating the case for the three coarse grids. However when simulating exactly the same case but with a finer mesh it crashes. The error I get is: #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::hePsiThermo<Foam:siThermo, Foam:ureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam:erfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:? #4 Foam::hePsiThermo<Foam:siThermo, Foam:ureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam:erfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? Excepción de coma flotante (`core' generado) I know this error comes out when there is a mathematical inconsistency like division by zero. So I've checked all the boundary conditions but nothing I've changed has worked so far and they are the same BC I used in the previous simulation with coarse meshes. I've changed also schemes but this has not show any improvement in the simulation. Last I think from the error I get that the problem is in the thermophysicalProperties file but I've also checked that and nothing My thermophysicalProperties file looks like follows: thermoType { type hePsiThermo; mixture pureMixture; transport sutherland; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } mixture { specie { nMoles 1; molWeight 28.9; } thermodynamics { Cp 1007;//1004.5; Hf 0;// 2.544e+06; } transport { As 1.4792e-06; Ts 116; // mu 1.8e-05; // Pr 0.7; } } In conclusion, I've tried to change everything from BC, schemes, solver, and thermoProperties and nothing has worked so far. Could anyone help me to understand this? Ps. I tried with incompressible simpleFoam and it runs, I haven't check the results but it doesn't crashes. Thanks in advance |
|
June 1, 2017, 18:36 |
|
#2 |
New Member
Arturo Cajal
Join Date: May 2017
Posts: 4
Rep Power: 9 |
Hello Andrea,
I'm having the same issue. Any update on this? Thanks. |
|
June 2, 2017, 15:01 |
|
#3 |
New Member
Andrea Matiz C
Join Date: Feb 2017
Posts: 10
Rep Power: 9 |
Hi Arturo
I was able to solve my problem by changing the boundary condition alphat in the wall to alphatJayatilllekeWallFunction. Additionally I had to increase the number of outercorrectors. That solved my problem, hope it works for you! |
|
June 2, 2017, 15:16 |
|
#4 |
New Member
Arturo Cajal
Join Date: May 2017
Posts: 4
Rep Power: 9 |
Andrea,
Thanks for your kindly reply, I will try to change the parameters you mention. Best. |
|
Tags |
bump, rhosimplefoam, spalartallmaras |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
transsonic nozzle with rhoSimpleFoam | Unseen | OpenFOAM Running, Solving & CFD | 8 | July 1, 2022 07:54 |
Pressure instability with rhoSimpleFoam | philipp. | OpenFOAM | 13 | October 30, 2016 04:39 |
rhoSimpleFoam angledDuctExplicitFixedCoeff tutorial fails in parallel | donQi | OpenFOAM Running, Solving & CFD | 1 | February 22, 2016 20:47 |
Switching from simpleFoam to rhoSimpleFoam | sebastian | OpenFOAM | 11 | January 7, 2015 05:32 |
rhoSimpleFoam. patchField error. | 123 | OpenFOAM Running, Solving & CFD | 4 | June 6, 2014 16:22 |