# stop when everything seems fine.

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 8, 2013, 13:01 stop when everything seems fine. #1 Senior Member     Ehsan Join Date: Oct 2012 Location: Iran Posts: 2,209 Rep Power: 20 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&, Foam::UList const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::sqrt(Foam::UList 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::updateCoeffs() in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so" #8 at gaussLaplacianSchemes.C:0 #9 Foam::fv::gaussLaplacianScheme::fvmLaplacianUncorrected(Foam::GeometricField const&, Foam::GeometricField const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #10 Foam::fv::gaussLaplacianScheme::fvmLaplacian(Foam::GeometricField const&, Foam::GeometricField const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #11 Foam::fv::laplacianScheme::fvmLaplacian(Foam::GeometricField const&, Foam::GeometricField const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #12 Foam::tmp > Foam::fvm::laplacian(Foam::GeometricField const&, Foam::GeometricField const&, Foam::word const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam" #13 Foam::tmp > Foam::fvm::laplacian(Foam::GeometricField const&, Foam::GeometricField 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\$```

February 10, 2013, 07:35
#2
Assistant Moderator

Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,045
Rep Power: 43
Quote:
 Originally Posted by immortality 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&, Foam::UList const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::sqrt(Foam::UList 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::updateCoeffs() in "/home/ehsan/OpenFOAM/ehsan-2.1.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so" #8 at gaussLaplacianSchemes.C:0 #9 Foam::fv::gaussLaplacianScheme::fvmLaplacianUncorrected(Foam::GeometricField const&, Foam::GeometricField const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #10 Foam::fv::gaussLaplacianScheme::fvmLaplacian(Foam::GeometricField const&, Foam::GeometricField const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #11 Foam::fv::laplacianScheme::fvmLaplacian(Foam::GeometricField const&, Foam::GeometricField const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #12 Foam::tmp > Foam::fvm::laplacian(Foam::GeometricField const&, Foam::GeometricField const&, Foam::word const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/sonicFoam" #13 Foam::tmp > Foam::fvm::laplacian(Foam::GeometricField const&, Foam::GeometricField 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
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Julie FLUENT 3 January 24, 2014 08:39 [swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 12:51 Farshad_Noravesh OpenFOAM 27 December 24, 2012 05:21 peterputer CFX 7 November 20, 2012 16:56 hda FLUENT 0 March 19, 2012 00:59

All times are GMT -4. The time now is 01:09.