1

Previous: Partial meshes Up: Partial meshes Next: The insideMesh

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

The outsideMesh

  • Let us look at outside mesh’s blockMeshDict:
    # cat $FOAM_RUN /mixerCase/outsideMesh/system/blockMeshDict

     

    /*--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    |  \\    /   O peration     | Version:  2.3.0                                 |
    |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        object      blockMeshDict;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    convertToMeters 0.01;
    
    vertices
    (
    	(-20 -15 0)
    	(20 -15 0)
    	(20 15 0)
    	(-20 15 0)
    	(-8 -6 0)
    	(8 -6 0)
    	(8 6 0)
    	(-8 6 0)
    
    	(-20 -15 0.1)
    	(20 -15 0.1)
    	(20 15 0.1)
    	(-20 15 0.1)
    	(-8 -6 0.1)
    	(8 -6 0.1)
    	(8 6 0.1)
    	(-8 6 0.1)
    );
    
    edges
    (
    	arc 4 5 (0 -10 0)
    	arc 5 6 (10 0 0)
    	arc 6 7 (0 10 0)
    	arc 7 4 (-10 0 0)
    	arc 12 13 (0 -10 0.1)
    	arc 13 14 (10 0 0.1)
    	arc 14 15 (0 10 0.1)
    	arc 15 12 (-10 0 0.1)
    );
    
    blocks
    (
    	hex (0 1 5 4 8 9 13 12) (40 20 1) simpleGrading (1 0.5 1)
    	hex (1 2 6 5 9 10 14 13) (40 20 1) simpleGrading (1 0.5 1)
    	hex (2 3 7 6 10 11 15 14) (40 20 1) simpleGrading (1 0.5 1)
    	hex (3 0 4 7 11 8 12 15) (40 20 1) simpleGrading (1 0.5 1)
    );
    
    boundary
    (
    	fixedWalls
    	{
    	type wall;
    	faces 
    	(
    		(0 1 9 8)
    		(1 2 10 9)
    		(2 3 11 10)
    		(3 0 8 11)
    	);
    	}
    
    	frontAndBack
    	{
    	type empty;
    	faces
    	(
    		(0 1 5 4)
    		(1 2 6 5) 
    		(2 3 7 6) 
    		(3 0 4 7)
    
    		(8 9 13 12)
    		(9 10 14 13)
    		(10 11 15 14)
    		(11 8 12 15)
    	);
    	}
    
    	AMIOutside
    	{
    	type patch;
    	faces
    	(
    		(4 5 13 12)
    		(5 6 14 13)
    		(6 7 15 14)
    		(7 4 12 15)
    	);
    	}
    );
    

     

  • We make the mesh
    # cd $FOAM_RUN /mixerCase/outsideMesh/
    # blockMesh

Figure: The outer mesh