Hi to everyone,

I am trying to simulate cavitation inside nozzle with kOmega SST turbulence model using interPhaseChangeFoam (at least for this case).When i run the case, after 40 or 50 time-steps always giving following floating point error:

smoothSolver: Solving for alpha.water, Initial residual = 4.1184e-06, Final residual = 3.80347e-09, No Iterations 1

Phase-1 volume fraction = 0.98612 Min(alpha1) = 0.000310125 Max(alpha1) = 1

MULES: Correcting alpha.water

MULES: Correcting alpha.water

Liquid phase volume fraction = 0.98612 Min(alpha1) = 0.000310125 Max(alpha1) = 1

smoothSolver: Solving for Ux, Initial residual = 1.98514e-05, Final residual = 1.02782e-09, No Iterations 2

smoothSolver: Solving for Uy, Initial residual = 5.44074e-06, Final residual = 1.94705e-10, No Iterations 2

smoothSolver: Solving for Uz, Initial residual = 8.8507e-05, Final residual = 3.80435e-09, No Iterations 2

GAMG: Solving for p_rgh, Initial residual = 2.79212e-08, Final residual = 2.04895e-10, No Iterations 1

GAMG: Solving for p_rgh, Initial residual = 6.59936e-09, Final residual = 6.59936e-09, No Iterations 0

GAMG: Solving for p_rgh, Initial residual = 6.61102e-09, Final residual = 6.61102e-09, No Iterations 0

GAMGPCG: Solving for p_rgh, Initial residual = 6.61138e-09, Final residual = 6.61138e-09, No Iterations 0

smoothSolver: Solving for omega, Initial residual = 5.4048e-06, Final residual = 6.75835e-10, No Iterations 2

smoothSolver: Solving for k, Initial residual = 9.03591e-06, Final residual = 2.43949e-09, No Iterations 2

ExecutionTime = 97153.3 s ClockTime = 98393 s

Max pressure: 323086

Min pressure: -35072.5

Max velocity: 28.9586

Min velocity: 0

Courant Number mean: 0.00779459 max: 0.0996774

deltaT = 3.50877e-08

Time = 0.01051926

smoothSolver: Solving for alpha.water, Initial residual = 4.11863e-06, Final residual = 3.80331e-09, No Iterations 1

Phase-1 volume fraction = 0.986119 Min(alpha1) = 0.000310159 Max(alpha1) = 1

MULES: Correcting alpha.water

MULES: Correcting alpha.water

Liquid phase volume fraction = 0.986119 Min(alpha1) = 0.000310159 Max(alpha1) = 1

smoothSolver: Solving for Ux, Initial residual = 1.98021e-05, Final residual = 1.02634e-09, No Iterations 2

smoothSolver: Solving for Uy, Initial residual = 5.44207e-06, Final residual = 1.94729e-10, No Iterations 2

smoothSolver: Solving for Uz, Initial residual = 8.84228e-05, Final residual = 3.80449e-09, No Iterations 2

GAMG: Solving for p_rgh, Initial residual = 2.58283e-08, Final residual = 1.86337e-10, No Iterations 1

[5] #0 Foam::error::printStack(Foam::Ostream&) at ??:?

[5] #1 Foam::sigFpe::sigHandler(int) at ??:?

[5] #2 in "/lib/x86_64-linux-gnu/libc.so.6"

[5] #3 Foam::divide(Foam::Field&, Foam::UList const&, Foam::UList const&) at ??:?

[5] #4 Foam::tmp Foam::operator/(Foam::tmp const&, Foam::tmp const&) at ??:?

[5] #5 Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::pCoeff(Foam::GeometricField const&) const at ??:?

[5] #6 Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::mDotP() const at ??:?

[5] #7 Foam::phaseChangeTwoPhaseMixture::vDotP() const at ??:?

[5] #8

[5] at ??:?

[5] #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"

[5] #10

[5] at ??:?

[baris-desktop:10415] *** Process received signal ***

[baris-desktop:10415] Signal: Floating point exception (8)

[baris-desktop:10415] Signal code: (-6)

[baris-desktop:10415] Failing at address: 0x3e8000028af

[baris-desktop:10415] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7ff21608cd40]

[baris-desktop:10415] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7ff21608ccc9]

[baris-desktop:10415] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7ff21608cd40]

[baris-desktop:10415] [ 3] /home/baris/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_5UListIdEES6_+0xd5) [0x7ff21734cc05]

[baris-desktop:10415] [ 4] /home/baris/OpenFOAM/baris-2.3.1/platforms/linux64GccDPOpt/lib/libphaseChangeTwoPhaseMixtures.so(_ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKS8_SA_+0x19b) [0x7ff21ae2aaab]

[baris-desktop:10415] [ 5] /home/baris/OpenFOAM/baris-2.3.1/platforms/linux64GccDPOpt/lib/libphaseChangeTwoPhaseMixtures.so(_ZNK4Foam27phaseChangeTwoPhaseMixtures12SchnerrSauer6pCoeffERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEE+0x33c) [0x7ff21ae2f3cc]

[baris-desktop:10415] [ 6] /home/baris/OpenFOAM/baris-2.3.1/platforms/linux64GccDPOpt/lib/libphaseChangeTwoPhaseMixtures.so(_ZNK4Foam27phaseChangeTwoPhaseMixtures12SchnerrSauer5mDotPEv+0xff) [0x7ff21ae2ff8f]

[baris-desktop:10415] [ 7] /home/baris/OpenFOAM/baris-2.3.1/platforms/linux64GccDPOpt/lib/libphaseChangeTwoPhaseMixtures.so(_ZNK4Foam26phaseChangeTwoPhaseMixture5vDotPEv+0xa2) [0x7ff21ae18242]

[baris-desktop:10415] [ 8] MRinterPhaseChangeFoam() [0x431350]

[baris-desktop:10415] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ff216077ec5]

[baris-desktop:10415] [10] MRinterPhaseChangeFoam() [0x433792]

[baris-desktop:10415] *** End of error message ***

When I check the results of Pressure, velocity and α distributions seem OK? What I did is:

==> Run the case single and parallel (nothing changed same problem)

==> Increased the mesh number gradually (Still same problem)

==> Change initial conditions, schemes of k and omega (nothing changed)

==>Tried with RNGkeps model. (Fortunately it worked)

==>As a result, i recognized that I am getting this floating error since Omega value is excessively high. 

So, does anyone have any idea why it happens? By the way, is there anyone who already obtained good result with kOmegaSST using multiphase solvers of OpenFOAM?

Thanks in advance.

Baris

Similar questions and discussions