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

Epsilon and k diverging using simpleFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2024, 12:07
Default Epsilon and k diverging using simpleFoam
  #1
New Member
 
Join Date: Jan 2021
Posts: 9
Rep Power: 6
denis08 is on a distinguished road
Hello,


I am running a case using simpleFoam with a k-epsilon turbulence model, on a submarine stl geometry(named "hull" in my case). However, values of epsilon and k diverge quickly (after 5 iterations). I already check the mesh and tried to change the value of the time step but it doesnt solve my issue.



Has anyone an idea on how to solve my problem?


My files for k, epsilon, P, U and nut are:


k:

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0.00015;

boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
"(hull|top|bottom|side|side2)"
{
type kqRWallFunction;
value $internalField;
}

outlet
{
type zeroGradient;
}
}


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

internalField uniform 0.00025;

boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}

"(hull|top|bottom|side|side2)"
{
type epsilonWallFunction;
value $internalField;
Cmu 0.09;
kappa 0.41;
E 9.8;
}


outlet
{
type zeroGradient;
}
}


nut:
dimensions [0 2 -1 0 0 0 0];

internalField uniform 5e-07;

boundaryField
{
"(hull|top|bottom|side|side2)"
{
type nutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value $internalField;
}


inlet
{
type calculated;
value $internalField;
}

outlet
{
type calculated;
value $internalField;
}
}


P:
dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
outlet
{

type fixedValue;
value $internalField;
}

inlet
{
type zeroGradient;
}

top
{
type zeroGradient;
}

bottom
{
type zeroGradient;
}

side
{
type zeroGradient;
}

side2
{
type zeroGradient;
}


hull
{
type zeroGradient;
}

}


U:
dimensions [0 1 -1 0 0 0 0];

internalField uniform (10 0 0);





boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}


outlet
{
type pressureInletOutletVelocity;
value $internalField;
}

"(hull|top|bottom|side|side2)"
{
type fixedValue;
value uniform (0 0 0);
}

}






Thanks for your help
denis08 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
SimpleFoam bounded k and epsilon always diverging Deagle OpenFOAM Running, Solving & CFD 2 October 20, 2017 12:33
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 08:30
k and epsilon diverging in MRFSimpleFOAM shyam OpenFOAM Running, Solving & CFD 1 April 8, 2013 08:03
Problem with SimpleFoam for a solution around an OneraM6 wing gara1988 OpenFOAM Running, Solving & CFD 3 November 13, 2012 05:47
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 20:21


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