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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2022, 03:27
Default
  #21
Member
 
Al
Join Date: May 2019
Posts: 31
Rep Power: 5
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, 06:44
Default
  #22
Member
 
Join Date: Dec 2021
Posts: 44
Rep Power: 2
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

Reply

Tags
evaporation, lee model

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


All times are GMT -4. The time now is 15:08.