|
[Sponsors] |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2013, 13:08 |
compile error in dynamicMesh and thermophysicalModels libraries
|
#1 |
Member
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 94
Rep Power: 17 |
Hi
I'm trying to compile OF-2.2.x using gcc 4.7.3 and get the following compile error when it gets to the dynamicMesh library: Code:
motionSolver/displacement/displacementMotionSolver.C: In constructor ‘Foam::displacementMotionSolver::displacementMotionSolver(const Foam::polyMesh&, const Foam::IOdictionary&, const Foam::word&)’: motionSolver/displacement/displacementMotionSolver.C:74:5: error: no matching function for call to ‘Foam::motionSolver::motionSolver(const Foam::polyMesh&, const Foam::IOdictionary&, const Foam::word&)’ motionSolver/displacement/displacementMotionSolver.C:74:5: note: candidates are: In file included from motionSolver/displacement/displacementMotionSolver.H:41:0, from motionSolver/displacement/displacementMotionSolver.C:26: lnInclude/motionSolver.H:97:9: note: Foam::motionSolver::motionSolver(const Foam::polyMesh&) lnInclude/motionSolver.H:97:9: note: candidate expects 1 argument, 3 provided lnInclude/motionSolver.H:55:7: note: Foam::motionSolver::motionSolver(const Foam::motionSolver&) lnInclude/motionSolver.H:55:7: note: candidate expects 1 argument, 3 provided make: *** [Make/linux64GccDPOpt/displacementMotionSolver.o] Error 1 I am also getting an error trying to make libso reactionThermo in thermophysicalModels as follows: Code:
psiReactionThermo/psiReactionThermos.C:62:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:63:5: error: ‘homogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:64:5: error: ‘constTransport’ is not a type psiReactionThermo/psiReactionThermos.C:65:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:66:5: error: ‘hConstThermo’ is not a type psiReactionThermo/psiReactionThermos.C:67:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:69:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:75:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:76:5: error: ‘inhomogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:77:5: error: ‘constTransport’ is not a type psiReactionThermo/psiReactionThermos.C:78:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:79:5: error: ‘hConstThermo’ is not a type psiReactionThermo/psiReactionThermos.C:80:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:82:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:88:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:89:5: error: ‘veryInhomogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:90:5: error: ‘constTransport’ is not a type psiReactionThermo/psiReactionThermos.C:91:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:92:5: error: ‘hConstThermo’ is not a type psiReactionThermo/psiReactionThermos.C:93:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:95:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:104:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:105:5: error: ‘homogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:106:5: error: ‘sutherlandTransport’ is not a type psiReactionThermo/psiReactionThermos.C:107:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:108:5: error: ‘hConstThermo’ is not a type psiReactionThermo/psiReactionThermos.C:109:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:111:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:117:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:118:5: error: ‘inhomogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:119:5: error: ‘sutherlandTransport’ is not a type psiReactionThermo/psiReactionThermos.C:120:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:121:5: error: ‘hConstThermo’ is not a type psiReactionThermo/psiReactionThermos.C:122:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:124:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:130:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:131:5: error: ‘veryInhomogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:132:5: error: ‘sutherlandTransport’ is not a type psiReactionThermo/psiReactionThermos.C:133:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:134:5: error: ‘hConstThermo’ is not a type psiReactionThermo/psiReactionThermos.C:135:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:137:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:146:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:147:5: error: ‘homogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:148:5: error: ‘sutherlandTransport’ is not a type psiReactionThermo/psiReactionThermos.C:149:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:150:5: error: ‘janafThermo’ is not a type psiReactionThermo/psiReactionThermos.C:151:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:153:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:159:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:160:5: error: ‘inhomogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:161:5: error: ‘sutherlandTransport’ is not a type psiReactionThermo/psiReactionThermos.C:162:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:163:5: error: ‘janafThermo’ is not a type psiReactionThermo/psiReactionThermos.C:164:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:166:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:172:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:173:5: error: ‘veryInhomogeneousMixture’ is not a type psiReactionThermo/psiReactionThermos.C:174:5: error: ‘sutherlandTransport’ is not a type psiReactionThermo/psiReactionThermos.C:175:5: error: ‘sensibleEnthalpy’ is not a type psiReactionThermo/psiReactionThermos.C:176:5: error: ‘janafThermo’ is not a type psiReactionThermo/psiReactionThermos.C:177:5: error: ‘perfectGas’ is not a type psiReactionThermo/psiReactionThermos.C:179:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:188:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:189:5: error: ‘multiComponentMixture’ is not a type psiReactionThermo/psiReactionThermos.C:191:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:197:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:198:5: error: ‘multiComponentMixture’ is not a type psiReactionThermo/psiReactionThermos.C:200:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:209:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:210:5: error: ‘multiComponentMixture’ is not a type psiReactionThermo/psiReactionThermos.C:212:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:218:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:219:5: error: ‘multiComponentMixture’ is not a type psiReactionThermo/psiReactionThermos.C:221:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:230:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:231:5: error: ‘reactingMixture’ is not a type psiReactionThermo/psiReactionThermos.C:233:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:239:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:240:5: error: ‘reactingMixture’ is not a type psiReactionThermo/psiReactionThermos.C:242:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:248:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:249:5: error: ‘singleStepReactingMixture’ is not a type psiReactionThermo/psiReactionThermos.C:251:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:260:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:261:5: error: ‘reactingMixture’ is not a type psiReactionThermo/psiReactionThermos.C:263:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:269:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:270:5: error: ‘reactingMixture’ is not a type psiReactionThermo/psiReactionThermos.C:272:2: error: expected constructor, destructor, or type conversion before ‘;’ token psiReactionThermo/psiReactionThermos.C:278:5: error: ‘hePsiThermo’ is not a type psiReactionThermo/psiReactionThermos.C:279:5: error: ‘singleStepReactingMixture’ is not a type psiReactionThermo/psiReactionThermos.C:281:2: error: expected constructor, destructor, or type conversion before ‘;’ token Any suggestions. I've tried recompiling through again a few times as well as a fresh go but no luck |
|
August 25, 2013, 08:29 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Nick,
I only now managed to get to your thread. Have you managed to solve this problem? If not, please indicate which instructions you are following and which Linux Distribution you are using, so that I can try and replicate the same issue or indicate a set of instructions that should work. Best regards, Bruno
__________________
|
|
August 30, 2013, 08:42 |
|
#3 |
Member
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 94
Rep Power: 17 |
Hi Bruno
I'm using Ubuntu 13.04 and just the ./Allwmake script from the top directory. (I'm not writing this from my own computer so can't check the name) I've got around it by dropping and dragging binaries/libraries from the OF-2.2.1 distribution for Ubuntu but I'd like to be able to compile it from source for myself... Thanks for your time Nick |
|
December 30, 2019, 01:21 |
Compiling issue with thermophysical model
|
#4 | |
New Member
Manoj
Join Date: Nov 2018
Posts: 6
Rep Power: 8 |
Quote:
Hi NickG, Are you able to solve this issue with thermophysical model..? I am also facing same problem while compiling thermophysical model please let me know if you have something to tell Thank you, Manoj |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam and dynamicMesh fatal error | Rasmusiwersen | OpenFOAM Running, Solving & CFD | 11 | February 23, 2020 05:51 |
An error about the dynamicmesh file of pimpleDymFoam | zxzx | OpenFOAM Running, Solving & CFD | 4 | January 14, 2017 18:49 |
External management of solid motion (using dynamicmesh) | maxou1993 | Main CFD Forum | 0 | July 28, 2015 12:37 |
DynamicMesh not buils using icc 100 in sgi altix 4000 | arkangel | OpenFOAM Installation | 0 | October 24, 2007 10:40 |