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/)
-   -   stop when everything seems fine. (http://www.cfd-online.com/Forums/openfoam-solving/112961-stop-when-everything-seems-fine.html)

immortality February 8, 2013 13:01

stop when everything seems fine.
 
I dont see anything wrong with results untill the crash has occur.what maybe the cause?is with groovyBC ?
Code:

Time = 0.000120836

Courant Number mean: 0.001023922345 max: 0.04374793226
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 5.504876622e-05, Final residual = 4.373999778e-19, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0002032415427, Final residual = 3.949532773e-18, No Iterations 2
DILUPBiCG:  Solving for e, Initial residual = 3.419281912e-05, Final residual = 6.331384027e-19, No Iterations 2
DILUPBiCG:  Solving for p, Initial residual = 5.515325061e-05, Final residual = 7.192691256e-19, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.473732841e-16, global = -4.225627123e-18, cumulative = 3.742479723e-16
DILUPBiCG:  Solving for p, Initial residual = 2.800155328e-07, Final residual = 1.693755659e-21, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.47009928e-16, global = -9.869623835e-19, cumulative = 3.7326101e-16
DILUPBiCG:  Solving for p, Initial residual = 2.428784454e-10, Final residual = 5.318326889e-17, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.673742663e-16, global = 4.530657575e-18, cumulative = 3.777916675e-16
DILUPBiCG:  Solving for p, Initial residual = 1.418169007e-12, Final residual = 1.929659417e-19, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.476508751e-16, global = -5.258405996e-18, cumulative = 3.725332615e-16
ExecutionTime = 3.66 s  ClockTime = 3 s

Time = 0.000120842

Courant Number mean: 0.001024206977 max: 0.05264852651
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 5.670157194e-05, Final residual = 4.446165059e-19, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0002066156249, Final residual = 3.982058742e-18, No Iterations 2
DILUPBiCG:  Solving for e, Initial residual = 3.440204969e-05, Final residual = 6.290890187e-19, No Iterations 2
DILUPBiCG:  Solving for p, Initial residual = 5.732601407e-05, Final residual = 7.108293085e-19, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.554508056e-16, global = -3.488710099e-18, cumulative = 3.690445514e-16
DILUPBiCG:  Solving for p, Initial residual = 3.706591573e-07, Final residual = 2.250327233e-21, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.479176491e-16, global = -1.902286295e-18, cumulative = 3.671422651e-16
DILUPBiCG:  Solving for p, Initial residual = 3.397903998e-10, Final residual = 6.177874668e-17, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.739260337e-16, global = 2.269189376e-17, cumulative = 3.898341589e-16
DILUPBiCG:  Solving for p, Initial residual = 4.16147317e-12, Final residual = 5.345574365e-19, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.51201355e-16, global = -1.061048033e-19, cumulative = 3.897280541e-16
ExecutionTime = 3.68 s  ClockTime = 4 s

Time = 0.000120848

Courant Number mean: 0.001024608383 max: 0.06566024322
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 5.907151955e-05, Final residual = 4.545876257e-19, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0002112487462, Final residual = 4.046066203e-18, No Iterations 2
DILUPBiCG:  Solving for e, Initial residual = 3.468774313e-05, Final residual = 6.288684329e-19, No Iterations 2
DILUPBiCG:  Solving for p, Initial residual = 6.18168438e-05, Final residual = 7.726575933e-19, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.574412144e-16, global = 7.69176497e-19, cumulative = 3.904972306e-16
DILUPBiCG:  Solving for p, Initial residual = 5.240607118e-07, Final residual = 3.912855611e-21, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.577831804e-16, global = 1.55352265e-18, cumulative = 3.920507532e-16
DILUPBiCG:  Solving for p, Initial residual = 1.005213176e-09, Final residual = 4.479542065e-16, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 3.115111283e-16, global = 2.20080198e-17, cumulative = 4.14058773e-16
DILUPBiCG:  Solving for p, Initial residual = 1.889910265e-11, Final residual = 2.251304646e-18, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.547149489e-16, global = -3.829363418e-18, cumulative = 4.102294096e-16
ExecutionTime = 3.7 s  ClockTime = 4 s

Time = 0.000120853

Courant Number mean: 0.00102524862 max: 0.08669320319
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 6.251791224e-05, Final residual = 4.57875737e-19, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0002169804093, Final residual = 4.18762805e-18, No Iterations 2
DILUPBiCG:  Solving for e, Initial residual = 3.508818901e-05, Final residual = 6.312231328e-19, No Iterations 2
DILUPBiCG:  Solving for p, Initial residual = 7.67585242e-05, Final residual = 1.067858283e-18, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.481604195e-16, global = -3.097635578e-19, cumulative = 4.099196461e-16
DILUPBiCG:  Solving for p, Initial residual = 8.799058308e-07, Final residual = 1.077387383e-20, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.550555134e-16, global = 2.430109986e-18, cumulative = 4.12349756e-16
DILUPBiCG:  Solving for p, Initial residual = 7.990580615e-09, Final residual = 2.920106046e-22, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.486307414e-16, global = 2.001819877e-18, cumulative = 4.143515759e-16
DILUPBiCG:  Solving for p, Initial residual = 3.098076285e-10, Final residual = 3.341018439e-17, No Iterations 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 1.59883537e-16, global = 5.059626243e-18, cumulative = 4.194112022e-16
ExecutionTime = 3.73 s  ClockTime = 4 s

Time = 0.000120859

Courant Number mean: 0.001026595249 max: 0.1290274814
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 6.635561151e-05, Final residual = 4.666991659e-19, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0002216138559, Final residual = 4.579457386e-18, No Iterations 2
DILUPBiCG:  Solving for e, Initial residual = 3.55752718e-05, Final residual = 6.376383579e-19, No Iterations 2
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4  Foam::sqrt(Foam::UList<double> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5  parserPatch::PatchValueExpressionParser::parse() in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so"
#6  Foam::PatchValueExpressionDriver::parse(std::string const&) in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so"
#7  Foam::groovyBCFvPatchField<double>::updateCoeffs() in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so"
#8  at gaussLaplacianSchemes.C:0
#9  Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacianUncorrected(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#10  Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#11  Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#12  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
#13  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
#14
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
#15  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#16
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
Floating point exception

gnuplot> set terminal png small color
                                ^
        line 0: invalid color spec, must be xRRGGBB


gnuplot> set terminal png small color
                                ^
        line 0: invalid color spec, must be xRRGGBB


gnuplot> set terminal png small color
                                ^
        line 0: invalid color spec, must be xRRGGBB

ehsan@Ehsan-com:~/Desktop/WR_sonicFoam$


gschaider February 10, 2013 07:35

Quote:

Originally Posted by immortality (Post 406773)
I dont see anything wrong with results untill the crash has occur.what maybe the cause?is with groovyBC ?
Code:

Time = 0.000120859

Courant Number mean: 0.001026595249 max: 0.1290274814
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 6.635561151e-05, Final residual = 4.666991659e-19, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0002216138559, Final residual = 4.579457386e-18, No Iterations 2
DILUPBiCG:  Solving for e, Initial residual = 3.55752718e-05, Final residual = 6.376383579e-19, No Iterations 2
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4  Foam::sqrt(Foam::UList<double> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5  parserPatch::PatchValueExpressionParser::parse() in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so"
#6  Foam::PatchValueExpressionDriver::parse(std::string const&) in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so"
#7  Foam::groovyBCFvPatchField<double>::updateCoeffs() in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so"
#8  at gaussLaplacianSchemes.C:0
#9  Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacianUncorrected(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#10  Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#11  Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#12  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
#13  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
#14
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
#15  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#16
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam"
Floating point exception


I'd say "careless usage of groovyBC". My bet is that for some reason the argument you give to sqrt is negative somewhere


All times are GMT -4. The time now is 22:28.