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

Problem in compiling Euler Local Ddt scheme in existing solver?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2020, 22:15
Default Problem in compiling Euler Local Ddt scheme in existing solver?
  #1
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8
BSengupta is on a distinguished road
Hi Foamers!


I am using dbns solvers. I am trying to implement Euler local time stepping (from FoamBazzar). But I received bunch of errors, which I can not understand.



The part of my error is given below:


Code:
from EulerLocalDdtScheme.H:50,
                 from EulerLocalDdtSchemes.C:30:
/home/bidesh/foam/foam-extend-4.0/src/finiteVolume/lnInclude/ddtScheme.H: In instantiation of ‘static Foam::tmp<Foam::fv::ddtScheme<Type> > Foam::fv::ddtScheme<Type>::addIstreamConstructorToTable<ddtSchemeType>::New(const Foam::fvMesh&, Foam::Istream&) [with ddtSchemeType = Foam::fv::EulerLocalDdtScheme<double>; Type = double]’:
/home/bidesh/foam/foam-extend-4.0/src/finiteVolume/lnInclude/ddtScheme.H:94:9:   required from ‘Foam::fv::ddtScheme<Type>::addIstreamConstructorToTable<ddtSchemeType>::addIstreamConstructorToTable(const Foam::word&) [with ddtSchemeType = Foam::fv::EulerLocalDdtScheme<double>; Type = double]’
EulerLocalDdtSchemes.C:39:5:   required from here
/home/bidesh/foam/foam-extend-4.0/src/foam/lnInclude/runTimeSelectionTables.H:73:66: error: invalid new-expression of abstract class type ‘Foam::fv::EulerLocalDdtScheme<double>’
             return autoPtr< baseType >(new baseType##Type parList);           \
                                                                  ^
/home/bidesh/foam/foam-extend-4.0/src/finiteVolume/lnInclude/ddtScheme.H:94:9: note: in expansion of macro ‘declareRunTimeSelectionTable’
         declareRunTimeSelectionTable
         ^
In file included from EulerLocalDdtSchemes.C:30:0:
EulerLocalDdtScheme.H:67:7: note:   because the following virtual functions are pure within ‘Foam::fv::EulerLocalDdtScheme<double>’:
 class EulerLocalDdtScheme
       ^
In file included from EulerLocalDdtScheme.H:50:0,
                 from EulerLocalDdtSchemes.C:30:
/home/bidesh/foam/foam-extend-4.0/src/finiteVolume/lnInclude/ddtScheme.H:164:38: note:     Foam::tmp<Foam::fvMatrix<Type> > Foam::fv::ddtScheme<Type>::fvmDdt(const Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&) [with Type = double]
         virtual tmp<fvMatrix<Type> > fvmDdt
                                      ^
/home/bidesh/foam/foam-extend-4.0/src/finiteVolume/lnInclude/ddtScheme.H:169:38: note:     Foam::tmp<Foam::fvMatrix<Type> > Foam::fv::ddtScheme<Type>::fvmDdt(const dimensionedScalar&, const Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&) [with Type = double; Foam::dimensionedScalar = Foam::dimensioned<double>]
         virtual tmp<fvMatrix<Type> > fvmDdt
                                      ^
/home/bidesh/foam/foam-extend-4.0/src/finiteVolume/lnInclude/ddtScheme.H:175:38: note:     Foam::tmp<Foam::fvMatrix<Type> > Foam::fv::ddtScheme<Type>::fvmDdt(const volScalarField&, const Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>&) [with Type = double; Foam::volScalarField = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
         virtual tmp<fvMatrix<Type> > fvmDdt
BSengupta is offline   Reply With Quote

Reply

Tags
compilation error, dbns, foamextend-4.0, openfoam, time scheme


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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 05:37
Problem in compiling a solver made for a different version (v2.0 ->v4.1) JLS OpenFOAM Programming & Development 2 July 9, 2019 15:03
Local Euler Time Scheme skumar112 OpenFOAM Running, Solving & CFD 0 January 10, 2018 07:59
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 08:09
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 01:01


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