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

Floating point error occures when lowering deltaT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2024, 07:47
Default Floating point error occures when lowering deltaT
  #1
New Member
 
Oliver vG
Join Date: May 2024
Posts: 5
Rep Power: 2
nuzzknacker is on a distinguished road
Hey everyone,

I'm pretty new to openFOAM and CFD in general and therefore some things still confuse me a lot.

I have an issue with a simulation of a stirred water vessel with an air-water interface. It works when I have an initial timestep of 1e-4 and higher in my controlDict but when I set deltaT to anything lower than this (e.g. 1e-5) I get a floating point exception more or less right away.

My simulation setup is far from ideal since also with a timestep of 1e-4 I get a floating point exception after simulating around 1.6 seconds. But still, it confuses me a lot that it basically doesn't work at all when lowering the time step.

If anybody has experienced something similar or has an idea what the issue could be it would be highly appreciated.

I attached my case and the logs for deltaT 1e-5 and here is the error message I get after two time steps:

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 ? in "/lib/x86_64-linux-gnu/libm.so.6"
#4 powf64 in "/lib/x86_64-linux-gnu/libm.so.6"
#5 Foam:ow(Foam::Field<double>&, Foam::UList<double> const&, double const&) at ??:?
#6 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:ow<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::dimensioned<double> const&) at ??:?
#7 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:ow<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, double const&) at ??:?
#8 Foam::diameterModels::isothermal::correct() at ??:?
#9 Foam:haseSystem::correct() at ??:?
#10 Foam::PhaseTransferPhaseSystem<Foam::OneResistance HeatTransferPhaseSystem<Foam::MomentumTransferPhas eSystem<Foam:haseSystem> > >::correct() at ??:?
#11 Foam::solvers::multiphaseEuler:rePredictor() at ??:?
#12 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun"
#13 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#14 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#15 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun"
Floating point exception

log.1e-5.txt
nuzzknacker is offline   Reply With Quote

Reply

Tags
decreasing dt, deltat, floating point expection


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
Floating Point exception (core dumped) chtMultiRegionFoam ayu12 OpenFOAM Running, Solving & CFD 1 October 12, 2021 11:31
[blockMesh] Floating Point Exception while generating wedge based mesh jns-v OpenFOAM Meshing & Mesh Conversion 9 July 8, 2021 05:36
Error: Floating Point Exception. How do I fix this? Ryan T FLUENT 16 July 30, 2020 18:52
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 06:51
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53


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