arattner1 / superThermo

Supercritical fluid thermodynamic and transport properties for OpenFOAM
GNU General Public License v2.0
19 stars 11 forks source link

Must update first directory in Allwmake.sh #1

Open ecetter opened 1 year ago

ecetter commented 1 year ago

Line 4 in superThermo/superCO2Thermo/Allwmake.sh must be updated.

FROM wmake libso superThermoFinal TO wmake libso superThermo1612Final

This discrepancy causes fatal build errors.

Xllllll521 commented 1 month ago

zhuoying_jin@dezhizhou2:~/superThermo/superCO2Thermo$ source Allwmake.sh wmake libso superThermo1612Final wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file superThermos.C g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bound s -O3 -DNoRepository -ftemplate-depth-100 -I/home/zhuoying_jin/OpenFOAM-6/src/finiteVolume/lnInclude -I/home/zhuoying_jin/OpenFOAM-6/src/th ermophysicalModels/basic/lnInclude -I/home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/specie/lnInclude -I/home/zhuoying_jin/OpenFOAM-6 /src/transportModels/compressible/lnInclude -IlnInclude -I. -I/home/zhuoying_jin/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/zhuoying_jin/Ope nFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c superThermos.C -o Make/linux64GccDPInt32Opt/./superThermos.o In file included from superThermos.C:33: /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/specie/lnInclude/sensibleEnthalpy.H: In instantiation of ‘Foam::scalar Foam::sensible Enthalpy::HE(const Thermo&, Foam::scalar, Foam::scalar) const [with Thermo = Foam::species::thermo<Foam::superH<Foam::PengRobinsonGa s >, Foam::sensibleEnthalpy>; Foam::scalar = double]’: /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/specie/lnInclude/thermoI.H:148:42: required from ‘Foam::scalar Foam::species::therm o<Thermo, Type>::HE(Foam::scalar, Foam::scalar) const [with Thermo = Foam::superH<Foam::PengRobinsonGas >; Type = Foam::sensib leEnthalpy; Foam::scalar = double]’ /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/basic/lnInclude/heRhoThermo.C:99:28: required from ‘void Foam::heRhoThermo<BasicPsi Thermo, MixtureType>::calculate() [with BasicPsiThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture<Foam::constTransport<Foam::species ::thermo<Foam::superH<Foam::PengRobinsonGas >, Foam::sensibleEnthalpy> > >]’ /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/basic/lnInclude/heRhoThermo.C:137:5: required from ‘Foam::heRhoThermo<BasicPsiTherm o, MixtureType>::heRhoThermo(const Foam::fvMesh&, const Foam::word&) [with BasicPsiThermo = Foam::rhoThermo; MixtureType = Foam::pureMixture <Foam::constTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas >, Foam::sensibleEnthalpy> > >]’ /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/basic/lnInclude/rhoThermo.H:83:5: required from ‘static Foam::autoPtr Foam::rhoThermo::addfvMeshConstructorToTable::New(const Foam::fvMesh&, const Foam::word&) [with rhoThermoType = Foam::heR hoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas >, F oam::sensibleEnthalpy> > > >]’ /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/basic/lnInclude/rhoThermo.H:83:5: required from ‘Foam::rhoThermo::addfvMeshConstruc torToTable::addfvMeshConstructorToTable(const Foam::word&) [with rhoThermoType = Foam::heRhoThermo<Foam::rhoThermo, Foam::pur eMixture<Foam::constTransport<Foam::species::thermo<Foam::superH<Foam::PengRobinsonGas >, Foam::sensibleEnthalpy> > > >]’ superThermos.C:59:1: required from here /home/zhuoying_jin/OpenFOAM-6/src/thermophysicalModels/specie/lnInclude/sensibleEnthalpy.H:102:31: error: ‘const class Foam::species::thermo <Foam::superH<Foam::PengRobinsonGas >, Foam::sensibleEnthalpy>’ has no member named ‘Hs’; did you mean ‘HE’? 102 | return thermo.Hs(p, T); | ~~~^~ | HE Do you know the reason for the error?