|
[Sponsors] |
[mesh manipulation] problem using polyDualMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 22, 2012, 21:41 |
problem using polyDualMesh
|
#1 |
Member
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15 |
Dear all,
Because my tet mesh is too large and runs very slowly in OF, I am trying to use polyDualMesh to convert the tet mesh into a polyhedral mesh. I am learning this utility by playing with a very simple case, a rectangular flow channel. The tet mesh of the channel fails only one mesh check (small determinant), and works fine giving me results close to the theoretical estimates given by the cubic law. However, after I converted the mesh using 'polyDualMesh 60 -doNotPreserveFaceZone', the mesh failed four tests high skewness error in face tets: faces with low quality or negative volume decomposition tets cells with small determinant found concave cells found Then I tried to include the option '-concaveMultiCells'. But the mesh didn't improve at all. I still got all the problems. I am wondering if there is anything else that I should try when using the polyDualMesh utility to ensure the quality of the mesh generated afterwards. Truly appreciate any suggestion and comment. Thank you~ Best, Hang |
|
July 25, 2012, 04:08 |
|
#2 |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
Hey there
I am also in the process of trying to use polyhedral meshes. According to previous posts, the tetra mesh should be produced based on a Delaunay triangulation to produce good results. Does your original mesh satisfy this restriction? |
|
July 26, 2012, 00:38 |
|
#3 |
Member
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15 |
Hi,
Yes, the tet mesh is generated using Delaunay triangulation. And the tet mesh works well in OF. But when I tried to convert it to polyhedral, it fails several mesh tests in 'checkMesh -allGeometry -allTopology'. Thank you~ Best, Hang |
|
August 26, 2012, 08:35 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
As future reference, I ended up (partially) answering here: http://www.cfd-online.com/Forums/ope...tml#post378734 post #14
__________________
|
|
August 26, 2012, 11:11 |
|
#5 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi Rebecca,
Another thing to keep in mind is that polyDualMesh does not like prism boundary layers much. It has a tendency to mess them up and produce wrong oriented faces. I believe engrid has included a version of polyDualMesh that works much better with prism layers by not converting them. I think it is only in the development version though. Philip |
|
August 6, 2013, 04:42 |
polyDualMesh -- error
|
#6 |
New Member
Aditya
Join Date: May 2013
Location: Munich Germany
Posts: 29
Rep Power: 13 |
Hello
I am trying to use polyDualMesh for a blower simulation. I am getting an error saying that --> FOAM FATAL ERROR: Created illegal face 2(4472123 4472125) at position:16171367 when filtering removed points From function polyTopoChange::compact(..) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 1056. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) addr2line failed #1 Foam::error::abort() addr2line failed then polyDualMesh exits. I am stuck here with this problem. Does any one have an idea why this error happens.. ? I am using an angle of 40. Thanks in advance. |
|
August 17, 2013, 08:47 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Aditya,
Use the following command to first assess the quality of the mesh: Code:
checkMesh -allGeometry -allTopology -constant Best regards, Bruno
__________________
|
|
October 18, 2015, 06:51 |
|
#8 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Bruno,
How are you? I have two questions about the utility of polyDualMesh: 1, from numerical point of view, is there any advantange or disadvantage for us to use polyhedral cells, instead of tetrahedral cells? 2, for this utility, the generated cells have the same faces? or is it possible for different polyhedral cells to have different face numbers? Thank you so much. OFFO |
|
October 18, 2015, 07:29 |
|
#9 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answers:
Quote:
Quote:
|
|||
March 4, 2020, 13:22 |
More queries on polyDualMesh
|
#10 |
New Member
Arpan Sircar
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
1. Can polyDualMesh work on a tetrahedral mesh with nonManifoldPoints ?
2. Can polyDualMesh work on a tetrahedral mesh with cells with small determinant ? 3. Is there a version of polyDualMesh which preserves the prism layers around a wall ? I understand there may not be any direct answers to Questions 1 and 2, just trying to get a feel of the polyDualMesh capability. Regards Arpan |
|
March 4, 2020, 13:53 |
|
#11 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
I am not sure I can answer your questions; however, I suggest you try it out and you will find out!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |