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

Floating point exception k epsilon model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2021, 16:55
Default Floating point exception k epsilon model
  #1
New Member
 
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4
thibogoddef is on a distinguished road
Hello all,

Im running a flow simulation across an airfoil using the k epsilon model. With an inlet speed of 20m/s and I=0.05 I calculated k and epsilon. During the simulation I get an floating point error which i can not lose. The checkmesh function says the mesh is ok.

My k file:
dimensions [0 2 -2 0 0 0 0];

internalField uniform 1.5;

boundaryField
{
inlet
{
type fixedValue;
value uniform 1.5;
}
outlet
{
type zeroGradient;
}
airfoil
{
type kqRWallFunction;
value uniform 1.5;
}
frontAndBackPlanes
{
type empty;
}
}

my epsilon file:
dimensions [0 2 -3 0 0 0 0];

internalField uniform 0.30187;

boundaryField
{
inlet
{
type fixedValue;
value uniform 0.30187;
}
outlet
{
type zeroGradient;
}
airfoil
{
type epsilonWallFunction;
value uniform 0.30187;

frontAndBackPlanes
{
type empty;
}
}

for p all the boundries are set to fixedValue =0.

How can I solve this floating point error?

Kind regards TG
thibogoddef is offline   Reply With Quote

Old   August 21, 2021, 01:40
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
> for p all the boundries are set to fixedValue =0.

This cannot be reached in finite areas.Set zero gradient at the inlet and at the airfoil.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   August 21, 2021, 09:41
Default
  #3
New Member
 
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4
thibogoddef is on a distinguished road
Hello Piu58

Thanks for the reply. After changing these setting the solution converges until it reaches 10 iterations after this there is a large jump and I get a new floating point error.

Do you have any idea how this could come?

Kind regads TG
thibogoddef 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
Transonic Diffuser Case: Floating Point Exception Saleh Abuhanieh OpenFOAM Running, Solving & CFD 26 April 8, 2023 05:55
Floating Point exception (core dumped) chtMultiRegionFoam ayu12 OpenFOAM Running, Solving & CFD 1 October 12, 2021 11:31
Floating Point Exception - Mesh Related?? edomalley1 OpenFOAM Running, Solving & CFD 2 November 8, 2018 11:30
A floating point exception has occurred: floating point exception [Overflow]. starlight STAR-CCM+ 4 May 4, 2016 09:08
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27


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