|
[Sponsors] |
How to get the minimum y coordinates on the iso-surfaces through the postprocess code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 15, 2022, 12:01 |
How to get the minimum y coordinates on the iso-surfaces through the postprocess code
|
#1 |
New Member
Lu Shui
Join Date: Feb 2022
Posts: 1
Rep Power: 0 |
Dear all,
I am postprocessing the flame lift-off based on the calculated results in OpenFOAM V6, and I am testing the postprocess code in the tutorial of achenBomb. However, the postprocessed flame lift-off is not consistent with the data in Paraview, and it is 0.1m all the timee. Any one can give me help? Thank you very much! [CODE][/ scalar MinYlocation = 0.1; label index_ = 0; forAll(Qdot, cellI) { if (Qdot[cellI] == scalar(10000000000.0)) { scalar y = mesh.C()[cellI].component(vector::Y); if (y < MinYlocation) { MinYlocation = y; } } } MinYlocation = mesh.C()[index_].component(vector::Y); Info << " Time= " << runTime.value()<<"," << " Flame lift-off=" << MinYlocation << endl ;] |
|
Tags |
flame lift-off, openfoam, postprocess |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |
What is the Better Way to Do CFD? | John C. Chien | Main CFD Forum | 54 | April 23, 2001 09:10 |
Open source CFD code development, possible? | Dr. Yazid Bindar | Main CFD Forum | 27 | July 18, 2000 01:18 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 15:34 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 11:20 |