CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

C++ with OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Tobermory
  • 2 Post By dlahaye

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2024, 03:42
Default C++ with OpenFOAM
  #1
New Member
 
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 5
hugolopessilva is on a distinguished road
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,
hugolopessilva is offline   Reply With Quote

Old   April 18, 2024, 05:23
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 668
Rep Power: 14
Tobermory will become famous soon enough
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 likes this.
Tobermory is offline   Reply With Quote

Old   April 18, 2024, 06:36
Default
  #3
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 725
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
I find this useful

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

good luck. Domenico/.
sylvester and Tobermory like this.
dlahaye is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
How to develop OpenFOAM with CMake and popular IDEs cosscholar OpenFOAM Programming & Development 0 March 16, 2022 15:17
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


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