|
[Sponsors] |
July 30, 2019, 13:18 |
Creating outlet in a wall type boundary
|
#1 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
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 ( ); // ************************************************************************* // OS |
|
July 30, 2019, 19:03 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
July 31, 2019, 04:11 |
|
#3 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
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 |
|
July 31, 2019, 10:41 |
|
#4 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
Import how? Like with snappyHexMesh? If so, it should be fine.
Caelan |
|
July 31, 2019, 10:44 |
Update:
|
#5 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Quick update:
the patches worked beautifully. Yes i meant through via snappyHexMesh. Thanks for you help Caelan. BR Owais |
|
Tags |
createbaffles, createpatchdict, making holes |
|
|
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 |