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

[foam-extend.org] upgrade to opensuse leap and now problems to install ofext3.0

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 15, 2017, 12:27
Default upgrade to opensuse leap and now problems to install ofext3.0
  #1
New Member
 
tomdylan's Avatar
 
Tom Dylan
Join Date: May 2015
Posts: 20
Rep Power: 11
tomdylan is on a distinguished road
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
Surprisingly, everything was OK when working under the previous openSuse 13.1

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
It looks like some other libs should be included (or the sequence be changed ?). But I have no clue...

Any hints warmly appreciated

Tom

Last edited by tomdylan; June 15, 2017 at 14:11. Reason: title was not conciese enough
tomdylan is offline   Reply With Quote

 

Tags
of3.0x, opensuse leap, unresolved inc


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



All times are GMT -4. The time now is 23:30.