CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

Create patches from a very complex geometry

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 8, 2015, 08:47
Exclamation Create patches from a very complex geometry
  #1
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 2
CoSponge is on a distinguished road
Hello everybody,

I am wondering if it is possible to create patches and different region automatically from a .stl file.

For a simple geometry I tried to isolate the faces belonged to the different regions I'd like to have in the .stl file manually. It works perfectly
But now I have a very complex geometry, isolating the region is impossible by hand.

AutoPatch doesn't work, because it isolates some single points as a region (the mesh is not perfect) or the whole geometry, depending on the angle.

I know I could do it with the tool createPatches or making different blockMesh regions for each patch.

Does anyone knows the best option??

Thanks in avdance for the help,

Julie
CoSponge is offline   Reply With Quote

Old   January 11, 2015, 18:57
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 100
Rep Power: 4
student666 is on a distinguished road
Have you tried topoSet dict?

SurfaceToCell allows you to exctract cellSet from a stl file, then you can turn it into a patch with topoSet as well, try have a look here.
https://openfoamwiki.net/index.php/TopoSet
Bye
student666 is offline   Reply With Quote

Old   January 12, 2015, 06:39
Thumbs up Hi, thank you a lot for the reply!!!
  #3
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 2
CoSponge is on a distinguished road
Hi,

thank you a lot for the reply!!!
Can I ask you to explane me topoSet? For example, what is the difference between faceSet, cellSet, ecc? I mean, do they work one after the other or do I have to choose?
I'm a bit confused...

Cheers,

Julie
CoSponge is offline   Reply With Quote

Old   January 13, 2015, 05:33
Default
  #4
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 100
Rep Power: 4
student666 is on a distinguished road
Toposet is a dictionary that allows you to define into your polymesh folder a set of faces, points, ecc..or faceZone, cellZone as well.
You're not supposed to follow a hierarchical path, so if you need to define a set of faces, you have not to define a set of points previously.

My fault on my previously post, I think you'll have to use createPatch dict after you defined faceSets.

So the workflow should be:
first you define your face sets with topoSet
Second you use createPatch to define the patches for you purpose.

If you still have confusion what faceSet, cellSet, pointSet are, think they are a collection of entities.

Bye
student666 is offline   Reply With Quote

Old   January 14, 2015, 13:35
Default Perfect, it works ;)
  #5
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 2
CoSponge is on a distinguished road
Perfect, it works

Thanks a lot!!
CoSponge is offline   Reply With Quote

Old   June 9, 2015, 08:51
Default Fan modelling
  #6
New Member
 
Alex Lee
Join Date: Sep 2012
Posts: 12
Rep Power: 4
Alex Lee is on a distinguished road
Dear all,

Does any one know how to create a cyclic (circular) patch to mimic a pressure jump in the T-Junction tutorial using a STL patch ?

Thanks.

Alex Lee
Alex Lee is offline   Reply With Quote

Reply

Tags
complex geometry, patches, regions, stl file

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] Problem with meshing a complex Geometry (Hex) fluent_beiyo ANSYS Meshing & Geometry 8 April 26, 2014 04:55
[ICEM] How to deal with a really complex geometry mountaineer ANSYS Meshing & Geometry 1 February 21, 2012 12:57
Include list of points Hikachu OpenFOAM Native Meshers: blockMesh 0 June 20, 2011 09:03
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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