CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Divergence of Courant Number (https://www.cfd-online.com/Forums/openfoam-pre-processing/148384-divergence-courant-number.html)

sh12922 February 10, 2015 20:25

Divergence of Courant Number
 
Hi,

I'm new to Openfoam and I'm having trouble running icoFoam. I've created my own blockmeshdict file which seems to be working well, and I haven't changed anything to the original tutorial U, p and transportproperties files. I've played around with lower initial U and different nu values which hasn't helped the problem. Could anyone suggest what the problem might be?

blockmeshdict
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(0 0 0) //0 Level 1
(210 0 0) //1
(210 1 0) //2
(0 1 0) //3

(100 0 0.5) //4 Level 2
(110 0 0.5) //5
(110 1 0.5) //6
(100 1 0.5) //7

(100 0 3.5) //8 Level 3
(110 0 3.5) //9
(110 1 3.5) //10
(100 1 3.5) //11

(0 0 4) //12 Level 4
(210 0 4) //13
(210 1 4) //14
(0 1 4) //15

);

blocks
(
hex (0 1 2 3 4 5 6 7) (420 1 420) simpleGrading (1 1 1)
hex (5 1 2 6 9 13 14 10) (420 1 420) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (420 1 420) simpleGrading (1 1 1)
hex (0 4 7 3 12 8 11 15) (420 1 420) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
movingWall
{
type wall;
faces
(
(0 1 2 3)
// (2 1 13 14)
(12 15 14 13)
(15 12 0 3)
);
}
fixedWalls
{
type wall;
faces
(
(7 6 5 4)
(5 6 10 9)
(7 4 8 11)
(8 9 10 11)
);
}
frontAndBack
{
type empty;
faces
(
(1 0 4 5)
(9 8 12 13)
(4 0 12 8)
(1 5 9 13)
(11 10 14 15)
(6 2 14 10)
(3 7 11 15)
(3 2 6 7)
);
}


outlet
{
type patch;
faces
(
(2 1 13 14)
);
}
);
// ************************************************** *********************** //


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