CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] splitting patch into two boundary conditions using splitMesh (https://www.cfd-online.com/Forums/openfoam-meshing/206767-splitting-patch-into-two-boundary-conditions-using-splitmesh.html)

salomama September 12, 2018 17:04

splitting patch into two boundary conditions using splitMesh
 
Dear Foamers;
i have been searching for how to make a slot in a cyclic wall, using bunch of utilities but i didn't succeed so i decided to post a thread here.


My problem is that i have two parallel walls, one on top of the other (that 's how i created them the first time for some boundary reasons that i posted before). everything worked perfectly, i could generate a flow and see the animation of the flow in the wind tunnel design. Now i want to made a small open windows (a slot) that connects the flow from the inside of the tunnel to the outside at the entry of the diffuser of inches, to do that i have to make a double slot for my two cyclic walls.
I tried TopoSet with boxtocell and patchtoface but it didn't work because i don't want to add nor extract a cell from my mesh since they have flow information that i need, then i found splitMesh in modifyMeshDict since all i want is keep the rest of the boundary condition as a wall, but change a small part of it, to, i don't know yet if zerogradient with zero velocity. But for now im just looking how can i work it out, or anyone has a better idea, utility tool to share with me.


FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object modifyMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

//Split boundary edge in two:
edgesToSplit
(
((1.73 0.87 0) (1.68 0.88 0.1))
((1.73 0.88 0) (1.68 0.89 0.1))
);


Thank you everyone for the help!

amod_kumar September 30, 2018 00:29

Hello,
It is difficult to visualize the problem. You might get a help is you explain the problem using a picture/sketch.

Regards,
Amod

salomama October 13, 2018 14:38

I fixed it! Thank you!

ChristianLackner November 21, 2018 10:17

Can you explain how you fixed it please?
I have a similar problem.

Thank you in advance!


All times are GMT -4. The time now is 11:49.