CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   combustion->correct() (https://www.cfd-online.com/Forums/openfoam-pre-processing/238172-combustion-correct.html)

ulugbey August 27, 2021 07:29

combustion->correct()
 
Hi,

Do you know what does the following code in OF stand for?
Code:

combustion->correct()
Best regards

snak August 29, 2021 20:37

Hi,

It means a "correct()" function in "combustion" instance is called.

To know what exactly it means, we have to know the definition of "combustion".

Could you tell us the version of OpenFOAM and the name of solver you are looking. Putting clear and concise information will increase the probability of the desired help occurring.

ulugbey August 30, 2021 05:37

Hi,

Thank a lot for the reply. I am using Openfoam 2.1 and the solver ddtFoam.

Tobermory August 30, 2021 12:35

The correct() function is declared in combustionModel.H (https://cpp.openfoam.org/v8/combusti...8H_source.html) and then implemented in the RTS selected model, eg EDC (https://cpp.openfoam.org/v8/EDC_8C_source.html). Try the search function in the Doxygen pages - that should help you answer these questions for yourself in the future. Good luck!


All times are GMT -4. The time now is 07:04.