|
[Sponsors] |
[foam-extend.org] upgrade to opensuse leap and now problems to install ofext3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2017, 12:27 |
upgrade to opensuse leap and now problems to install ofext3.0
|
#1 |
New Member
Tom Dylan
Join Date: May 2015
Posts: 20
Rep Power: 11 |
Dear foamers,
After having upgraded to openSuse Leap I succeeded installing ofext3.0. But I was no able to compile any solver due to some references of the basic packages (mathematicalConstant) keep unresolved: Code:
Making dependency list for source file boundaries/fixedDisplacementZeroShear/fixedDisplacementZeroShearFvPatchVectorField.C Making dependency list for source file boundaries/standingWaveTheory/standingWaveTheoryFvPatchScalarField.C Making dependency list for source file boundaries/interpolateTimeVaryingTotalTraction/interpolateTimeVaryingTotalTractionFvPatchVectorField.C Making dependency list for source file boundaries/linearVaryingTotalTraction/linearVaryingTotalTractionFvPatchVectorField.C Making dependency list for source file boundaries/zeroTotalTraction/zeroTotalTractionFvPatchVectorField.C Making dependency list for source file boundaries/fixedTotalTraction/fixedTotalTractionFvPatchVectorField.C Making dependency list for source file pDependElastPlastBiotFoam.C g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/hector/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/hector/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/hector/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/global/constants/mathematical -IincrementTractionDisplacement/lnInclude -IlnInclude -I. -I/home/hector/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/hector/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c pDependElastPlastBiotFoam.C -o Make/linux64GccDPInt64Opt/pDependElastPlastBiotFoam.o In file included from pDependElastPlastBiotFoam.C:60:0: readSoilProperties.H: In function ‘int main(int, char**)’: readSoilProperties.H:70:39: error: ‘mathematicalConstant’ has not been declared scalar k = ((1 + sin(varPhi/180.0*mathematicalConstant::pi))/(1 - sin(varPhi/180.0*mathematicalConstant::pi))).value(); ^ readSoilProperties.H:70:88: error: ‘mathematicalConstant’ has not been declared scalar k = ((1 + sin(varPhi/180.0*mathematicalConstant::pi))/(1 - sin(varPhi/180.0*mathematicalConstant::pi))).value(); ^ readSoilProperties.H:72:39: error: ‘mathematicalConstant’ has not been declared scalar m = ((1 + sin(varPsi/180.0*mathematicalConstant::pi))/(1 - sin(varPsi/180.0*mathematicalConstant::pi))).value(); ^ readSoilProperties.H:72:88: error: ‘mathematicalConstant’ has not been declared scalar m = ((1 + sin(varPsi/180.0*mathematicalConstant::pi))/(1 - sin(varPsi/180.0*mathematicalConstant::pi))).value(); ^ pDependElastPlastBiotFoam.C:77:9: error: ‘solverPerformance’ is not a member of ‘Foam::lduMatrix’ lduMatrix::solverPerformance solverPerfP; ^ pDependElastPlastBiotFoam.C:77:38: error: expected ‘;’ before ‘solverPerfP’ lduMatrix::solverPerformance solverPerfP; ^ pDependElastPlastBiotFoam.C:78:9: error: ‘solverPerformance’ is not a member of ‘Foam::lduMatrix’ lduMatrix::solverPerformance solverPerfDU; ^ pDependElastPlastBiotFoam.C:78:38: error: expected ‘;’ before ‘solverPerfDU’ lduMatrix::solverPerformance solverPerfDU; ^ pDependElastPlastBiotFoam.C:82:35: error: ‘class Foam::Time’ has no member named ‘controlDic’ word correct=word(runTime.controlDic t().lookup("correctPlasticity")); ^ pDependElastPlastBiotFoam.C:98:6: error: ‘solverPerfP’ was not declared in this scope solverPerfP = pEqn.solve(); ^ pDependElastPlastBiotFoam.C:101:25: error: no match for ‘operator<<’ (operand types are ‘Foam::Ostream’ and ‘void’) Info<< "p_relax = " << p.relax() << " Pa\n"; and some more code I left Code:
EXE_INC = \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/OpenFOAM/global/constants/mathematical \ -IincrementTractionDisplacement/lnInclude EXE_LIBS = \ -lfiniteVolume \ -llduSolvers \ -lmeshTools Any hints warmly appreciated Tom Last edited by tomdylan; June 15, 2017 at 14:11. Reason: title was not conciese enough |
|
Tags |
of3.0x, opensuse leap, unresolved inc |
|
|