CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Library files (

A.D.E October 7, 2011 04:58

Library files

Can I view the contents of any of the files?

I would like to see how for example OpenFoam calculates the Cl and Cd coefficients.



Bernhard October 7, 2011 05:18

The libraries are compiled from /src. What name a library will get is defined in all the Make/files. For example, is you want to find where is defined, you can execute a search command in the shell like


src> grep sampling `find -name files`
Good luck!

All times are GMT -4. The time now is 18:56.