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, 04:42
Default C++ with OpenFOAM
  #1
New Member
 
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6
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, 06:23
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 747
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, 07:36
Default
  #3
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
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 12:58
How to develop OpenFOAM with CMake and popular IDEs cosscholar OpenFOAM Programming & Development 0 March 16, 2022 16:17
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 14:29.