CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   C++ with OpenFOAM (https://www.cfd-online.com/Forums/openfoam-solving/255569-c-openfoam.html)

hugolopessilva April 17, 2024 03:42

C++ with OpenFOAM
 
Hi,

I would like to know which topics of C++ are useful for the development of CFD routines in OpenFOAM, in the order that it is recommended.

Best regards,

Tobermory April 18, 2024 05:23

To write new code for solvers, coded boundaries etc. you really need a good understanding of the whole of C++, from the bottom up. You might be able to get away with less knowledge for a short while (eg just classes and basic C++ syntax), by just copying and pasting examples that you find in CFDonline, but eventually you will need to write something new and that is where you need the full C++ understanding.

Probably not the answer you wanted - but good luck.

dlahaye April 18, 2024 06:36

I find this useful

https://github.com/UnnamedMoose/Basi...mmingTutorials

good luck. Domenico/.


All times are GMT -4. The time now is 21:00.