CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Create internal faces after createPatch (https://www.cfd-online.com/Forums/openfoam-solving/66273-create-internal-faces-after-createpatch.html)

linnemann July 10, 2009 05:36

Create internal faces after createPatch
 
2 Attachment(s)
Hi

Im using the createPatch tool to create a cyclic boundary condition for the fan BC, when doing so it does not delete the two patches shown.

The problem only arises when the fan_in/fan_out patches doesn't cut through the whole domain.

I've attached 2 pictures of the problem.

I want to either delete the two patches or make them into an internal face.

I have tried using the splitMesh tool on the faceset from the patches but it just states that the face is not an internal face, hey I knew that :), but thx for the info splitMesh.

I'm using Salome to create the Mesh and it cannot mesh if I only have an edge inside the domain. I think it is a netgen problem with regards to internal faces

Does anyone have a good ideas how to handle this kind of problem.

http://www.cfd-online.com/Forums/att...1&d=1247218355

http://www.cfd-online.com/Forums/att...1&d=1247218500

Fonss July 23, 2009 19:40

I'm in the same Boat. Similarly, I want to add a quick fan here and there on some electronic enclosures/radiator arrangements and such. From Salome I can't seem to mesh a 3d domain that contains an internal surface

Fonss July 23, 2009 20:04

Here are some pictures of what I want to do

http://www.flickr.com/photos/32908745@N04/3750924602/
http://www.flickr.com/photos/3290874...n/photostream/http://www.flickr.com/photos/32908745@N04/3750945870/http://www.flickr.com/photos/32908745@N04/3750924602/

linnemann July 24, 2009 04:00

I have actually found a workaround.

If you set the "matchTolerance" sufficiently low in the createPatchDict it wont merge the mesh but will retain the cut in the geometry and you can just set the outer walls to zerogradient and it wont affect the flow. It will still create the cyclic boundary condition and stuff just works :-). Just make a thin cut in your geometry from Salome and you will be flying.

My createPatchDict

class dictionary;
object createPatcheDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// Tolerance used in matching faces. Absolute tolerance is span of
// face times this factor.
matchTolerance 0.0015;

// Do a synchronisation of coupled points.
pointSync true;


// Patches to create.
// If no patches does a coupled point and face synchronisation anyway.
patches
(
{
// Name of new patch
name fan;

// Type of new patch
type cyclic;

// How to construct: either 'patches' or 'set'
constructFrom patches;

// If constructFrom = patches : names of patches
patches (fan_in fan_out);

}

);


Regards Linnemann


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