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

compile error on solver compressibleMixingPhaseChangeFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By mkraposhin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2013, 05:43
Default compile error on solver compressibleMixingPhaseChangeFoam
  #1
New Member
 
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12
simon95 is on a distinguished road
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
simon95 is offline   Reply With Quote

Old   October 29, 2013, 18:52
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Simon,

Please provide more information. More specifically, which were the exacts steps you've taken to reach this error?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 29, 2013, 22:12
Default
  #3
New Member
 
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12
simon95 is on a distinguished road
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
.................................................. (because messages could not be too long, some messages are removed here)


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
Best Regards

Simon

Last edited by wyldckat; November 2, 2013 at 16:42. Reason: Added [CODE][/CODE]
simon95 is offline   Reply With Quote

Old   October 30, 2013, 01:28
Default
  #4
New Member
 
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12
simon95 is on a distinguished road
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
simon95 is offline   Reply With Quote

Old   October 30, 2013, 02:27
Default
  #5
New Member
 
weiyi xue
Join Date: Oct 2013
Posts: 10
Rep Power: 12
simon95 is on a distinguished road
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
simon95 is offline   Reply With Quote

Old   October 31, 2013, 13:07
Default Dear friends
  #6
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
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!
wyldckat and ramakant like this.
mkraposhin is offline   Reply With Quote

Old   February 24, 2015, 05:44
Default
  #7
Member
 
Join Date: May 2012
Posts: 55
Rep Power: 14
styleworker is on a distinguished road
I'll get the same error as simon. (OF 2.2.0)

Is there a new release for compressibleMixingPhaseChangeFoam ?
styleworker is offline   Reply With Quote

Old   May 15, 2015, 09:57
Default
  #8
Member
 
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 64
Rep Power: 17
elisabet is on a distinguished road
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
elisabet is offline   Reply With Quote

Old   June 27, 2015, 12:57
Default can you share me a copy of the code?
  #9
New Member
 
jiatangwang
Join Date: Jan 2014
Posts: 9
Rep Power: 12
jiatangwang is on a distinguished road
Quote:
Originally Posted by mkraposhin View Post
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!

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
jiatangwang is offline   Reply With Quote

Old   February 27, 2024, 10:35
Default
  #10
New Member
 
Join Date: Feb 2024
Posts: 5
Rep Power: 2
Lubing Xu is on a distinguished road
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
Lubing Xu is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


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 05:10
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 12:34
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
How to compile an unsteady solver based on solver of MRFSimpleFoam? renyun0511 OpenFOAM Running, Solving & CFD 0 April 27, 2010 12:16
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 06:38.