|
[Sponsors] |
PANS Turbulence Model Compilation Issue - OpenFOAM v-11 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 6, 2023, 11:30 |
PANS Turbulence Model Compilation Issue - OpenFOAM v-11
|
#1 |
New Member
Ishak
Join Date: Dec 2023
Posts: 3
Rep Power: 2 |
Hello Everyone,
I'm trying to upload a PANS Turbulent model from openFOAM v7 to openFoam v11. I changed some syntaxe like below: " TransportModel " ==> "MomentumTransportModel" remove : "typedef typename BasicTurbulenceModel :: transportModel transportModel;" remove and replace those line "transportModel& transport, word& propertiesName = turbulenceModel :: propertiesName," ==> "const viscosity& viscosity," change also fvOption.. And when i fixed all the errors, I get one error that I didn't know how to fix Error: Code:
incompressibleMomentumTransportModels.C:72:1: required from here /home/ishak/OpenFOAM/OpenFOAM-11/src/OpenFOAM/lnInclude/runTimeSelectionTables.H:72:38: error: invalid new-expression of abstract class type ‘Foam::RASModels::kEpsilonPANS<Foam::incompressibleMomentumTransportModel>’ 72 | return autoPtr<baseType>(new baseType##Type parList); \ ../momentumTransportModels/lnInclude/RASModel.H:107:9: note: in expansion of macro ‘declareRunTimeSelectionTable’ 107 | declareRunTimeSelectionTable | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../momentumTransportModels/lnInclude/kEpsilonPANS.H:118:7: note: because the following virtual functions are pure within ‘Foam::RASModels::kEpsilonPANS<Foam::incompressibleMomentumTransportModel>’: 118 | class kEpsilonPANS | ^~~~~~~~~~~~ ../momentumTransportModels/lnInclude/momentumTransportModel.H:208:37: note: ‘virtual Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::momentumTransportModel::omega() const’ 208 | virtual tmp<volScalarField> omega() const = 0; | ^~~~~ make: *** [/home/ishak/OpenFOAM/OpenFOAM-11/wmake/rules/General/transform:25: /home/ishak/OpenFOAM/OpenFOAM-11/platforms/linux64GccDPInt32Opt/src/MomentumTransportModels/incompressible/incompressibleMomentumTransportModels.o] Error 1 make: *** Waiting for unfinished jobs.... Is there anyone who can help me please or are facing the same issue? Last edited by Ishak.Mazing; December 7, 2023 at 03:52. |
|
Tags |
openfoam, pans, turbulence |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New turbulence model in OpenFOAM 5 with porosity scalar | shinjanghosh | OpenFOAM Programming & Development | 0 | January 15, 2020 01:06 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
OpenFOAM: LES turbulence model names | Ollie | Main CFD Forum | 1 | April 11, 2011 14:03 |