New Member
Afonso
Join Date: Dec 2021
Location: Brazil
Posts: 2
Rep Power: 0
|
Hello! I am trying to install some libraries from the superThermo project ( https://github.com/arattner1/superThermo) using the ./Allwmake command and it is not working.
My OpenFOAM version is v2112 and this project was desgined with v1612, is this the problem?
Unfortunately the error is too long to post here, so I am adding only the last part, with the beginning of the error as a screenshot attached.
Code:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/rhoThermo.H:89:5: required from ‘Foam::rhoThermo::addfvMeshConstructorToTable<rhoThermoType>::addfvMeshConstructorToTable(const Foam::word&) [with rhoThermoType = Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::icoPolynomial<Foam::specie> >, Foam::sensibleEnthalpy> > > >]’
superThermos.C:136:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/thermoI.H:369:9: error: ‘Hs’ is not a member of ‘Foam::species::thermo<Foam::superH<Foam::icoPolynomial<Foam::specie> >, Foam::sensibleEnthalpy>’
369 | &thermo<Thermo, Type>::Hs,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.H:354,
from /usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heRhoThermo.H:42,
from superThermos.C:46:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::icoPolynomial<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::icoPolynomial<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::icoPolynomial<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::psiThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::Cp() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:403:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:430:38: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Cp’; did you mean ‘Cpv’?
430 | this->cellMixture(celli).Cp(this->p_[celli], this->T_[celli]);
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:444:55: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Cp’; did you mean ‘Cpv’?
444 | this->patchFaceMixture(patchi, facei).Cp(pp[facei], pT[facei]);
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::Field<double> > Foam::heThermo<BasicThermo, MixtureType>::Cp(const scalarField&, const scalarField&, Foam::label) const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >; Foam::scalarField = Foam::Field<double>; Foam::label = int]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:359:30: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:372:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Cp’; did you mean ‘Cpv’?
372 | this->patchFaceMixture(patchi, facei).Cp(p[facei], T[facei]);
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::Field<double> > Foam::heThermo<BasicThermo, MixtureType>::Cp(const scalarField&, const scalarField&, const labelList&) const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >; Foam::scalarField = Foam::Field<double>; Foam::labelList = Foam::List<int>]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:381:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:394:42: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Cp’; did you mean ‘Cpv’?
394 | Cp[i] = this->cellMixture(celli).Cp(p[i], T[i]);
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::Cv() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:498:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:525:38: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Cv’; did you mean ‘Cpv’?
525 | this->cellMixture(celli).Cv(this->p_[celli], this->T_[celli]);
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::Field<double> > Foam::heThermo<BasicThermo, MixtureType>::Cv(const scalarField&, const scalarField&, Foam::label) const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >; Foam::scalarField = Foam::Field<double>; Foam::label = int]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:454:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:467:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Cv’; did you mean ‘Cpv’?
467 | this->patchFaceMixture(patchi, facei).Cv(p[facei], T[facei]);
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::sutherlandTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::sutherlandTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::rhoConst<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C: In instantiation of ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::hc() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> > >]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:312:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:339:51: error: ‘const class Foam::constTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
339 | hcCells[celli] = this->cellMixture(celli).Hc();
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:350:64: error: ‘const class Foam::constTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> >’ has no member named ‘Hc’; did you mean ‘HE’?
350 | hcp[facei] = this->patchFaceMixture(patchi, facei).Hc();
In file included from /usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/thermo.H:384,
from superThermos.C:34:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/thermoI.H: In instantiation of ‘Foam::scalar Foam::species::thermo<Thermo, Type>::gamma(Foam::scalar, Foam::scalar) const [with Thermo = Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >; Type = Foam::sensibleEnthalpy; Foam::scalar = double]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:593:22: required from ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::gamma() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >]’
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:567:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/thermoI.H:130:29: error: ‘const class Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy>’ has no member named ‘Cp’; did you mean ‘Cpv’?
130 | const scalar Cp = this->Cp(p, T);
| ~~~~~~^~
| Cpv
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/thermoI.H:133:27: error: ‘const class Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy>’ has no member named ‘CpMCv’; did you mean ‘Cpv’?
133 | return Cp/(Cp - this->CpMCv(p, T));
| ~~~~~~^~~~~
| Cpv
In file included from superThermos.C:33:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/sensibleEnthalpy.H: In instantiation of ‘Foam::scalar Foam::sensibleEnthalpy<Thermo>::Cpv(const Thermo&, Foam::scalar, Foam::scalar) const [with Thermo = Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy>; Foam::scalar = double]’:
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/thermoI.H:119:43: required from ‘Foam::scalar Foam::species::thermo<Thermo, Type>::Cpv(Foam::scalar, Foam::scalar) const [with Thermo = Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >; Type = Foam::sensibleEnthalpy; Foam::scalar = double]’
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:668:20: required from ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::heThermo<BasicThermo, MixtureType>::Cpv() const [with BasicThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::superTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy> > >]’
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/basic/lnInclude/heThermo.C:642:1: required from here
/usr/lib/openfoam/openfoam2112/src/thermophysicalModels/specie/lnInclude/sensibleEnthalpy.H:91:31: error: ‘const class Foam::species::thermo<Foam::superH<Foam::PengRobinsonGasPConst<Foam::specie> >, Foam::sensibleEnthalpy>’ has no member named ‘Cp’; did you mean ‘Cpv’?
91 | return thermo.Cp(p, T);
| ~~~~~~~^~
| Cpv
make: *** [/usr/lib/openfoam/openfoam2112/wmake/rules/General/transform:35: Make/linux64GccDPInt32Opt/./superThermos.o] Error 1
The folder that I am trying to install is in this link: https://github.com/arattner1/superTh...hermo1612Final
|