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

Updating from openfoam v2.4.0 to v7

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2020, 12:10
Default Updating from openfoam v2.4.0 to v7
  #1
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 6
saj216 is on a distinguished road
Hey guys,

I have upgraded my solver interThermalPhaseChangeFoam from v2.4.0 to v7.

I am currently having problems regarding the changes made in interfaceProperties relating to sigma in the surfacetensionmodel. In the surfacetensionforcemodel within the solver, sigma is used from interfaceProperties.

Sigma has been changed in the .C file from sigma_(dict.lookup("sigma")), to sigmaPtr_(surfaceTensionModel::New(dict, alpha1.mesh()))

Which relates to a newly developed surfacetensionmodel in the structure of the surfacetensionmodel in interfaceProperties.

See here https://github.com/OpenFOAM/OpenFOAM...ceProperties.C

https://github.com/OpenFOAM/OpenFOAM...ceProperties.C

The .H file sigma has changed from dimensionedScalar sigma_ to autoPtr<surfaceTensionModel> sigmaPtr_;

https://github.com/OpenFOAM/OpenFOAM...ceProperties.H

See here https://github.com/OpenFOAM/OpenFOAM...ceProperties.H

in my solver it is sigma is line 206 found here that is the issue https://github.com/MahdiNabil/CFD-PC...dels/SST/SST.C

The error message when compiling states that sigma is not a member of interfaceProperties in v7.

I hope I have provided enough information here. I hope someone can help me.

saj216
saj216 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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 21:07


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