|
[Sponsors] |
[mesh manipulation] polyDualMesh and volume calculation... |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 10, 2009, 14:37 |
polyDualMesh and volume calculation...
|
#1 |
New Member
jb
Join Date: Jun 2009
Posts: 10
Rep Power: 17 |
I have simulated the flow of a liquid that escapes from a container. I used the 'interFoam' solver. I generated the thetrahedral mesh with gmsh, then I converted it with the polyDualMesh utility. The so obtained mesh is funny to use : it increases the calculation speed and reduces the courant number. In my simulation, the liquid flows against a wall and a part of it passes above this wall, and finaly reaches an other container. I have to calculate the volume of liquid that passed above the wall. I thus use the 'integrate variables' filter of paraview in order to integrate the gamma-field in a definite region.
My problem is the following : the 'integrate variables' filter returns an absurd (and negative) volume !!! (but it works well on the initial thetrahedral mesh)... Please, do you know a methods (software), that can calculate the correct volume on this kind of mesh (onbtained with polyDualMesh) ??? Any answer is welcomed... JB |
|
September 14, 2009, 15:41 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Did your checkMesh report some strangeness on the poly mesh? I ask because I've been in the same situation and checkMesh on the tet mesh is just fine but after running polyDualMesh the checkMesh reports with errors that cells have negative volume. In a post I've read Hrv Jasak states that polyDualMesh only works for delaunay tet meshes. The errors mostly occurs in cells in areas with sharp corners. read 1 (page 2 especially) read 2 |
|
September 15, 2009, 19:37 |
|
#3 | |
New Member
jb
Join Date: Jun 2009
Posts: 10
Rep Power: 17 |
Hi Linnemann,
Your are right : polyDualMesh seems to work for Delaunay thetrahedral mesh. Actually, I use 'gmsh' to generate this kind of mesh (+ Netgen optimization). The 'checkMesh' utility does not return any errors about the cell volume in my case, but il crashes (seg fault) just after having said : 'Mesh is OK'. I think my problem does not come from the mesh itself, but from paraview. Indeed, (it seems that) OpenFoam works fine on this mesh. But the integration of the gamma field with paraview fails... I am very embarassed, because I did a lot of calculations on this kind of mesh (obtained with polyDualMesh), but I can't calculate the volume of fluid in a specific region... Do you think however all my calculations could be wrong because of bad cells generated by polyDualMesh ? JB Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] problem using polyDualMesh | Rebecca513 | OpenFOAM Meshing & Mesh Conversion | 10 | March 4, 2020 13:53 |
polydualmesh and ability to do DNS | manuc | OpenFOAM Pre-Processing | 0 | June 14, 2016 03:22 |
[mesh manipulation] polydualmesh and ability to do DNS | manuc | OpenFOAM Meshing & Mesh Conversion | 1 | June 14, 2016 03:20 |
on volume elements and polyDualMesh | ramcdougal | OpenFOAM Running, Solving & CFD | 2 | February 22, 2012 09:09 |
Problems on Tetrahedra to Polyhedra using polyDualMesh on concave surface object | chnrdu | OpenFOAM Pre-Processing | 2 | July 18, 2009 13:58 |