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/)
-   -   [blockMesh] split a patch face on subfaces? (https://www.cfd-online.com/Forums/openfoam-meshing/133417-split-patch-face-subfaces.html)

lfgmarc April 14, 2014 19:39

split a patch face on subfaces?
 
Hi, I'm trying to make a mesh with blockMesh, but i'm in troubles because I need to split a face in two faces to impose different boundary conditions, My question is: is possible split a block face (patch) on sub-faces without create other block?. To clarify my question, in next fig I show the mesh made with one hex block (2 cells in x and 2 cells in y), in this fig is labeled the patch (right wall) that I can split to define a new patch, my question, Is possible to define a new patch without make other block (see fig2) ?

https://drive.google.com/file/d/0B_9...it?usp=sharing


https://drive.google.com/file/d/0B_9...it?usp=sharing

Thanks in advance for any hint.

Felipe

wyldckat April 19, 2014 11:14

Greetings Felipe,

Do you only want to split the face? Because if you only split the face, you will have a cell with more than one boundary condition on the same side of the cell, which can lead to considerable simulation problems.

If this is what you want, you could try using modifyMesh. The location of an example dictionary is indicated by this command:
Code:

echo $FOAM_UTILITIES/mesh/advanced/modifyMesh/modifyMeshDict
Problem is that you would have to split the edges and then assign a patch name to the faces in question.

Have a look into the wiki page for more ideas, since interactively designing the dictionary might be easier: http://openfoamwiki.net/index.php/BlockMesh

Best regards,
Bruno


All times are GMT -4. The time now is 16:17.