|
[Sponsors] |
facing high courant number while running the case in OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 10, 2012, 07:43 |
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 |
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; } } // ************************************************** *********************** // |
|
July 30, 2012, 05:23 |
|
#2 |
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 |
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 |
|
|
|
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 |