|
[Sponsors] |
June 12, 2020, 12:10 |
Updating from openfoam v2.4.0 to v7
|
#1 |
Member
Sam
Join Date: May 2019
Posts: 64
Rep Power: 6 |
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 |
|
|
|
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 |