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

OpenFOAM 4.0 into new OpenFOAM8.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2021, 05:16
Default OpenFOAM 4.0 into new OpenFOAM8.0
  #1
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 130
Rep Power: 16
ramakant is on a distinguished road
Dear All

I want to compile OpenFOAM4.0 solver into the OpenFOAM8.0
Please, anybody, help me or can give a suggestion for this?

Thank you

Regards
Ramakant
Attached Images
File Type: jpg Compling_Error.jpg (161.4 KB, 10 views)
ramakant is offline   Reply With Quote

Old   November 11, 2021, 15:02
Default
  #2
Member
 
MNM
Join Date: Aug 2017
Posts: 67
Rep Power: 8
SHUBHAM9595 is on a distinguished road
For the second part.......Just replace doubleScalarSMALL with either doubleScalarSmall or doubleScalarVSmall.


In 4.0 doubleScalarSMALL is defined as

Code:
static const doubleScalar doubleScalarSMALL = 1.0e-15;
However, in 8.0, its renamed as doubleScalarSmall...

These can be found in the source code of respective versions....Specifically at src/OpenFOAM/primitives/Scalar/doubleScalar/doubleScalar.H and
src/OpenFOAM/primitives/Scalar/scalar/scalar.H
SHUBHAM9595 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
[OpenFOAM.org] OpenFOAM 4.0, bad option -t in zsh rdbisme OpenFOAM Installation 3 December 30, 2016 12:10
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 03:05.