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

Lee Model, evaporation and heat transfer

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2022, 02:27
Default
  #21
Member
 
Al
Join Date: May 2019
Posts: 37
Rep Power: 6
aliyah. is on a distinguished road
Quote:
Originally Posted by Alczem View Post
Hey


Thanks for the helpful answer, I tried to compile a new solver myIcoReactingMultiphaseInterFoam but during wmake I get a new error (see attached picture). I fear there is much more to do to get it working




I changed the files for the lib according to your indications (it compiles properly)


Here is my options for the new solver :


Code:
phaseSystem = $(LIB_SRC)/phaseSystemModels/multiphaseInter

EXE_INC = \
    -I${phaseSystem}/phasesSystem/lnInclude \
    -I${phaseSystem}/compressibleMultiPhaseTurbulenceModels/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/fvOptions/lnInclude\
    -I$(LIB_SRC)/meshTools/lnInclude \
    -I$(LIB_SRC)/sampling/lnInclude \
    -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
    -I$(LIB_SRC)/transportModels/compressible/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
    -I$(FOAM_SOLVERS)/multiphase/interFoam

EXE_LIBS = \
    -L$(FOAM_USER_LIBBIN) \
    -lmyIncompressibleMultiphaseSystems \
    -lfiniteVolume \
    -lfvOptions \
    -lmeshTools \
    -lsampling \
    -ldynamicFvMesh \
    -lturbulenceModels \
    -lcompressibleTurbulenceModels \
    -lthermoTools \
    -lcompressibleTransportModels \
    -lradiationModels \
    -lfluidThermophysicalModels \
    -lsolidThermo \
    -lsolidSpecie \
    -ltwoPhaseProperties \
    -llaserDTRM \
    -lincompressibleMultiphaseSystems \
    -lcompressibleMultiPhaseTurbulenceModels

As always thanks for your time!
Hey, I am just guessing, but are you sure in the EXE_INC = \ part of the Make/options you add the right address. The address for the default library should be changed to the address for the new library in the EXE_INC = \ part.
aliyah. is offline   Reply With Quote

Old   September 23, 2022, 05:44
Default
  #22
Senior Member
 
Join Date: Dec 2021
Posts: 207
Rep Power: 5
Alczem is on a distinguished road
Quote:
Originally Posted by aliyah. View Post
Hey, I am just guessing, but are you sure in the EXE_INC = \ part of the Make/options you add the right address. The address for the default library should be changed to the address for the new library in the EXE_INC = \ part.

Hey!


I made the changes as you suggested, but the same error happens.


Here is the latest version of the options of the custom solver:


Code:
phaseSystem = $(LIB_SRC)/phaseSystemModels/multiphaseInter

EXE_INC = \
    -I$(FOAM_USER_LIBBIN) \
    -I/home/bonin/Documents/customLeeModel/lnInclude \
    -I${phaseSystem}/compressibleMultiPhaseTurbulenceModels/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/fvOptions/lnInclude\
    -I$(LIB_SRC)/meshTools/lnInclude \
    -I$(LIB_SRC)/sampling/lnInclude \
    -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
    -I$(LIB_SRC)/transportModels/compressible/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
    -I$(FOAM_SOLVERS)/multiphase/interFoam

EXE_LIBS = \
    -L$(FOAM_USER_LIBBIN) \
    -lmyIncompressibleMultiphaseSystems \
    -lfiniteVolume \
    -lfvOptions \
    -lmeshTools \
    -lsampling \
    -ldynamicFvMesh \
    -lturbulenceModels \
    -lcompressibleTurbulenceModels \
    -lthermoTools \
    -lcompressibleTransportModels \
    -lradiationModels \
    -lfluidThermophysicalModels \
    -lsolidThermo \
    -lsolidSpecie \
    -ltwoPhaseProperties \
    -llaserDTRM \
    -lincompressibleMultiphaseSystems \
    -lcompressibleMultiPhaseTurbulenceModels

I am definitely out of my depth here
Alczem is offline   Reply With Quote

Old   December 16, 2022, 07:25
Default
  #23
New Member
 
guo
Join Date: Dec 2022
Posts: 3
Rep Power: 3
gsy0826 is on a distinguished road
Have you solved it? I also want to change it to calculate the multicomponent to multicomponent do you have some good ideas?
gsy0826 is offline   Reply With Quote

Old   December 16, 2022, 08:00
Smile
  #24
New Member
 
guo
Join Date: Dec 2022
Posts: 3
Rep Power: 3
gsy0826 is on a distinguished road
Quote:
Originally Posted by Alczem View Post
Hey!


