|
[Sponsors] |
compile error on solver compressibleMixingPhaseChangeFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2013, 04:43 |
compile error on solver compressibleMixingPhaseChangeFoam
|
#1 |
New Member
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12 |
I tried to compile solver compressibleMixingPhaseChangeFoam on openfoam 2.2.0. I got following error. It seems that libphaseChangeSolverLib.so was built successfully. but it failed at solver built. make-all.sh was issued.
/home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libphaseChangeSolverLib.so: undefined reference to `Foam::lduMatrix::great_' collect2: ld is terminated at status 1 make: *** [/home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/bin/compressibleMixingPhaseChangeFoam] error 1 Thanks in advance. Simon |
|
October 29, 2013, 17:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Simon,
Please provide more information. More specifically, which were the exacts steps you've taken to reach this error? Best regards, Bruno
__________________
|
|
October 29, 2013, 21:12 |
|
#3 |
New Member
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12 |
Hi Bruno
Thanks for your prompt reply. I downloaded CompressibleMixingPhaseChangeFoam source codes from following site. http://openfoamwiki.net/index.php/Co...haseChangeFoam after extracting the archive. clean-all.sh and make-all.sh are issued sequentially. after make-all.sh, I got following messages. I saw that libphaseChangeSolverLib.so was created. but the sovler could not be created. I used openfoam2.2.0 but the sovler is for 2.1.0. Is it an issue of version. Code:
gfortran -ffree-line-length-none -fPIC -fno-underscoring -c tagi_lib.f90 gfortran -shared tagi_lib.o -olibTagiLib.so.1 rm -rf /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libTagiLib.so.1 rm -rf /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libTagiLib.so cp libTagiLib.so.1 /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libTagiLib.so.1 ln -s /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libTagiLib.so.1 /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libTagiLib.so wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C Making dependency list for source file Code:
SOURCE=phaseChangeTwoPhaseMixtures/Merkle/Merkle.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/Merkle.o SOURCE=phaseChangeTwoPhaseMixtures/Kunz/Kunz.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/Kunz.o SOURCE=phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SchnerrSauer.o SOURCE=phaseChangeTwoPhaseMixtures/SchnerrSauerMod/SchnerrSauerMod.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SchnerrSauerMod.o SOURCE=phaseChangeTwoPhaseMixtures/Singhal/Singhal.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/Singhal.o SOURCE=phaseChangeTwoPhaseMixtures/Zwart/Zwart.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/Zwart.o phaseChangeTwoPhaseMixtures/Zwart/Zwart.C: In member function 'Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::phaseChangeTwoPhaseMixtures::Zwart::pCoeff(const volScalarField&) const': phaseChangeTwoPhaseMixtures/Zwart/Zwart.C:79:27: warning: unused variable 'rho' [-Wunused-variable] SOURCE=timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchFields.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/timeVaryingUniformFixedValueFvPatchFields.o SOURCE=flowRateInletPressure/flowRateInletPressureFvPatchScalarField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/flowRateInletPressureFvPatchScalarField.o flowRateInletPressure/flowRateInletPressureFvPatchScalarField.C: In member function 'virtual void Foam::flowRateInletPressureFvPatchScalarField::rmap(const fvPatchScalarField&, const labelList&)': flowRateInletPressure/flowRateInletPressureFvPatchScalarField.C:142:52: warning: unused variable 'tiptf' [-Wunused-variable] SOURCE=delayedOutletPressure/delayedOutletPressureFvPatchScalarField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/delayedOutletPressureFvPatchScalarField.o delayedOutletPressure/delayedOutletPressureFvPatchScalarField.C: In member function 'virtual void Foam::delayedOutletPressureFvPatchScalarField::rmap(const fvPatchScalarField&, const labelList&)': delayedOutletPressure/delayedOutletPressureFvPatchScalarField.C:122:52: warning: unused variable 'tiptf' [-Wunused-variable] SOURCE=wallBubbleFlux/wallBubbleFluxFvPatchScalarField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/wallBubbleFluxFvPatchScalarField.o wallBubbleFlux/wallBubbleFluxFvPatchScalarField.C: In member function 'virtual void Foam::wallBubbleFluxFvPatchScalarField::rmap(const fvPatchScalarField&, const labelList&)': wallBubbleFlux/wallBubbleFluxFvPatchScalarField.C:122:45: warning: unused variable 'tiptf' [-Wunused-variable] wallBubbleFlux/wallBubbleFluxFvPatchScalarField.C: In member function 'virtual void Foam::wallBubbleFluxFvPatchScalarField::updateCoeffs()': wallBubbleFlux/wallBubbleFluxFvPatchScalarField.C:148:9: warning: unused variable 'Vp' [-Wunused-variable] SOURCE=timeFilter/timeFilter.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/timeFilter.o SOURCE=bicgStabSolver/bicgStabSolver.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/bicgStabSolver.o In file included from bicgStabSolver/bicgStabSolver.C:34:0: bicgStabSolver/bicgStabSolver.H:98:17: error: 'solverPerformance' in 'class Foam::lduMatrix' does not name a type bicgStabSolver/bicgStabSolver.C:89:1: error: 'solverPerformance' in 'class Foam::lduMatrix' does not name a type In file included from bicgStabSolver/bicgStabSolver.H:43:0, from bicgStabSolver/bicgStabSolver.C:34: /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H: In static member function 'static Foam::autoPtr<Foam::lduMatrix::solver> Foam::lduMatrix::solver::addsymMatrixConstructorToTable<solverType>::New(const Foam::word&, const Foam::lduMatrix&, const Foam::FieldField<Foam::Field, double>&, const Foam::FieldField<Foam::Field, double>&, const lduInterfaceFieldPtrsList&, const Foam::dictionary&) [with solverType = Foam::bicgStabSolver, Foam::lduMatrix = Foam::lduMatrix, Foam::lduInterfaceFieldPtrsList = Foam::UPtrList<const Foam::lduInterfaceField>]': /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:130:13: instantiated from 'Foam::lduMatrix::solver::addsymMatrixConstructorToTable<solverType>::addsymMatrixConstructorToTable(const Foam::word&) [with solverType = Foam::bicgStabSolver]' bicgStabSolver/bicgStabSolver.C:44:9: instantiated from here /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:130:13: error: cannot allocate an object of abstract type 'Foam::bicgStabSolver' bicgStabSolver/bicgStabSolver.H:54:7: note: because the following virtual functions are pure within 'Foam::bicgStabSolver': /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:242:39: note: virtual Foam::solverPerformance Foam::lduMatrix::solver::solve(Foam::scalarField&, const scalarField&, Foam::direction) const /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H: In static member function 'static Foam::autoPtr<Foam::lduMatrix::solver> Foam::lduMatrix::solver::addasymMatrixConstructorToTable<solverType>::New(const Foam::word&, const Foam::lduMatrix&, const Foam::FieldField<Foam::Field, double>&, const Foam::FieldField<Foam::Field, double>&, const lduInterfaceFieldPtrsList&, const Foam::dictionary&) [with solverType = Foam::bicgStabSolver, Foam::lduMatrix = Foam::lduMatrix, Foam::lduInterfaceFieldPtrsList = Foam::UPtrList<const Foam::lduInterfaceField>]': /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:153:13: instantiated from 'Foam::lduMatrix::solver::addasymMatrixConstructorToTable<solverType>::addasymMatrixConstructorToTable(const Foam::word&) [with solverType = Foam::bicgStabSolver]' bicgStabSolver/bicgStabSolver.C:47:9: instantiated from here /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:153:13: error: cannot allocate an object of abstract type 'Foam::bicgStabSolver' bicgStabSolver/bicgStabSolver.H:54:7: note: since type 'Foam::bicgStabSolver' has pure virtual functions /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H: In static member function 'static Foam::autoPtr<Foam::lduMatrix::solver> Foam::lduMatrix::solver::addsymMatrixConstructorToTable<solverType>::New(const Foam::word&, const Foam::lduMatrix&, const Foam::FieldField<Foam::Field, double>&, const Foam::FieldField<Foam::Field, double>&, const lduInterfaceFieldPtrsList&, const Foam::dictionary&) [with solverType = Foam::bicgStabSolver, Foam::lduMatrix = Foam::lduMatrix, Foam::lduInterfaceFieldPtrsList = Foam::UPtrList<const Foam::lduInterfaceField>]': /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:130:13: warning: control reaches end of non-void function [-Wreturn-type] /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H: In static member function 'static Foam::autoPtr<Foam::lduMatrix::solver> Foam::lduMatrix::solver::addasymMatrixConstructorToTable<solverType>::New(const Foam::word&, const Foam::lduMatrix&, const Foam::FieldField<Foam::Field, double>&, const Foam::FieldField<Foam::Field, double>&, const lduInterfaceFieldPtrsList&, const Foam::dictionary&) [with solverType = Foam::bicgStabSolver, Foam::lduMatrix = Foam::lduMatrix, Foam::lduInterfaceFieldPtrsList = Foam::UPtrList<const Foam::lduInterfaceField>]': /opt/openfoam220/src/OpenFOAM/lnInclude/lduMatrix.H:153:13: warning: control reaches end of non-void function [-Wreturn-type] make: *** [Make/linux64GccDPOpt/bicgStabSolver.o] Error 1 Making dependency list for source file compressibleMixingPhaseChangeFoam.C SOURCE=compressibleMixingPhaseChangeFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -I../phaseChangeSolverLib/lnInclude -I. -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/compressibleMixingPhaseChangeFoam.o In file included from massEquations.H:2:0, from compressibleMixingPhaseChangeFoam.C:81: phaseFractionEquations/alphaEqnsSubCycle.H: In function 'int main(int, char**)': phaseFractionEquations/alphaEqnsSubCycle.H:2:11: warning: unused variable 'nAlphaCorr' [-Wunused-variable] createFields.H:104:27: warning: unused variable 'Cv1' [-Wunused-variable] createFields.H:105:27: warning: unused variable 'Cv2' [-Wunused-variable] createFields.H:119:27: warning: unused variable 'beta1' [-Wunused-variable] createFields.H:120:27: warning: unused variable 'beta2' [-Wunused-variable] /opt/openfoam220/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable 'maxDeltaT' [-Wunused-variable] g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/transportModels -I/opt/openfoam220/src/transportModels/incompressible/lnInclude -I/opt/openfoam220/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam220/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam220/src/finiteVolume/lnInclude -I../phaseChangeSolverLib/lnInclude -I. -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/compressibleMixingPhaseChangeFoam.o -L/opt/openfoam220/platforms/linux64GccDPOpt/lib \ -ltwoPhaseInterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -L/home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib -lphaseChangeSolverLib -lOpenFOAM -ldl -lm -o /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/bin/compressibleMixingPhaseChangeFoam /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libphaseChangeSolverLib.so: undefined reference to `Foam::lduMatrix::solverPerformance::checkConvergence(double, double)' /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libphaseChangeSolverLib.so: undefined reference to `Foam::outputFilterOutputControl::output() const' /home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/lib/libphaseChangeSolverLib.so: undefined reference to `Foam::lduMatrix::great_' collect2: ld returned 1 exit status make: *** [/home/weiyi/OpenFOAM/weiyi-2.2.0/platforms/linux64GccDPOpt/bin/compressibleMixingPhaseChangeFoam] Error 1 Simon Last edited by wyldckat; November 2, 2013 at 15:42. Reason: Added [CODE][/CODE] |
|
October 30, 2013, 00:28 |
|
#4 |
New Member
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12 |
I checked error messages again and it seems that it suffered an error while compiling a lib. you can found following error message in previous post.
make: *** [Make/linux64GccDPOpt/bicgStabSolver.o] Error 1 a lib file could not be created because of above error. I checked directory and found that lib was there. I deleted it and could not get it again. Thanks Simon |
|
October 30, 2013, 01:27 |
|
#5 |
New Member
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12 |
I update you with more testing results below.
When I extracted package and go to following directory /compressibleMixingPhaseChangeFoam-New/OpenFOAM-2.1.0/phaseChangeSolverLib I issued ./make-all.sh directly and I can get a lib file --libphaseChangeSolverLib.so (1) If I issue ./clean-all.sh and then ./make-all.sh. I had following error and libphaseChangeSolverLib.so could not be created. make: *** [Make/linux64GccDPOpt/bicgStabSolver.o] Error 1 (2) I also tried to use libphaseChangeSolverLib.so to built a solver, however it failed. Therefore, The error messages at (1) and (2) are shown in previous log messages. Thanks Simon |
|
October 31, 2013, 12:07 |
Dear friends
|
#6 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Dear friends!
Please, don't try to use compressibleMixingPhaseChangeFoam! Today i'm working on the new version of this solver. I hope to publish it soon. Governing equations of this solver were rewritten completely Thank you for understanding! |
|
February 24, 2015, 04:44 |
|
#7 |
Member
Join Date: May 2012
Posts: 55
Rep Power: 15 |
I'll get the same error as simon. (OF 2.2.0)
Is there a new release for compressibleMixingPhaseChangeFoam ? |
|
May 15, 2015, 08:57 |
|
#8 |
Member
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 64
Rep Power: 17 |
Dear Matvej,
Is your updated version of compressibleMixingPhaseChangeFoam available? The one in contrib web page is for OpenFOAM-2.1.0. Thus, I guess that's the old source code version. Many thanks, Elisabet |
|
June 27, 2015, 11:57 |
can you share me a copy of the code?
|
#9 | |
New Member
jiatangwang
Join Date: Jan 2014
Posts: 9
Rep Power: 12 |
Quote:
Dear mkraposhin, Glad to contact you. The model developed by you is very useful for my fuel cell model. But I can not download the source code from the link. Maybe it is the berries between the country. I am a Chinese but in Sweden. Can you please send me a copy to me please ?? My E-mail is : wangjiatang1234@163.com Thanks very much. Jiatang |
||
February 27, 2024, 09:35 |
|
#10 |
New Member
Join Date: Feb 2024
Posts: 5
Rep Power: 2 |
Dear jiatang wang,
have you found the model? The model is also very useful in my flash boiling model. My E-mails is :1632709886@qq.com |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to compile a new solver in OpenFOAM-2.1.0? | sandy | OpenFOAM Programming & Development | 24 | July 27, 2016 04:10 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 11:34 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
How to compile an unsteady solver based on solver of MRFSimpleFoam? | renyun0511 | OpenFOAM Running, Solving & CFD | 0 | April 27, 2010 11:16 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |