CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   rhoPimpleFoam error (https://www.cfd-online.com/Forums/openfoam-solving/221379-rhopimplefoam-error.html)

tenichols19 October 14, 2019 18:33

rhoPimpleFoam error
 
Hi I'm running a simulation based off the compressible angled duct tutorial opt/openfoam/tutorial/compressible/rhoPimpleFoam/RAS and after I run my simulation I get this error after it runs for a little bit.

I'm going to go back and do my best to check boundary conditions and such but I'm having trouble interpreting what the error is.. Can anyone shed some light on what is going on? Or how to pin point where the issue is?





Code:

PIMPLE: Iteration 1
smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 1.00633e-06, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 1, Final residual = 6.60958e-08, No Iterations 1
smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 9.32762e-07, No Iterations 1
smoothSolver:  Solving for e, Initial residual = 1.88026e-05, Final residual = 1.66735e-05, No Iterations 1000
DICPCG:  Solving for p, Initial residual = 1, Final residual = 8.08526e-08, No Iterations 36
pressureControl: p max 111312
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1, global = 1, cumulative = 1
smoothSolver:  Solving for epsilon, Initial residual = 0.0592555, Final residual = 0.00422045, No Iterations 3
bounding epsilon, min: -3.03429e+06 max: 5.95861e+09 average: 5.73871e+07
smoothSolver:  Solving for k, Initial residual = 1, Final residual = 0.00379042, No Iterations 1
PIMPLE: Iteration 2
smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 0.0648606, No Iterations 3
smoothSolver:  Solving for Uy, Initial residual = 0.728353, Final residual = 0.0291832, No Iterations 2
smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 0.0682855, No Iterations 3
smoothSolver:  Solving for e, Initial residual = 1, Final residual = 0.0912548, No Iterations 2
DICPCG:  Solving for p, Initial residual = 1, Final residual = 8.73524e-08, No Iterations 351
pressureControl: p max 1.34117e+10
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1, global = 1, cumulative = 2
smoothSolver:  Solving for epsilon, Initial residual = 0.00103145, Final residual = 3.97863e-05, No Iterations 2
bounding epsilon, min: -1.03555e+14 max: 1.75415e+18 average: 4.29224e+16
smoothSolver:  Solving for k, Initial residual = 0.18778, Final residual = 0.0125959, No Iterations 1
PIMPLE: Iteration 3
smoothSolver:  Solving for Ux, Initial residual = 0.000738524, Final residual = 4.67996e-05, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 6.19699e-05, Final residual = 3.1511e-06, No Iterations 1
smoothSolver:  Solving for Uz, Initial residual = 0.00113877, Final residual = 6.69982e-05, No Iterations 1
smoothSolver:  Solving for e, Initial residual = 0.0459777, Final residual = 0.00275765, No Iterations 1
DICPCG:  Solving for p, Initial residual = 1, Final residual = 5.21854e-08, No Iterations 9
pressureControl: p max 1.10319e+11
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1, global = 1, cumulative = 3
smoothSolver:  Solving for epsilon, Initial residual = 0.000701229, Final residual = 1.91923e-05, No Iterations 2
bounding epsilon, min: -4.30382e+17 max: 8.88497e+19 average: 1.01591e+18
smoothSolver:  Solving for k, Initial residual = 0.335667, Final residual = 0.029473, No Iterations 1
PIMPLE: Iteration 4
smoothSolver:  Solving for Ux, Initial residual = 0.0134738, Final residual = 0.000197854, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 0.000512107, Final residual = 2.11432e-05, No Iterations 1
smoothSolver:  Solving for Uz, Initial residual = 0.16274, Final residual = 0.00241396, No Iterations 1
smoothSolver:  Solving for e, Initial residual = 0.0215283, Final residual = 0.00157497, No Iterations 1
[7] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[7] #1  Foam::sigFpe::sigHandler(int) at ??:?
[7] #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
[7] #3  Foam::hePsiThermo<Foam::psiThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:?
[7] #4  Foam::hePsiThermo<Foam::psiThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:?
[7] #5  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/rhoPimpleFoam"
[7] #6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[7] #7  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/rhoPimpleFoam"
[taylor-Precision-T1700:31634] *** Process received signal ***
[taylor-Precision-T1700:31634] Signal: Floating point exception (8)
[taylor-Precision-T1700:31634] Signal code:  (-6)
[taylor-Precision-T1700:31634] Failing at address: 0x3e800007b92
[taylor-Precision-T1700:31634] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fd0d5ef5f20]
[taylor-Precision-T1700:31634] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fd0d5ef5e97]
[taylor-Precision-T1700:31634] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fd0d5ef5f20]
[taylor-Precision-T1700:31634] [ 3] /opt/openfoam7/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so(_ZN4Foam11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_19sutherlandTransportINS_7species6thermoINS_12hConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEE9calculateEv+0x1e2)[0x7fd0dbfe6b02]
[taylor-Precision-T1700:31634] [ 4] /opt/openfoam7/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so(_ZN4Foam11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_19sutherlandTransportINS_7species6thermoINS_12hConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEE7correctEv+0x2a)[0x7fd0dc01c58a]
[taylor-Precision-T1700:31634] [ 5] rhoPimpleFoam(+0x2d621)[0x557083b6f621]
[taylor-Precision-T1700:31634] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fd0d5ed8b97]
[taylor-Precision-T1700:31634] [ 7] rhoPimpleFoam(+0x3514a)[0x557083b7714a]
[taylor-Precision-T1700:31634] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 7 with PID 0 on node taylor-Precision-T1700 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------


cryabroad October 17, 2019 02:17

In the very first PIMPLE iteration you have 1000 iterations running to try to get the e field to converge, that normally signals ill-posed boundary conditions somewhere. What are you simulating? What are the boundary conditions?

Carlo_P October 17, 2019 05:11

Yu have also only 1 iteration in the velocity.
Reduce the value in the FvSolution of relTol and tolerance in the solver/U command.


This can help, but as suggested, seems that you have a bigger errors somewhere.


Is the mesh ok? Did you run checkMesh?


All times are GMT -4. The time now is 08:52.