CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] Create patches from a very complex geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2015, 07:47
Exclamation Create patches from a very complex geometry
  #1
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 11
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, 17:57
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
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, 05:39
Thumbs up Hi, thank you a lot for the reply!!!
  #3
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 11
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, 04:33
Default
  #4
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
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, 12:35
Default Perfect, it works ;)
  #5
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 11
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: 15
Rep Power: 13
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


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Cyclic boundaries in OF 21x morard OpenFOAM 25 May 13, 2013 22:35
[ICEM] How to deal with a really complex geometry mountaineer ANSYS Meshing & Geometry 1 February 21, 2012 11:57
[blockMesh] Include list of points Hikachu OpenFOAM Meshing & Mesh Conversion 0 June 20, 2011 09:03
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06


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