CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   openfoam eror (https://www.cfd-online.com/Forums/main/239069-openfoam-eror.html)

saicharan662000@gmail.com October 19, 2021 07:34

openfoam eror
 
i am solving air and water mixture using interFoam solver using compressible interfom test case(depth charge 2D).
I didn't understand the error I got. can anyone help me regarding this error.
I am attaching the files below.
Create time

Create mesh for time = 0


PIMPLE: No convergence criteria found


PIMPLE: No corrector convergence criteria found
Calculations will do 2 corrections


PIMPLE: Operating solver in transient mode with 2 outer correctors


Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
Selecting laminar stress model Stokes

Reading g

Reading hRef
Calculating field g.h

No MRF models present

No finite volume options present
GAMGPCG: Solving for pcorr, Initial residual = 1, Final residual = 5.7547193e-06, No Iterations 19
time step continuity errors : sum local = 0.003950958, global = -1.7391304e-06, cumulative = -1.7391304e-06
Courant Number mean: 0.0040870852 max: 0.063914988

Starting time loop

Courant Number mean: 0.0040870852 max: 0.063914988
Interface Courant Number mean: 0 max: 0
deltaT = 0.00011904762
Time = 0.000119047619

PIMPLE: Iteration 1
MULES: Solving for alpha.water
Phase-1 volume fraction = 0.86956625 Min(alpha.water) = 0 Max(alpha.water) = 1.0504699
MULES: Solving for alpha.water
Phase-1 volume fraction = 0.86956729 Min(alpha.water) = 0 Max(alpha.water) = 1.099891
GAMG: Solving for p_rgh, Initial residual = 1, Final residual = 3.2933494e+38, No Iterations 1000
time step continuity errors : sum local = 7.7972453e+35, global = 1.0611186e+22, cumulative = 1.0611186e+22
GAMGPCG: Solving for p_rgh, Initial residual = 1.0405737e-10, Final residual = 1.0405737e-10, No Iterations 0
time step continuity errors : sum local = 7.9042869e+35, global = 1.0434781e+22, cumulative = 2.1045967e+22
PIMPLE: Iteration 2
MULES: Solving for alpha.water
Phase-1 volume fraction = -5.3073264e+21 Min(alpha.water) = -9.3851186e+35 Max(alpha.water) = 9.447862e+35
MULES: Solving for alpha.water
Phase-1 volume fraction = -3.6251029e+36 Min(alpha.water) = -8.6122374e+56 Max(alpha.water) = 5.1339295e+56
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::DICPreconditioner::calcReciprocalD(Foam::Fie ld<double>&, Foam::lduMatrix const&) at ??:?
#4 Foam::DICSmoother::DICSmoother(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&) at ??:?
#5 Foam::lduMatrix::smoother::addsymMatrixConstructor ToTable<Foam::DICSmoother>::New(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&) at ??:?
#6 Foam::lduMatrix::smoother::New(Foam::word const&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::dictionary const&) at ??:?
#7 Foam::GAMGSolver::initVcycle(Foam::PtrList<Foam::F ield<double> >&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::lduMatrix::smoother>&, Foam::Field<double>&, Foam::Field<double>&) const at ??:?
#8 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#9 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#10 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/interFoam"
#11 Foam::fvMatrix<double>::solve() in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/interFoam"
#12 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/interFoam"
#13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#14 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/interFoam"
Floating point exception (core dumped)

LuckyTran October 19, 2021 12:46

The solver was more-or-less setup successfully and it tried to do its first iteration. It eventually hit a floating point error but the residuals are not looking so good so it probably just diverged.

saicharan662000@gmail.com October 20, 2021 00:44

Can you please tell me what should I do to get solution converge.


All times are GMT -4. The time now is 05:55.