CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   HELP PLS: Simplefoam manipulated to add diffusive mass transport...but solver stops!! (http://www.cfd-online.com/Forums/openfoam-solving/79135-help-pls-simplefoam-manipulated-add-diffusive-mass-transport-but-solver-stops.html)

1gn0rant August 13, 2010 11:01

HELP PLS: Simplefoam manipulated to add diffusive mass transport...but solver stops!!
 
I am quite new to openfoam, I changd the simpleFoam to create a solver which adds diffusive mass transport into it....but the process fails and stops after t=4, can u pls tell me what this error message is all abt and a possible solution as well??? PLS!!!!

ign0rant@ubuntu:~/OpenFOAM/ign0rant-1.7.0/run/tutorials/incompressible/simpleFoam/fuelcell2$ fcFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.0-113391ee57bd
Exec : fcFoam
Date : Aug 13 2010
Time : 15:54:09
Host : ubuntu
PID : 10510
Case : /home/ign0rant/OpenFOAM/ign0rant-1.7.0/run/tutorials/incompressible/simpleFoam/fuelcell2
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading field c

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model laminar

Starting time loop

Time = 1

smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.018675, No Iterations 4
smoothSolver: Solving for Uy, Initial residual = 0.000167428, Final residual = 6.28015e-06, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 0.000157778, Final residual = 7.31083e-06, No Iterations 2
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0393727, No Iterations 6
time step continuity errors : sum local = 4.14449, global = -0.774885, cumulative = -0.774885
GAMG: Solving for c, Initial residual = 1, Final residual = 0.0128647, No Iterations 1
ExecutionTime = 0.35 s ClockTime = 0 s

Time = 2

smoothSolver: Solving for Ux, Initial residual = 0.53059, Final residual = 0.0289972, No Iterations 4
smoothSolver: Solving for Uy, Initial residual = 0.561309, Final residual = 0.0333647, No Iterations 4
smoothSolver: Solving for Uz, Initial residual = 0.478922, Final residual = 0.0111037, No Iterations 4
GAMG: Solving for p, Initial residual = 0.00476472, Final residual = 0.000203765, No Iterations 3
time step continuity errors : sum local = 2.22246, global = 0.355044, cumulative = -0.41984
GAMG: Solving for c, Initial residual = 0.469013, Final residual = 0.00866196, No Iterations 1
ExecutionTime = 0.46 s ClockTime = 0 s

Time = 3

smoothSolver: Solving for Ux, Initial residual = 0.223772, Final residual = 0.0131071, No Iterations 4
smoothSolver: Solving for Uy, Initial residual = 0.239431, Final residual = 0.0152183, No Iterations 4
smoothSolver: Solving for Uz, Initial residual = 0.404345, Final residual = 0.0130645, No Iterations 4
GAMG: Solving for p, Initial residual = 0.00967116, Final residual = 0.000262544, No Iterations 6
time step continuity errors : sum local = 2.78849, global = 0.546838, cumulative = 0.126998
GAMG: Solving for c, Initial residual = 0.280982, Final residual = 0.00714492, No Iterations 1
ExecutionTime = 0.59 s ClockTime = 1 s

Time = 4

smoothSolver: Solving for Ux, Initial residual = 0.0437266, Final residual = 0.00183416, No Iterations 4
smoothSolver: Solving for Uy, Initial residual = 0.0471861, Final residual = 0.00227283, No Iterations 4
smoothSolver: Solving for Uz, Initial residual = 0.270845, Final residual = 0.00968591, No Iterations 4
GAMG: Solving for p, Initial residual = 0.0206642, Final residual = 0.00061439, No Iterations 6
time step continuity errors : sum local = 2.06548, global = 0.3644, cumulative = 0.491398
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::GAMGSolver::solveCoarsestLevel(Foam::Field<d ouble>&, Foam::Field<double> const&) const in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#5 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMa trix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#6 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#8
in "/home/ign0rant/OpenFOAM/ign0rant-1.7.0/applications/bin/linux64GccDPOpt/fcFoam"
#9 __libc_start_main in "/lib/libc.so.6"
#10
in "/home/ign0rant/OpenFOAM/ign0rant-1.7.0/applications/bin/linux64GccDPOpt/fcFoam"
Floating point exception

1gn0rant August 13, 2010 11:02

small correction, it doesn't actually fail, it runs, but stops at t=4, everytime....


All times are GMT -4. The time now is 17:23.