CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Creating outlet in a wall type boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2019, 13:18
Default Creating outlet in a wall type boundary
  #1
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7
Owais Shabbir is on a distinguished road
Hi,

I want to make my 'outlet' into a wall and create an box shaped outlet through the original outlet of my blockMesh but I am not sure where to start this from. I am new with OF6 and CFD and i got confused when I tried approaching the utilities

I looked at createPatch and createBaffles.

The description says the it creates a set out of faces, but will I not need cells instead of faces from the origianl outlet to become and small outlets?

I am attachning pictures so its more clear.
I have an outlet and I want to convert it to a wall and make smaller outlets out of it as shown in the second picture.

my blockMeshDict looks like this:
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       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
    (-0.03 -0.005 -0.18)
    (0.7 -0.005 -0.18)
    (0.7 0.57 -0.18)
    (-0.03 0.57 -0.18)
    (-0.03 -0.005  0.0169)
    (0.7 -0.005  0.0169)
    (0.7 0.57  0.0169)
    (-0.03 0.57  0.0169)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (60 60 40) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
    walls
    {
        type wall;
        faces
        (
            (3 7 6 2)
   (1 5 4 0)
   (0 3 2 1)
   (4 5 6 7)
    
        );
    }
    inlet
    {
        type patch;
        faces
        (
            (0 4 7 3)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (2 6 5 1)
        );
    }
    
);
mergePatchPairs
(
);
// ************************************************************************* //
Thanks
OS
Attached Images
File Type: jpg original.jpg (73.0 KB, 15 views)
File Type: jpg create region.jpg (74.1 KB, 9 views)
Owais Shabbir is offline   Reply With Quote

Old   July 30, 2019, 19:03
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Yes, you can do this with createPatch. First, make the "outlet" patch in your blockMeshDict type wall. Then, use topoSet to select a faceSet of cell faces on the old "outlet" patch (now a wall) and createPatch to make a patch from this faceSet. The fireFoam tutorial smallPoolFire3D is a good example of this.

Caelan
clapointe is offline   Reply With Quote

Old   July 31, 2019, 04:11
Default
  #3
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7
Owais Shabbir is on a distinguished road
Hi Clapointe,

Thanks for a quick answer.
Will this affect later, if I have to import a .stl file in my domain?

Best Regard,
OS
Owais Shabbir is offline   Reply With Quote

Old   July 31, 2019, 10:41
Default
  #4
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Import how? Like with snappyHexMesh? If so, it should be fine.

Caelan
clapointe is offline   Reply With Quote

Old   July 31, 2019, 10:44
Thumbs up Update:
  #5
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7
Owais Shabbir is on a distinguished road
Quick update:
the patches worked beautifully.
Yes i meant through via snappyHexMesh.



Thanks for you help Caelan.


BR

Owais
Owais Shabbir is offline   Reply With Quote

Reply

Tags
createbaffles, createpatchdict, making holes


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
rSF: p divergence in combustor (wt negative value) zonda OpenFOAM Pre-Processing 4 April 10, 2018 07:59
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 02:47
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08


All times are GMT -4. The time now is 14:51.