CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Create internal faces after createPatch

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2009, 06:36
Default Create internal faces after createPatch
  #1
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
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.



Attached Images
File Type: png pic1.png (7.1 KB, 218 views)
File Type: png pic2.png (14.1 KB, 215 views)
linnemann is offline   Reply With Quote

Old   July 23, 2009, 20:40
Default
  #2
New Member
 
Poncho
Join Date: Mar 2009
Posts: 6
Rep Power: 17
Fonss is on a distinguished road
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 is offline   Reply With Quote

Old   July 23, 2009, 21:04
Default
  #3
New Member
 
Poncho
Join Date: Mar 2009
Posts: 6
Rep Power: 17
Fonss is on a distinguished road
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/
Fonss is offline   Reply With Quote

Old   July 24, 2009, 05:00
Default
  #4
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
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
linnemann is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Gmsh] Internal faces from gmsh how to create patches in OpenFoam podallaire OpenFOAM Meshing & Mesh Conversion 27 April 25, 2012 22:24
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 10:01
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 11:37
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
boundary conditions for internal faces Tom Pendrey FLUENT 1 March 5, 2007 19:25


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