|
[Sponsors] |
January 21, 2022, 17:16 |
boundary condition on house chimney
|
#1 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
Suppose I have a house with a slanted roof like most houses are, which I call "house". On the top of the house a chimney sits, which I call "chimney", though the chimney is lower than the peak of the house roof. I would like to mesh the house interior as walls and the chimney being an outflow boundary. My blockmesh looks like this
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; //These vertices define the block below. It envelopes the stl files. The block can be even bigger than the stl files //Watch out if the stl files are created in mm or m! xmin 0; xmax 15; ymin -2; ymax 30; zmin 0; zmax 160; xcells 19; // 11 ycells 39; // 41 zcells 200; //128 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 ( house //Adjust these settings according to symmetry patches. Currently none invoked { type patch; faces ( (2 6 5 1) (0 3 2 1) (4 5 6 7) (3 7 6 2) (1 5 4 0) ); } chimney //Adjust these settings according to symmetry patches. Currently none invoked { type patch; faces ( (3 7 6 2) ); } base //Adjust these settings according to symmetry patches. Currently none invoked { type patch; faces ( (1 5 4 0) ); } symm_side //Adjust these settings according to symmetry patches. Currently none invoked { type symmetry; faces ( (0 4 7 3) ); } ); // ************************************************************************* // --> FOAM FATAL ERROR: Trying to specify a boundary face 4(3 7 6 2) on the face on cell 0 which is either an internal face or already belongs to some other patch. This is face 0 of patch 1 named lid. Any help is greatly appreciated! |
|
January 21, 2022, 18:20 |
|
#2 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
Nevermind, looks like I defined the same face twice.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Accessing multiple boundary patches from a custom boundary condition file | ripudaman | OpenFOAM Programming & Development | 0 | October 22, 2014 19:34 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 05:13 |