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

Simulation running but no fluid flow when using paraFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2019, 16:37
Default Simulation running but no fluid flow when using paraFoam
  #1
New Member
 
George Lindow
Join Date: May 2019
Posts: 3
Rep Power: 7
George2105 is on a distinguished road
Hey folks,

I am modelling a de leval nozzle into a box with a work-piece inside which is simulated by structuring walls inside the box. I have already run simulations without the work-piece which worked fine. I've kept all my BCs the same, all that has changed is the blockMeshDict file. However, the simulation runs fine but when viewing the solution in paraFoam, it shows that the fluid is not moving. I have changed the BCs where I think I may have been wrong and nothing has worked. No errors occur when running the simulation and being relatively new to OpenFOAM, cannot understand why this problem is occurring. I'll include my blockMeshDict and 0/ files below as well as uploading a .tar.gz folder with all of my files in.

Many thanks in advance,
George.

blockMeshDict
Code:
convertToMeters 0.001;

vertices
(
	(0     0      0)		//0
	(9.03  0      0)		//1
	(9.03  0     -1)		//2
	(0     0     -1)		//3
	(0     -3.45  0)		//4
	(9.03  -3.45  0)		//5
	(9.03  -3.45 -1)		//6
	(0     -3.45 -1)		//7
	(3.635 -17    0)		//8
	(5.395 -17    0)		//9
	(5.395 -17   -1)		//10
	(3.635 -17   -1)		//11


	(3.5   -18.5  0)		//12
	(5.53  -18.5  0)		//13
	(5.53  -18.5 -1)		//14
	(3.5   -18.5 -1)		//15


	(-1.5  -18.5  0)		//16
	(-1.5  -18.5 -1)		//17
	(-1.5  -38.5  0)		//18
	(-1.5  -38.5 -1)		//19
	(10.53 -18.5  0)		//20
	(10.53 -18.5 -1)		//21
	(10.53 -38.5  0)		//22
	(10.53 -38.5 -1)		//23
	(3.666471836 -19.65147186  0) 	//24
	(3.666471836 -19.65147186 -1) 	//25
	(3.666471836 -21.34852814  0) 	//26
	(3.666471836 -21.34852814 -1) 	//27
	(5.363528137 -21.34852814  0) 	//28
	(5.363528137 -21.34852814 -1) 	//29
	(5.363528137 -19.65147186  0) 	//30
	(5.363528137 -19.65147186 -1) 	//31
);

blocks
(
	hex (1 0 3 2 5 4 7 6)   	 (10 10 10)   simpleGrading (1 1 1)
	hex (5 4 7 6 9 8 11 10)  	 (10 10 10)   simpleGrading (1 1 1)
	hex (9 8 11 10 13 12 15 14)   	 (10 10 10)   simpleGrading (1 1 1)
	hex (20 16 17 21 30 24 25 31) 	 (10 10 10)   simpleGrading (1 1 1)
	hex (16 18 19 17 24 26 27 25)    (10 10 10)   simpleGrading (1 1 1)
	hex (18 22 23 19 26 28 29 27)    (10 10 10)   simpleGrading (1 1 1)
	hex (22 20 21 23 28 30 31 29)    (10 10 10)   simpleGrading (1 1 1)
);

edges
(
	arc 24 30 (4.515 -19.3 0)
	arc 30 28 (5.715 -20.5 0)
	arc 28 26 (4.515 -21.7 0)
	arc 26 24 (3.315 -20.5 0)

	arc 25 31 (4.515 -19.3 -1)
	arc 31 29 (5.715 -20.5 -1)
	arc 29 27 (4.515 -21.7 -1)
	arc 27 25 (3.315 -20.5 -1)
);

boundary
(
	inlet
	{
		type patch;
		faces
		(
			(1 0 3 2)
		);
	}

	outlet
	{
		type patch;
		faces
		(
			
			(23 20 21 22)
			(18 22 23 19)
			(16 18 19 17)
			(16 20 21 17)
		);	
	}

	topWall
	{
		type wall;
		faces
		(
			(1 5 6 2)
			(0 4 7 3)	
		);
	}
	
	middleWall
	{
		type wall;
		faces
		(
			(5 9 10 6)
			(4 8 11 7)		
		);
	}

	bottomWall
	{
		type wall;
		faces
		(
			(9 14 13 10)
			(8 12 15 11)
			
		);
	}

	northWall
	{
		type wall;
		faces
		(
			(30 24 25 31)		
		);
	}

	eastWall
	{
		type wall;
		faces
		(
			(28 30 31 29)	
		);
	}

	southWall
	{
		type wall;
		faces
		(
			(26 28 29 27)
		);
	}

	westWall
	{
		type wall;
		faces
		(
			(24 26 27 25)		
		);
	}

	frontAndBack
    	{
        	type empty;
        	faces
        	(
            		(0 1 5 4)
			(3 2 6 7)

			(4 5 9 8)
			(7 6 10 11)

			(8 9 13 12)
			(11 10 14 15)

			(16 20 30 24)
			(17 21 31 25)

			(16 24 26 18)
			(17 25 27 19)

			(26 28 22 18)
			(27 29 23 19)

			(20 22 28 30)
			(21 23 29 31)
        	);
    	}
);

mergePatchPairs
(
);

// ************************************************************************* //
0/p
Code:
dimensions	[1 -1 -2 0 0 0 0];
 
 internalField uniform 101325;

 boundaryField
 {
 	inlet
	{
		type 	totalPressure;
		p0 	uniform 601051.840721;
		gamma 	1.4;
		value	$internalField;
 	}
	
	outlet
	{
		type zeroGradient;
	}

    topWall
    {
        type zeroGradient;
    }

    middleWall
    {
        type zeroGradient;
    }
    bottomWall
    {
        type zeroGradient;
    }

    northWall
    {
        type zeroGradient;
    }

    eastWall
    {
        type zeroGradient;
    }

    southWall
    {
        type zeroGradient;
    }

    westWall
    {
        type zeroGradient;
    }


	frontAndBack
	{
		type empty;
	}
 }

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

0/T
Code:
dimensions	[0 0 0 1 0 0 0];
 

internalField    uniform 298;

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

boundaryField
{
    inlet
    {
        type        fixedValue;
        value       uniform 298;
    }

    outlet
    {
        type        zeroGradient;
    }

    topWall
    {
        type zeroGradient;
    }

    middleWall
    {
        type zeroGradient;
    }
    bottomWall
    {
        type zeroGradient;
    }

    northWall
    {
        type zeroGradient;
    }

    eastWall
    {
        type zeroGradient;
    }

    southWall
    {
        type zeroGradient;
    }

    westWall
    {
        type zeroGradient;
    }


    frontAndBack
    {
		type empty;
    }
 }


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


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

internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type            fixedValue;
        value           uniform (0 -550 0);
    }

    outlet
{
type zeroGradient;
}

    topWall
    {
        type            slip;
    }

    middleWall
    {
        type            slip;
    }
    bottomWall
    {
        type            slip;
    }

    northWall
    {
        type            slip;
    }

    eastWall
    {
        type            slip;
    }

    southWall
    {
        type            slip;
    }

    westWall
    {
        type            slip;
    }

    frontAndBack
    {
        type            empty;
    }
}

// ************************************************************************* //
George2105 is offline   Reply With Quote

Reply

Tags
fluid flow, openfoam 2.0, parafoam


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
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 03:28
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Convergence of jet flow simulation MiraLisa FLUENT 0 August 15, 2013 05:44
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


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