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

[surface handling] Problem getting the complete patches using SurfaceToPatch

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vineet_bhola

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2015, 05:53
Default Problem getting the complete patches using SurfaceToPatch
  #1
Member
 
Vineet Bhola
Join Date: Jun 2015
Location: Chemnitz, Germany
Posts: 49
Rep Power: 10
vineet_bhola is on a distinguished road
Hi All,
I have to smulate heat transfer between air to a solid to water. Please refer to the attachment cfd_summary. Cylinder colored red is hot air, white casing is solid and then blue as water.
Currently i am meshing only water and solid. I have created the mesh successfully but I am was unable to get patches from stl surface directly after snappyhexmesh.(please refer to the compressed file for scripts) It was showing 0 faces for all the patches except defaultFaces. So i used surfaceToPatch after it using the combined water and solid stl data.
Problem with that is it does not extract the complete patch, some of the triangular faces are not attributed to inlet and outlet. Compare the attachment of wasser_zoom versus wasser_stl
Does anyone know the reason behind this error. Which parameters or tolerances can I vary for surfaceToPatch command.
Thanks
Vineet
Attached Images
File Type: png cfd_wasser_auslass2.png (56.6 KB, 18 views)
File Type: png cfd_wasser_stl2.png (77.0 KB, 15 views)
File Type: png cfd_wasser_zoom2.png (83.9 KB, 14 views)
File Type: png cfd_summary2.png (36.4 KB, 16 views)
Attached Files
File Type: gz scripts.tar.gz (33.4 KB, 23 views)
vineet_bhola is offline   Reply With Quote

Old   August 11, 2015, 05:57
Default
  #2
Member
 
Vineet Bhola
Join Date: Jun 2015
Location: Chemnitz, Germany
Posts: 49
Rep Power: 10
vineet_bhola is on a distinguished road
Just to avoid any confusion. Red circle in "Wasser_stl" is not hot air. That was the default color of stl geometry. It is just to compare, what I need and what I actually got as an nlet patch
vineet_bhola is offline   Reply With Quote

Old   August 12, 2015, 04:40
Default
  #3
Member
 
Vineet Bhola
Join Date: Jun 2015
Location: Chemnitz, Germany
Posts: 49
Rep Power: 10
vineet_bhola is on a distinguished road
Has no one worked with surfaceToPatch before?
vineet_bhola is offline   Reply With Quote

Old   August 18, 2015, 09:54
Default
  #4
Member
 
Vineet Bhola
Join Date: Jun 2015
Location: Chemnitz, Germany
Posts: 49
Rep Power: 10
vineet_bhola is on a distinguished road
I don't know the exact Background process. But by hit and Trial I found out that by changing tolerance Option in surfaceToPatch, these missing faces can be regained..For example, when I used .01 as tolerance, it showed 79 missing faces but with 0.0005 it showed 0...beware that if you Keep tolerance too low, it can shift all the faces to Defaultpatch OR OldinternalFaces...
By Default the tolerance is 0.001 OR 1.0 e-3
peppino likes this.
vineet_bhola is offline   Reply With Quote

Reply


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
BuoyantBoussinesqSimpleFoam_Facing problem Mondal131211 OpenFOAM Running, Solving & CFD 1 April 10, 2019 19:41
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 08:00
[mesh manipulation] Problem with using createPatchDict to define cyclic boundaries kaszt OpenFOAM Meshing & Mesh Conversion 0 April 1, 2016 21:18
[mesh manipulation] mirrorMesh and undoing the joining of patches chegdan OpenFOAM Meshing & Mesh Conversion 3 October 21, 2015 08:09
Problem with inconsistent patches (AMI, interDyMFoam) jrrygg OpenFOAM Running, Solving & CFD 3 February 1, 2013 03:23


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