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

core dumped, please help me. :)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2021, 11:30
Post core dumped, please help me. :)
  #1
New Member
 
Dylan
Join Date: Oct 2021
Posts: 3
Rep Power: 5
dybull is on a distinguished road
When running simpleFoam i am getting a floating point exception (core dummped message)


#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
#4 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::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
#5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#8 Foam::fvMatrix<double>::solve() in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#9 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
Floating point exception (core dumped)

I cant figure out where i am going wrong. When running check mesh i also get one failure but cant figure out where it is.


I have attached all the files i am using for the problem in the this mod_8 zip. and also attached the files i think are needed for use.
i deleted the polymesh so blockMesh will need to be run.
Attached Files
File Type: zip mod_8.zip (11.2 KB, 3 views)
dybull is offline   Reply With Quote

Old   October 30, 2021, 10:21
Default
  #2
Member
 
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 47
Rep Power: 6
Lorenzo210 is on a distinguished road
Hi,
From lines #3 and #5 it seems that the simulation stopped due to the GAMG solver. Try using smoother DICGaussSiedel instead of gaussSiedel for p in fvSolution.
If it doesn't work, try with PCG solver instead of GAMG, and preconditioner DIC. Let me know if something changes.
Regards,
Lorenzo
Lorenzo210 is offline   Reply With Quote

Old   October 30, 2021, 12:30
Default
  #3
New Member
 
Dylan
Join Date: Oct 2021
Posts: 3
Rep Power: 5
dybull is on a distinguished road
Lorenzo,
I did as you said for both cases the first one did not solve either, only doing two time iterations. I will include the error message i receive here: (GAMG, DICGaussSiedel)



#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
#4 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::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
#5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#8 Foam::fvMatrix<double>::solve() in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#9 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
Floating point exception (core dumped)




for the PCG and DIC it ran for about 5 time iterations and then stopped. below is the core cumped message:
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 double Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#5 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#6 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#7 Foam::fvMatrix<double>::solve() in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#8 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
Floating point exception (core dumped)
dybull is offline   Reply With Quote

Reply

Tags
core dumped, openfaom


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
[OpenFOAM] Paraview segmentation fault core dumped GLfast80 ParaView 0 March 13, 2021 13:53
[foam-extend.org] core dumped for foam extended 3.2 on Ubuntu 16.04 qjh888 OpenFOAM Installation 9 September 27, 2016 17:39
Floating point exception (core dumped) in icoFsiFoam viraj20feb OpenFOAM 2 September 17, 2016 03:05
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36


All times are GMT -4. The time now is 13:41.