CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Error in turbulent flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2024, 10:48
Default Error in turbulent flow
  #1
New Member
 
Charalampia Filippatou
Join Date: Apr 2024
Posts: 3
Rep Power: 2
HaraF is on a distinguished road
Hello! I'm reaching out to the cfd community for help with a case. I'm trying to simulate the flow around the onera-m6 wing with turbulence model. However I'm getting the same error:
[1] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[1] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 ? in "/lib/x86_64-linux-gnu/libm.so.6"
[1] #4 Foam::hePsiThermo<Foam:siThermo::composite, Foam:ureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam:erfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:?
[1] #5 virtual thunk to Foam::hePsiThermo<Foam:siThermo::composite, Foam:ureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam:erfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:?
[1] #6 Foam::solvers::fluid::thermophysicalPredictor() at ??:?
[1] #7 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun"
[1] #8 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #10 ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/foamRun"
[optiplex:712320] *** Process received signal ***
[optiplex:712320] Signal: Floating point exception (8)
[optiplex:712320] Signal code: (-6)
[optiplex:712320] Failing at address: 0x3e8000ade80
[optiplex:712320] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x75da60e42520]
[optiplex:712320] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x75da60e969fc]
[optiplex:712320] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x75da60e42476]
[optiplex:712320] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x75da60e42520]
[optiplex:712320] [ 4] /lib/x86_64-linux-gnu/libm.so.6(+0x1349c)[0x75da6212c49c]
[optiplex:712320] [ 5] /opt/openfoam11/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so(_ZN4Foam11hePsiThe rmoINS_9psiThermo9compositeENS_11pureMixtureINS_19 sutherlandTransportINS_7species6thermoINS_12hConst ThermoINS_10perfectGasINS_6specieEEEEENS_22sensibl eInternalEnergyEEEEEEEE9calculateEv+0xe3d)[0x75da56836c3d]
[optiplex:712320] [ 6] /opt/openfoam11/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so(_ZTv0_n72_N4Foam11 hePsiThermoINS_9psiThermo9compositeENS_11pureMixtu reINS_19sutherlandTransportINS_7species6thermoINS_ 12hConstThermoINS_10perfectGasINS_6specieEEEEENS_2 2sensibleInternalEnergyEEEEEEEE7correctEv+0x35)[0x75da5683aa85]
[optiplex:712320] [ 7] /opt/openfoam11/platforms/linux64GccDPInt32Opt/lib/libfluid.so(_ZN4Foam7solvers5fluid23thermophysical PredictorEv+0x546)[0x75da5e03c686]
[optiplex:712320] [ 8] foamRun(+0x3fb8)[0x60162db52fb8]
[optiplex:712320] [ 9] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x75da60e29d90]
[optiplex:712320] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x75da60e29e40]
[optiplex:712320] [11] foamRun(+0x4765)[0x60162db53765]
[optiplex:712320] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 0 on node optiplex exited on signal 8 (Floating point exception).

Chat gpt suggested that i add the following lines to m controlDict:

equationOfState
{
rho rho;
}
specie
{
T 300;
Cp 1004.5;
}

Does anybody have an idea on how to fix the error and reach the wanted convergence?

Thank you in advance guys!
HaraF is offline   Reply With Quote

Old   July 30, 2024, 03:28
Default
  #2
Member
 
Join Date: May 2024
Location: France
Posts: 32
Rep Power: 2
rocketLauncher is on a distinguished road
Hi,

Openfoam sometimes gives floating point exceptions when the mesh quality is not good enough. Have you run checkMesh?

If the mesh is okay, I suggest you have a look at this: https://baramcfd.org/tutorials/2024/03/21/onera-post/

Baram flow is a really nice interface for OF. You can translate the page to English to check your settings with their tutorial. I hope this helps
rocketLauncher is offline   Reply With Quote

Reply


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
Ncrit for a glider Xfoil. How to use it. GPT4 answer AlanMattanó Main CFD Forum 0 April 10, 2023 12:16
Calculating the Reynolds Number of the largest eddies in a turbulent flow rdemyan Main CFD Forum 8 February 14, 2023 04:23
Why can i use a laminar solver for a turbulent flow? [Heat transfer problem] blackbow CFX 1 November 22, 2016 04:42
Difference between recirculation zone and turbulent flow region ashtonJ Main CFD Forum 0 September 16, 2011 03:46
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31


All times are GMT -4. The time now is 20:39.