|
[Sponsors] |
February 2, 2021, 21:13 |
symmetry condition and wall
|
#1 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Hi All!
I am using OpenFOAM 6.0. Liquid flows axially through a vaned cylinder (see attached rendition). I would like to employ a symmetry condition about the vane-center, where the vane partially lies on the (0 4 7 3) plane. By applying the condition "symmetry" on this plane, will OpenFOAM recognize the plane is part liquid and part solid, or will it believe it is the symmetry plane? The geometry I made in SHM has a cut for the vane. My blockMeshDict is below. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; xmin 0; xmax 15; ymin -2; ymax 30; zmin 0; zmax 160; xcells 20; ycells 40; zcells 200; vertices ( ($xmin $ymin $zmin) ($xmax $ymin $zmin) ($xmax $ymax $zmin) ($xmin $ymax $zmin) ($xmin $ymin $zmax) ($xmax $ymin $zmax) ($xmax $ymax $zmax) ($xmin $ymax $zmax) ); blocks ( hex (0 1 2 3 4 5 6 7) ($xcells $ycells $zcells) simpleGrading (1 1 1) ); edges ( ); boundary ( tank { type patch; faces ( (2 6 5 1) (0 3 2 1) (4 5 6 7) ); } lid { type patch; faces ( (3 7 6 2) ); } outlet { type patch; faces ( (1 5 4 0) ); } symm_side { type symmetry; faces ( (0 4 7 3) ); } ); // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 5 ( symm_side { type symmetry; inGroups 1(symmetry); nFaces 20; startFace 503867; } tank { type wall; inGroups 1(wall); nFaces 45612; startFace 503887; } outlet { type wall; inGroups 1(wall); nFaces 34; startFace 549499; } lid { type wall; inGroups 1(wall); nFaces 30; startFace 549533; } symm_side { type wall; inGroups 1(wall); nFaces 13409; startFace 549563; } ) // ************************************************************************* // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 00:04 |
Issue with Isothermal Wall Boundary Condition | aero_peace | SU2 | 3 | October 25, 2019 08:01 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 04:13 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |