|
[Sponsors] |
Multiphase flow and Phase change due to heat transferevaporation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2009, 14:30 |
build instructions
|
#21 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
first of all,
type in wclean to cleanup previous buid |
|
March 23, 2009, 06:18 |
|
#22 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear Matvej,
Thanks again for replying following errors issued; lnInclude/basicThermo.H:In member function 'virtual Foam::volScalarFields& Foam::basicThermo:: p()': lnInclude/basicThermo.H:126: error: invalid initialization of reference of type 'Foam::volScalarFields&' from expression of type 'const Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>' lnInclude/basicThermo.H:In member function 'virtual Foam::volScalarFields& Foam::basicThermo::h()': lnInclude/basicThermo.H:141: error: invalid initialization of reference of type 'Foam::volScalarFields&' from expression of type 'const Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>' lnInclude/basicThermo.H:In member function 'virtual Foam::volScalarFields& Foam::basicThermo::e()': lnInclude/basicThermo.H:186: error: invalid initialization of reference of type 'Foam::volScalarFields&' from expression of type 'const Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>' |
|
March 23, 2009, 07:32 |
|
#23 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
1) What OpenFOAM version are you using? I'm using v. 1.4.1
2) What operating system? (OpenSuSE 10.3) 3) What g++ version? (4.2.1) |
|
March 23, 2009, 08:19 |
|
#24 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
OpenFoam 1.5
OS: OpenSUSE 11 gcc version 4.3.1 |
|
March 25, 2009, 06:48 |
|
#25 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear Matvej,
Have you got any idea, what the problem could be? thanks, Hamed |
|
March 25, 2009, 07:24 |
|
#26 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
hi, haghajani,
I'm sorry for late reply i'll try installing OF 1.5 this week, then i'll try to compile solver for this version and report to you 29.03 |
|
March 29, 2009, 12:02 |
cavitatingPimpleFoam for OpenFOAM 1.5
|
#27 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Hi All!
Here is a link for source code of caviatingPimpleFoam solver for OpenFOAM 1.5 http://www.os-cfd.narod.ru/small_fil...leFoam_1.5.tgz |
|
April 3, 2009, 15:11 |
|
#28 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear Matvej,
Many thanks for updating the forum with you code; Today I came to your code; after wclean & wmake, again I faced this error; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/hamed/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -IcompressibilityModels/compressibilityModel -IgammaModels/gammaModel -IbaroThermo -I/home/hamed/OpenFOAM/OpenFOAM-1.5/src/transportModels -IaltCompressibleTurbModels/lnInclude -IlnInclude -I. -I/home/hamed/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/hamed/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC Make/linux64GccDPOpt/cavitatingPimpleFoam.o Make/linux64GccDPOpt/compressibilityModel.o Make/linux64GccDPOpt/newCompressibilityModel.o Make/linux64GccDPOpt/linear.o Make/linux64GccDPOpt/Wallis.o Make/linux64GccDPOpt/Chung.o Make/linux64GccDPOpt/gammaModel.o Make/linux64GccDPOpt/newGammaModel.o Make/linux64GccDPOpt/constant.o Make/linux64GccDPOpt/defaultGM.o Make/linux64GccDPOpt/SinghalMerkle.o Make/linux64GccDPOpt/Kunz.o Make/linux64GccDPOpt/Merkle.o Make/linux64GccDPOpt/baroThermo.o -L/home/hamed/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt \ -lfiniteVolume -L/home/hamed/OpenFOAM/hamed-1.5/lib/linux64GccDPOpt -lcompressibleAltTurbulenceModels -lOpenFOAM -liberty -ldl -lm -o /home/hamed/OpenFOAM/hamed-1.5/applications/bin/linux64GccDPOpt/cavitatingPimpleFoam /usr/bin/ld: cannot find -lcompressibleAltTurbulenceModels collect2: ld returned 1 exit status make: *** [/home/hamed/OpenFOAM/hamed-1.5/applications/bin/linux64GccDPOpt/cavitatingPimpleFoam] Error 1 unfortunately, I couldn't find out the source; Thanks, Hamed |
|
April 3, 2009, 15:26 |
interPhaseChangeFoam tutorial
|
#29 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear all,
If your are going to work with interPhaseChangeFoam and you are looking for a tutorial, I have update the well-known dambreak case, and you can use of it to start; Good Luck, Hamed |
|
April 5, 2009, 04:16 |
|
#30 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Go to directory altCompressibleTurbModels, type wclean and then wmake
|
|
April 7, 2009, 10:25 |
|
#31 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear Matvej,
sorry to interrupt you too much, but I wonder I can not make the solver; following error has been raised; .... Make/linux64GccDPOpt/mutStandardRoughWallFunctionFvPatchScalarField.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam:bjectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const': mutStandardRoughWallFunctionFvPatchScalarField.C .text._ZNK4Foam14objectRegistry12lookupObjectINS_1 4GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEEE ERKT_RKNS_4wordE[Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam:bjectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const]+0x170): undefined reference to `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::typeName' mutStandardRoughWallFunctionFvPatchScalarField.C .text._ZNK4Foam14objectRegistry12lookupObjectINS_1 4GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEEE ERKT_RKNS_4wordE[Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam:bjectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const]+0x2c4): undefined reference to `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::typeName' collect2: ld returned 1 exit status make: *** [OpenFOAM.out] Error 1 best, Hamed |
|
April 7, 2009, 16:11 |
|
#32 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Can you post here all steps you are doing?
because i don't have mutStandardWallFunctions Your information could be very useful, because some of my students experienced some problems with my solver, but i'm - not ^) |
|
April 7, 2009, 16:16 |
|
#33 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
actually, you should go to dir altCompressibleTurbModels and type 'wclean', then 'wmake libso'
then, you must go up and type 'wclean; wmake' |
|
April 8, 2009, 07:18 |
|
#34 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear Matvej,
Thanks again, it has been compiled. best, Hamed |
|
April 13, 2009, 09:56 |
|
#35 |
Member
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17 |
Dear mkraposhin
thanks for your new solver do you hava a simple case for cavitatingPimpleFoam? or could you please show us how to build a new file so called constant/thermodynamicPr ? based on : Info<< "Reading thermodynamicProperties\n" << endl; IOdictionary thermodynamicProperties ( IOobject ( "thermodynamicProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE ) ); dimensionedScalar psil(thermodynamicProperties.lookup("psil")); dimensionedScalar rholSat(thermodynamicProperties.lookup("rholSat")) ; dimensionedScalar psiv(thermodynamicProperties.lookup("psiv")); dimensionedScalar pSat(thermodynamicProperties.lookup("pSat")); dimensionedScalar rhovSat("rhovSat", psiv*pSat); dimensionedScalar rhol0("rhol0", rholSat - pSat*psil); Info << "rhol0 - " << rhol0 << endl; dimensionedScalar rhoMin(thermodynamicProperties.lookup("rhoMin")); many thanks |
|
April 15, 2009, 11:48 |
|
#36 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
You can use thermodynamicProperties file from rasCavitatingFoam (or cavitatingFoam) solver tutorial
|
|
April 15, 2009, 14:45 |
|
#37 |
Member
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17 |
Dear Matvej
thanks for the information anyway , what about the keyword gammaModel ? since it is undefined in dictionary of thermodynamicProperties ? how should i modifiy the gammaModel? |
|
April 16, 2009, 11:56 |
Cavitation solver
|
#38 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Dear friends!
I found some errors in the code of my solver. I'll fix them till 19.04.2009. Then, i'll put links to test cases and updated code on this thread. |
|
May 5, 2009, 11:53 |
|
#39 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear Matvej,
Have you updated the code/Test cases? Please update the tread with your comments Best regards, Hamed |
|
May 7, 2009, 07:52 |
|
#40 |
Member
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17 |
Dear All,
How can I trace the vaporized liquid (changed phase from 1->0) in to air. I am trying to study the effect of flash evaporation in high pressure liquid Hydrogen release. I used interPhaseChangeFoam for a simple case and the results seems reasonable. Now I want also see the vapor of hydrogen inside surrounding air. Best regards, Hamed Aghajani hamed.aghajani@gmail.com h.aghajani@kingston.ac.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modelling Supersonic TwoPhase Flow with Phase Change | wes | OpenFOAM Running, Solving & CFD | 9 | July 27, 2021 12:05 |
About phase change heat and mass transfer | Michael | FLUENT | 2 | February 13, 2011 02:49 |
Two phase flow with phase change | Ahmad Al-Zoubi | CFX | 1 | November 26, 2008 04:59 |
Two-phase flow in T-junction, multiphase of DPM? | Tony | FLUENT | 2 | July 8, 2008 02:26 |
how to deal with phase-change heat exchanger? | cherry | FLUENT | 1 | April 16, 2002 22:59 |