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

Troubles with "stitchMesh"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2011, 11:13
Default Troubles with "stitchMesh"
  #1
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 78
Rep Power: 15
lentschi is on a distinguished road
Hello everyone,

first I extended my single-channel-mesh (of a pump) "svwg0" with "transformPoints -yawPitchRoll "("16 0 0)"" (=16°-rotation around the z-axis) and "mergeMeshes . svwg0 . svwg16" to get a 2-channel-mesh.
Then I performed "stitchMesh" with and without the flag "-perfect" and got two different errors (see log files in the appendix).

Does anyone know, how I can reduce the tolerance to 1e-06 for matching all the points? And what does "cannot determine best atan point" mean??

Thanks in advance.

Regards
Attached Files
File Type: txt log_stitch_perfect.txt (65.6 KB, 82 views)
File Type: txt log_stitch.txt (5.4 KB, 62 views)
lentschi is offline   Reply With Quote

Old   May 4, 2011, 06:58
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 15
stevenvanharen is on a distinguished road
There is an option -toleranceDict. I don't know how it works but you can play around with it.

However, my advice would be to try to get the points within the standard tolerance. Maybe try mirrorMesh? Is this possible with your geometry?
stevenvanharen is offline   Reply With Quote

Old   May 4, 2011, 11:05
Default
  #3
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 78
Rep Power: 15
lentschi is on a distinguished road
Thank you for your answer,but there is no option -toleranceDict!

I cannot use "mirrorMesh", because I need to rotate my mesh!

Regards
lentschi is offline   Reply With Quote

Old   May 4, 2011, 11:46
Default
  #4
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 15
stevenvanharen is on a distinguished road
mmm, ok option maybe only avaliable in 1.7.1

In that case I don't have any tips anymore, sorry
stevenvanharen is offline   Reply With Quote

Old   May 5, 2011, 05:16
Default
  #5
Member
 
sirLentschi
Join Date: Nov 2010
Posts: 78
Rep Power: 15
lentschi is on a distinguished road
oh,no problem - and thank you for your answer!

I am going to take a complete geometry from CFX, so I do not need merge- and stitchMesh any more.

I hope this works!!

Regards
lentschi is offline   Reply With Quote

Old   August 11, 2011, 06:59
Default
  #6
suh
New Member
 
Suhas
Join Date: Jul 2011
Location: Pune
Posts: 21
Rep Power: 14
suh is on a distinguished road
hi stevenvanharen,

will you please tell me where is this toleranceDict file is in OF 1.7.1? I can not able to find its location.

and if you know how to use it, then please give some comments?

and is it possible for two patches with equal surface area but one with hexahedra and another with polyhedra mesh to stitch together by any other method in OF 1.7.1 (I tried stitchMesh, but after using this command then also it is showing some faces on that patch).

thank you.
suh is offline   Reply With Quote

Old   August 11, 2011, 08:22
Default
  #7
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 15
stevenvanharen is on a distinguished road
yes, you can stitch polyhydral with hexahedral, as long as the interface is conformal. This will be quite a strange situation though. Is your interface conformal?

I also couldn't find an example for the toleranceDict myself, so you have to play around with it to see how it works
stevenvanharen is offline   Reply With Quote

Old   August 12, 2011, 04:50
Default
  #8
suh
New Member
 
Suhas
Join Date: Jul 2011
Location: Pune
Posts: 21
Rep Power: 14
suh is on a distinguished road
Thank you for replying,

As you said i am able to stitch the hexahedral and polyhedral patches by adjusting some tolerance factor from toleranceDict file.

I will write detailed report on this after coming from holidays.

thanks again.
Regards
Suhas
suh is offline   Reply With Quote

Old   October 26, 2011, 16:35
Default
  #9
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Hello Suhas,

I'm looking forward to your report!

Regards,

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M is offline   Reply With Quote

Old   October 27, 2011, 05:53
Default
  #10
Member
 
supercommandodhruv
Join Date: Sep 2011
Posts: 57
Rep Power: 14
dhruv is on a distinguished road
http://www.cfd-online.com/Forums/ope...tml#post329665

Take a look here, may be you can find something
Quote:
Originally Posted by suh View Post
Thank you for replying,

As you said i am able to stitch the hexahedral and polyhedral patches by adjusting some tolerance factor from toleranceDict file.

I will write detailed report on this after coming from holidays.

thanks again.
Regards
Suhas
dhruv is offline   Reply With Quote

Old   October 27, 2011, 06:01
Default
  #11
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Hi Dhruv,

I already read that post but was looking forward to the findings of Suhas. I tried to stitch to meshes; merging went fine but the stitiching was more difficult. I tried both -perfect and -partial flags, the toleranceDict, etc and I was hoping that Suhas would give me more insight in the toleranceDict.

If not I'll post my case over here

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M 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
Interface troubles Samu CFX 2 December 8, 2009 03:38
setup troubles maxim FloEFD, FloWorks & FloTHERM 0 March 4, 2009 10:46
3d VOF troubles... Mac FLUENT 0 March 12, 2007 09:41
some video troubles... giosue Siemens 2 February 19, 2003 11:03
Troubles modelling flow through a grid Hans Klaufus CFX 1 June 28, 2000 17:43


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