I made the changes as you suggested, but the same error happens.


Here is the latest version of the options of the custom solver:


Code:
phaseSystem = $(LIB_SRC)/phaseSystemModels/multiphaseInter

EXE_INC = \
    -I$(FOAM_USER_LIBBIN) \
    -I/home/bonin/Documents/customLeeModel/lnInclude \
    -I${phaseSystem}/compressibleMultiPhaseTurbulenceModels/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/fvOptions/lnInclude\
    -I$(LIB_SRC)/meshTools/lnInclude \
    -I$(LIB_SRC)/sampling/lnInclude \
    -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
    -I$(LIB_SRC)/transportModels/compressible/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
    -I$(FOAM_SOLVERS)/multiphase/interFoam

EXE_LIBS = \
    -L$(FOAM_USER_LIBBIN) \
    -lmyIncompressibleMultiphaseSystems \
    -lfiniteVolume \
    -lfvOptions \
    -lmeshTools \
    -lsampling \
    -ldynamicFvMesh \
    -lturbulenceModels \
    -lcompressibleTurbulenceModels \
    -lthermoTools \
    -lcompressibleTransportModels \
    -lradiationModels \
    -lfluidThermophysicalModels \
    -lsolidThermo \
    -lsolidSpecie \
    -ltwoPhaseProperties \
    -llaserDTRM \
    -lincompressibleMultiphaseSystems \
    -lcompressibleMultiPhaseTurbulenceModels

I am definitely out of my depth here
hello
i guess that you do not link the multiphaseInter into this solver, just like the origin version of icoReactingMultiphaseInterFoam, it links to the src/phaseSystem but you changed phaseSystem you don't link in there
gsy0826 is offline   Reply With Quote

Old   December 16, 2022, 08:21
Default
  #25
Senior Member
 
Join Date: Dec 2021
Posts: 207
Rep Power: 5
Alczem is on a distinguished road
Quote:
Originally Posted by gsy0826 View Post
hello
i guess that you do not link the multiphaseInter into this solver, just like the origin version of icoReactingMultiphaseInterFoam, it links to the src/phaseSystem but you changed phaseSystem you don't link in there

Hey!


Unfortunately I could not spend more time to figure it out, sorry. If you manage to make some progress, do not hesitate to report it here or on a new thread, I for one would be glad to know!
Alczem is offline   Reply With Quote

Old   October 31, 2023, 07:46
Default
  #26
New Member
 
Ant Yang
Join Date: Sep 2021
Location: Hong Kong
Posts: 2
Rep Power: 0
Ant_Yang is on a distinguished road
Quote:
Originally Posted by Alczem View Post
Hey


Thanks for the helpful answer, I tried to compile a new solver myIcoReactingMultiphaseInterFoam but during wmake I get a new error (see attached picture). I fear there is much more to do to get it working




I changed the files for the lib according to your indications (it compiles properly)


Here is my options for the new solver :


Code:
phaseSystem = $(LIB_SRC)/phaseSystemModels/multiphaseInter

EXE_INC = \
    -I${phaseSystem}/phasesSystem/lnInclude \
    -I${phaseSystem}/compressibleMultiPhaseTurbulenceModels/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/fvOptions/lnInclude\
    -I$(LIB_SRC)/meshTools/lnInclude \
    -I$(LIB_SRC)/sampling/lnInclude \
    -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
    -I$(LIB_SRC)/transportModels/compressible/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
    -I$(FOAM_SOLVERS)/multiphase/interFoam

EXE_LIBS = \
    -L$(FOAM_USER_LIBBIN) \
    -lmyIncompressibleMultiphaseSystems \
    -lfiniteVolume \
    -lfvOptions \
    -lmeshTools \
    -lsampling \
    -ldynamicFvMesh \
    -lturbulenceModels \
    -lcompressibleTurbulenceModels \
    -lthermoTools \
    -lcompressibleTransportModels \
    -lradiationModels \
    -lfluidThermophysicalModels \
    -lsolidThermo \
    -lsolidSpecie \
    -ltwoPhaseProperties \
    -llaserDTRM \
    -lincompressibleMultiphaseSystems \
    -lcompressibleMultiPhaseTurbulenceModels

As always thanks for your time!
Hello Alczem,

When I tried to add a new combination, I met the same problem as yours. Do you have found a solution?

BR,
Ant_
Ant_Yang is offline   Reply With Quote

Reply

Tags
evaporation, lee model


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Evaporation-Condensation in a porous zone (Heat transfer problem) maximilian-1 Fluent Multiphase 1 August 22, 2018 09:42
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 23:55.