CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

facing high courant number while running the case in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2012, 07:43
Default facing high courant number while running the case in OpenFOAM
  #1
New Member
 
Nikhil
Join Date: Jul 2012
Location: Dalhousie,H.P.
Posts: 3
Rep Power: 14
Nikhil Thakur is on a distinguished road
Hi,
I am trying to simulate the incompressible flow of water through a cylinder.The cylinder at its base have many small circular openings.I have made the mesh of required geometry through gmesh.But while executing the file in OpenFoam the courant number is becoming high.My pressure and velocity fields are as follows:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{ bottom
{
type fixedValue;
value uniform 1.4715;
}
top
{
type fixedValue;
value uniform 0;
}
wall1
{
type zeroGradient;
}
wall2
{
type zeroGradient;
}
wall3
{
type zeroGradient;
}
wall4
{
type zeroGradient;
}
}
// ************************************************** *********************** //
U FILE:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
bottom
{
type fixedValue;
value uniform (0 0 -.000004);
}
top
{
type fixedValue;
value uniform (0 0 0);
}
wall1
{
type zeroGradient;
}
wall2
{
type zeroGradient;
}
wall3
{
type zeroGradient;
}
wall4
{
type zeroGradient;
}
}
// ************************************************** *********************** //
Nikhil Thakur is offline   Reply With Quote

Old   July 30, 2012, 05:23
Default
  #2
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16
Anne Lincke is on a distinguished road
Hey,

you can control your Courant number automatically via a proper time step.
You just have to insert certain H-Files in your solver and add two parameters in your controlDict.
See this thread

http://www.cfd-online.com/Forums/ope...co-number.html

Kind Regards
Anne
Anne Lincke 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
RMS Courant Number vs MAX Courant Number zoozoozoo Main CFD Forum 3 June 12, 2012 14:44
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
Very high courant number, time step continuity errors and bounding epsilon erncyc OpenFOAM Running, Solving & CFD 1 March 24, 2011 12:00
LES near wall model & courant number kasim CFX 5 March 16, 2008 19:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24


All times are GMT -4. The time now is 06:35.