CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   OpenFoam 5.0 - CompressibleTurbulenceModel.H and compressibleTurbulenceModel.H (https://www.cfd-online.com/Forums/openfoam-bugs/203334-openfoam-5-0-compressibleturbulencemodel-h-compressibleturbulencemodel-h.html)

mathartist June 25, 2018 06:01

OpenFoam 5.0 - CompressibleTurbulenceModel.H and compressibleTurbulenceModel.H
 
What is the difference between CompressibleTurbulenceModel.H and
compressibleTurbulenceModel.H



available at location /opt/openfoam5/src/TurbulenceModels/compressible.


Furthermore, in the CompressibleTurbulenceModel.H file, line 81 defines the object instantiation with the data const transportModel& trasport, yet, in the member function the variable name called and used is transport instead of trasport.



The link for CompressibleTurbulenceModel.H is as follows,


https://github.com/OpenFOAM/OpenFOAM...bulenceModel.H



Is this a bug?



Thanks in advance, :)





zhangyan June 28, 2018 21:54

https://drive.google.com/file/d/1Rup...ew?usp=sharing

PS: trasport is just a formal parameter name. Maybe it is a typo, but has no bad effect.


All times are GMT -4. The time now is 17:01.