|
[Sponsors] |
March 22, 2024, 04:14 |
OpenFOAM skewness calculation
|
#1 |
New Member
Petros Lazaris
Join Date: Dec 2020
Posts: 6
Rep Power: 5 |
Hello to everyone.
I have used the checkMesh utility and it reported that I have some highly skewed faces and some severely non-orthogonal faces in my mesh. This information is useful to me, however I want to know what is the face with the maximum skewness and the maximum non-orthogonality in my mesh. So is there any way to print the skewness/non-orthogonality field in my mesh or print the skewness/non-orthogonality of the problematic faces ? Thank you very much in advance. |
|
March 22, 2024, 04:38 |
|
#2 | |
Member
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 59
Rep Power: 3 |
Quote:
The command you should use is: Code:
checkMesh -writeSets vtk Best Regards, Pedro P.S. - I recommend you to use the command Code:
checkMesh -allGeometry -allTopology |
||
March 22, 2024, 04:45 |
|
#3 |
New Member
Petros Lazaris
Join Date: Dec 2020
Posts: 6
Rep Power: 5 |
Thank you very much for your answer.
However, the utility you just told me to use does not print the skewness values, but only the id numbers of the highly skewed faces. I want the values of skewness of each face. |
|
March 22, 2024, 04:54 |
|
#4 | |
Member
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 59
Rep Power: 3 |
Quote:
Let's hope someone else knows how to do this. |
||
March 22, 2024, 04:56 |
|
#5 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26 |
In the OpenCFD branch (openfoam.com) you can use the -writeAllFields and -writeAllSurfaceFields options when running checkMesh.
https://www.openfoam.com/news/main-n...sing#checkmesh This is not available in the foundation branch (openfoam.org) |
|
March 26, 2024, 04:12 |
|
#6 |
New Member
Petros Lazaris
Join Date: Dec 2020
Posts: 6
Rep Power: 5 |
Thak you very much for your answer.
Is there any way to do this in OpenFOAM.org too, by writing a custom c++ script ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 10:19 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
Molecular viscosity calculation in LES on OpenFOAM | babakflame | OpenFOAM | 0 | January 26, 2014 04:13 |
The calculation efficiency of OpenFOAM | chiven | OpenFOAM Running, Solving & CFD | 4 | September 14, 2009 04:44 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |