CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Make slices in i,j,k direction in Tecplot

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2021, 08:45
Smile Make slices in i,j,k direction in Tecplot
  #1
New Member
 
Shengjie Lu
Join Date: Sep 2020
Location: Nanjing,China
Posts: 12
Rep Power: 4
hhu_lulu is on a distinguished road
Hi,FOAMers:
I use blockMesh to generate a complete structured mesh to simulate flows in a curved open channel. When I check the result with slices in Tecplot, it can only do slices in x,y,z direction (Cartisian Coordinate), not in i,j,k direction.
I want to make slices in streamwise direction, that is, to slice along the centerline. So far, I have found the ijkMesh in src/OpenFOAM/meshes/ijkMesh, but still don't know its usage.
I post my grid image and blockMeshDict below.
Could anyone help me with this issue? Thanks in advance!
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

scale   1.000;

vertices
(
    (0 0 0)				// 0
    (0.254 0 0)
    (0 0.476 0)
    (0.254 0.476 0)			
    (1.041 1.263 0)
    (1.517 1.263 0)
    (1.041 1.517 0)
    (1.517 1.517 0)			
    (2.304 2.304 0)
    (2.558 2.304 0)     // 9
	
	(0 0 0.057)
    (0.254 0 0.057)
    (0 0.476 0.057)
    (0.254 0.476 0.057)  	
    (1.041 1.263 0.057)
    (1.517 1.263 0.057)
    (1.041 1.517 0.057)
    (1.517 1.517 0.057)	
    (2.304 2.304 0.057)
    (2.558 2.304 0.057) //19
);

edges
(
	arc 2 6 (0.3049 1.2121 0)		// upper arcs
	arc 3 4 (0.4845 1.0325 0)
	arc 5 9 (2.2531 1.5679 0)
	arc 7 8 (2.0735 1.7475 0)
	
	arc 12 16 (0.3049 1.2121 0.057)	// lower arcs
	arc 13 14 (0.4845 1.0325 0.057)
	arc 15 19 (2.2531 1.5679 0.057)
	arc 17 18 (2.0735 1.7475 0.057)
);

blocks
(
    hex (0 1 3 2 10 11 13 12) (160 80 50) 			// 1
	simpleGrading 									
	(
		((0.5 0.5 10.331) (0.5 0.5 0.0968))
		1
		4.2562
	)	        
    
	hex (2 3 4 6 12 13 14 16) (160 240 50) 			// 2
	simpleGrading 
	(
		((0.5 0.5 10.331) (0.5 0.5 0.0968))
		1
		4.2562
	)
	
    hex (6 4 5 7 16 14 15 17) (160 80 50) 			// 3
	simpleGrading 
	(
		((0.5 0.5 10.331) (0.5 0.5 0.0968))
		1
		4.2562
	)
	
    hex (7 5 9 8 17 15 19 18) (160 240 50) 			// 4
	simpleGrading 
	(
		((0.5 0.5 10.331) (0.5 0.5 0.0968))
		1
		4.2562
	)
);

boundary						
(
    INLET
    {
        type cyclic;
		neighbourPatch OUTLET;
        faces
        (
            (0 1 11 10)
        );
    }
	
    OUTLET
    {
        type cyclic;
		neighbourPatch INLET;
        faces
        (
            (8 9 19 18)
        );
    }
	
    WALLS
    {
        type wall;
        faces
        (
            (2 0 10 12)		// left walls
            (6 2 12 16)		
            (7 6 16 17)
            (8 7 17 18)
			
			(1 3 13 11)		// right walls
			(3 4 14 13)
			(4 5 15 14)
			(5 9 19 15)
			
			(0 2 3 1)		// bottom walls
			(2 6 4 3)
			(4 6 7 5)
			(5 7 8 9)
        );
    }
    
	ATMOSPHERE
    {
        type symmetryPlane;
        faces
        (
            (10 11 13 12)
            (12 13 14 16)
            (14 15 17 16)
			(15 19 18 17)
        );
    }
);
Attached Images
File Type: jpg mesh.JPG (24.0 KB, 6 views)
hhu_lulu is offline   Reply With Quote

Reply

Tags
blockmesh, ijk-direction, slices, tecplot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Advective BC with specified direction (outlet-velocity) uckmhnds OpenFOAM Running, Solving & CFD 0 August 19, 2018 20:50
Fortran unformatted to tecplot binary sdharmar Tecplot 2 April 9, 2014 07:19
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 02:36
a way to make lots of money quick and easy no lies Dob Main CFD Forum 0 October 10, 2006 16:45
TECPLOT Victor Tecplot 0 October 12, 2004 06:51


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