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, 08:47
Exclamation Create patches from a very complex geometry
  #1
New Member
 
Julie Correncon
Join Date: Oct 2014
Posts: 7
Rep Power: 12
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: 286
Blog Entries: 6
Rep Power: 17
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: 12
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: 286
Blog Entries: 6
Rep Power: 17
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: 12
CoSponge is on a distinguished road
Perfect, it works

Thanks a lot!!
CoSponge is offline   Reply With Quote

Old   June 9, 2015, 09:51
Default Fan modelling
  #6
New Member
 
Alex Lee
Join Date: Sep 2012
Posts: 15
Rep Power: 14
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 07:09
Cyclic boundaries in OF 21x morard OpenFOAM 25 May 13, 2013 23:35
[ICEM] How to deal with a really complex geometry mountaineer ANSYS Meshing & Geometry 1 February 21, 2012 12:57
[blockMesh] Include list of points Hikachu OpenFOAM Meshing & Mesh Conversion 0 June 20, 2011 10:03
Actuator disk model audrich FLUENT 0 September 21, 2009 08:06


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