a question about refineMesh
2 Attachment(s)
Hi everybody!
I' like using refineMesh to refime the mesh like below http://www.cfd-online.com/Forums/att...1&d=1308747850 but the result is like below http://www.cfd-online.com/Forums/att...1&d=1308747867 what should I do? Thanks very much! http://www.cfd-online.com/home/lf/%C...creenshot2.jpg |
|
Checking the "Use VTkPolyhedron", paraview will show the correct display.
|
Hi,
Where is located the "Use VTkPolyhedron" in paraFoam ? Regards, Stephane. |
reply
2 Attachment(s)
Hi,
If you compile "PV3FoamReader Module" correctly, the paraview's "Object Inspector" looks like figure below ,you can check "use VTKPolyhedron". http://www.cfd-online.com/Forums/att...1&d=1309311116 but if you failed to compile "PV3FoamReader Module", paraview can still work, the "Object Inspector" looks like figure below ,you can not check "use VTKPolyhedron", the display is not correct, but the grids are ok. http://www.cfd-online.com/Forums/att...1&d=1309311105 |
Hi All,
OpenFOAM cannot use meshes with floating nodes, so no the, diagonals are not fictitious. Valid cell shapes recognized by OpenFOAM can be found here. Therefore, to correctly close the mesh shown in the first post, OpenFOAM will create triangles, which is consistent with the diagonals shown in paraview/paraFoam. Kind regards, Francois. |
how I can refine a specific region?
Does anyone know how I can refine a specific region in a cavity for example?
Thanks! |
Quote:
Is there a switch somewhere in the refineMeshDict that I haven't seen ??? |
4 Attachment(s)
Quote:
The lower block is then "refined" in 2 blocks. I visualised the result in paraview, once using VTKPolyhedra and once without, and further compared the visualisation with a plot in MATLAB, for which I directly exported the data from polyMesh/points and polyMesh/faces. The result of the Matlab visualisation perfectly agrees with the VTKPolyhedral picture: Attachment 46569Attachment 46567 The paraFoam version not using VTKPolyhedra: Attachment 46568 Also regarding the standard shapes linked, those are the ones recognised, but OF also supports arbitrary polyhedra (compare checkMesh output). I also attach the testcase including my Matlab script for those interested. |
All times are GMT -4. The time now is 16:10. |