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

changes of files between openfoam versions

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2015, 13:30
Default changes of files between openfoam versions
  #1
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
Hi Foamers,
I have a question how to find which files were replaced in the newer versions of OpenFOAM. I mean the following situations:
I have solver which was dedicated to OF2.1.1. I try to compile this on OF2.3.0 but it needs hsCombustionThermo.H file.
But in the OF2.3.0 version there is no such a file. How can I find out how this part of
the code was replaced?
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   November 13, 2015, 15:26
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Check my combo repository: https://github.com/wyldckat/OpenFOAM-combo/

You will need to git clone it first and then git checkout the "combo" branch. For example:
Code:
cd ~/OpenFOAM
git clone https://github.com/wyldckat/OpenFOAM-combo.git
cd OpenFOAM-combo
git checkout combo
Now things get a bit tricky. First we try to find out when it stopped existing:
Code:
git checkout combo-version-2.1.1
find src -name hsCombustionThermo.H
gitk --all src/thermophysicalModels/reactionThermo/combustionThermo/hsCombustionThermo/hsCombustionThermo.H
Looks like it stopped existing when OpenFOAM 2.2.0 was released.
So we checkout out the closest version and use gitk to inspect the evolution of the remaining folder:
Code:
git checkout combo-version-2.2.1
gitk src/thermophysicalModels/reactionThermo/
In the commit dated "2013-03-06", it shows that several changes were made in the file "src/thermophysicalModels/reactionThermo/Make/files".
Essentially, the file you're looking for was replaced by either a "rho" or a "psi" implementation. For more details we check the release notes on this topic: http://www.openfoam.org/version2.2.0/thermophysical.php
gaza likes this.
wyldckat 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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
Can different OpenFOAM versions share the same ParaView? kiddmax OpenFOAM Installation 4 July 23, 2021 09:20
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
about the additional output files when using CrankNicholson or backward in Openfoam openfoammaofnepo OpenFOAM Running, Solving & CFD 0 August 30, 2014 10:08
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 07:18


All times are GMT -4. The time now is 09:16.