|
[Sponsors] |
Difficulty with compilation reactingTwoPhaseEulerFoam in Ubuntu on windows 10 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 22, 2019, 20:21 |
Difficulty with compilation reactingTwoPhaseEulerFoam in Ubuntu on windows 10
|
#1 |
New Member
Cláudio Corrêa
Join Date: Aug 2016
Posts: 10
Rep Power: 9 |
Hi, everyone!
I'm trying to compile reactingTwoPhaseEulerFoam in ubuntu 16.04 LTS on windows 10, but after copying the solver to the working directory I used "./Allwmake" the following error appeared ... -I../interfacialModels/lnInclude -I../interfacialCompositionModels/lnInclude -I/opt/openfoam5/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam5/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam5/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam5/src/transportModels/compressible/lnInclude -I/opt/openfoam5/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam5/src/TurbulenceModels/compressible/lnInclude -I/opt/openfoam5/src/TurbulenceModels/phaseCompressible/lnInclude -I/opt/openfoam5/src/combustionModels/lnInclude -I/opt/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -I/opt/openfoam5/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -shared -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/phaseModel/phaseModel/phaseModel.o Make/linux64GccDPInt32Opt/phaseModel/phaseModel/newPhaseModel.o Make/linux64GccDPInt32Opt/phaseModel/phaseModel/phaseModels.o Make/linux64GccDPInt32Opt/phasePair/phasePairKey/phasePairKey.o Make/linux64GccDPInt32Opt/phasePair/phasePair/phasePair.o Make/linux64GccDPInt32Opt/phasePair/orderedPhasePair/orderedPhasePair.o Make/linux64GccDPInt32Opt/phaseSystem/phaseSystem.o Make/linux64GccDPInt32Opt/diameterModels/diameterModel/diameterModel.o Make/linux64GccDPInt32Opt/diameterModels/diameterModel/newDiameterModel.o Make/linux64GccDPInt32Opt/diameterModels/constantDiameter/constantDiameter.o Make/linux64GccDPInt32Opt/diameterModels/isothermalDiameter/isothermalDiameter.o Make/linux64GccDPInt32Opt/BlendedInterfacialModel/blendingMethods/blendingMethod/blendingMethod.o Make/linux64GccDPInt32Opt/BlendedInterfacialModel/blendingMethods/blendingMethod/newBlendingMethod.o Make/linux64GccDPInt32Opt/BlendedInterfacialModel/blendingMethods/noBlending/noBlending.o Make/linux64GccDPInt32Opt/BlendedInterfacialModel/blendingMethods/linear/linear.o Make/linux64GccDPInt32Opt/BlendedInterfacialModel/blendingMethods/hyperbolic/hyperbolic.o Make/linux64GccDPInt32Opt/reactionThermo/hRefConstThermos.o -L/opt/openfoam5/platforms/linux64GccDPInt32Opt/lib \ -lcombustionModels -o /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libreactingPhaseSystem.so /usr/bin/ld: cannot open output file /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libreactingPhaseSystem.so: Permission denied collect2: error: ld returned 1 exit status /opt/openfoam5/wmake/makefiles/general:167: recipe for target '/opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libreactingPhaseSystem.so' failed make: *** [/opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libreactingPhaseSystem.so] Error 1 Could anyone help me to understand this error? |
|
January 27, 2019, 15:28 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: I can't find a better tutorial for this, so here is an old example tutorial on how to create your own custom library: https://openfoamwiki.net/index.php/H...dary_condition
Or for a more complete understanding, study days 11 to 15 from here: https://wiki.openfoam.com/%223_weeks%22_series
__________________
|
|
January 28, 2019, 10:45 |
|
#3 | |
New Member
Cláudio Corrêa
Join Date: Aug 2016
Posts: 10
Rep Power: 9 |
Quote:
Thank you! I will access the links and post my doubts, if there are any!! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] v1712 with Docker on Ubuntu 17.10. Use same docker in Windows 10? | amh@inventas.no | OpenFOAM Installation | 0 | January 30, 2018 08:59 |
OpenFoam 2.1.x /2.2.0 compilation failed on Ubuntu 12.04/10 64bit | keepfit | OpenFOAM Installation | 2 | March 26, 2013 09:43 |
SU^2 v2.0 compilation with MSMPI on Windows HPC Server 2008R2 | AEMD | SU2 Installation | 2 | March 25, 2013 08:59 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |