CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error in tutorial cavitatingFoam v.2.3.x

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2015, 08:47
Default Error in tutorial cavitatingFoam v.2.3.x
  #1
Member
 
alvaro
Join Date: Apr 2015
Posts: 33
Rep Power: 10
alvariten is on a distinguished road
Hi,
First all, I don't know if this is the ideal thread because I don't know if this is a bug, concept problem... The point is that I'm testing the cavitatingFoam case for a future work of diesel injector nozzle and when I run the case from tutorial without make any change it crash at Time = 2.08487e-05.

Code:
phiv Courant Number mean: 0.00574103 max: 0.500512 acoustic max: 5.2224
deltaT = 2.28102e-08
Time = 2.08259e-05

smoothSolver:  Solving for rho, Initial residual = 0.000790368, Final residual = 3.58069e-09, No Iterations 2
max-min rho: 845.657 0.0180387
max-min alphav: 0.999992 0
smoothSolver:  Solving for Ux, Initial residual = 0.000351645, Final residual = 8.28398e-10, No Iterations 3
smoothSolver:  Solving for Uy, Initial residual = 0.0034774, Final residual = 1.94786e-09, No Iterations 3
max(U) 215.947
GAMG:  Solving for p, Initial residual = 0.00102808, Final residual = 1.71679e-05, No Iterations 1
Predicted p max-min : 3.13184e+07 -318818
max-min alphav: 0.999974 0
Phase-change corrected p max-min : 3.13184e+07 4500
max(U) 215.95
GAMG:  Solving for p, Initial residual = 0.000153452, Final residual = 6.29048e-06, No Iterations 1
Predicted p max-min : 3.13184e+07 -283492
max-min alphav: 1 0
Phase-change corrected p max-min : 3.13184e+07 2264.36
max(U) 215.951
GAMG:  Solving for p, Initial residual = 9.84321e-05, Final residual = 7.85055e-09, No Iterations 6
Predicted p max-min : 3.13184e+07 -265723
max-min alphav: 1 0
Phase-change corrected p max-min : 3.13184e+07 2851.08
max(U) 215.951
smoothSolver:  Solving for omega, Initial residual = 9.51876e-05, Final residual = 7.86024e-10, No Iterations 3
smoothSolver:  Solving for k, Initial residual = 0.000332673, Final residual = 1.05947e-09, No Iterations 3
ExecutionTime = 121.48 s  ClockTime = 122 s

phiv Courant Number mean: 0.00574191 max: 0.500539 acoustic max: 5.21638
deltaT = 2.27839e-08
Time = 2.08487e-05

smoothSolver:  Solving for rho, Initial residual = 0.000782497, Final residual = 3.60772e-09, No Iterations 2
max-min rho: 845.651 0.0115222
max-min alphav: 1 0
smoothSolver:  Solving for Ux, Initial residual = 0.000351904, Final residual = 8.26485e-10, No Iterations 3
smoothSolver:  Solving for Uy, Initial residual = 0.00348698, Final residual = 1.98777e-09, No Iterations 3
max(U) 216.232
GAMG:  Solving for p, Initial residual = 0.00133979, Final residual = 5.00356e-05, No Iterations 1
Predicted p max-min : 3.13056e+07 -3.24163e+06
max-min alphav: 1 0
Phase-change corrected p max-min : 3.13056e+07 400
max(U) 224.401
GAMG:  Solving for p, Initial residual = 0.000204174, Final residual = 9.39404e-06, No Iterations 1
Predicted p max-min : 3.13056e+07 -617320
max-min alphav: 1 0
Phase-change corrected p max-min : 3.13056e+07 400
max(U) 216.236
GAMG:  Solving for p, Initial residual = 0.000112481, Final residual = 6.19127e-09, No Iterations 6
Predicted p max-min : 3.13056e+07 -457522
max-min alphav: 1 0
Phase-change corrected p max-min : 3.13056e+07 400
max(U) 331.962
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4  Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/cavitatingFoam"
#8  Foam::fvMatrix<double>::solve() in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/cavitatingFoam"
#9  Foam::incompressible::RASModels::kOmegaSST::correct() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#10  
 in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/cavitatingFoam"
#11  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12  
 in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/cavitatingFoam"
Floating point exception (core dumped)
Both, residual values like max and min values seems fine for me. So where it can be the problem?

Thanks in advance.
alvariten is offline   Reply With Quote

Old   May 16, 2015, 12:01
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Alvaro,

According to the output you've provided, you are using OpenFOAM 2.3.0, not 2.3.x.
And you've mentioned that you executed one of OpenFOAM's tutorials, but you did not specify which exact one. Because in the folder "tutorials/multiphase/cavitatingFoam", there are all of these:
Code:
├── les
│   ├── throttle
│   └── throttle3D
└── ras
    └── throttle
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 16, 2015, 14:05
Default
  #3
Member
 
alvaro
Join Date: Apr 2015
Posts: 33
Rep Power: 10
alvariten is on a distinguished road
Hi Bruno,
Sorry for my bad description. I'm a noob yet and I will try to be more rigorous next time. Returning to the case, I tested the RAS model and then LES model (2D), but now both run correctly. I just had to low the maxCo and maxAcousticCo. Now I'm trying out my own geometry and seem it works fine.
regards,
Alvaro
alvariten is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 06:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 17:01
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 04:25
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 10:41


All times are GMT -4. The time now is 08:51.