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

validation of evapVOFHardt

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By gaza
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2015, 10:05
Default validation of evapVOFHardt
  #1
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Hi Foamers
I downloaded the solver for evaporation from this post (at the end is a link to git source with hints how to compile it provided by Wyldckat):

http://www.cfd-online.com/Forums/ope...come-join.html

I wanted to validate this solver on simplest case, namely 1D Stefan Problem. However
my results are in strong contradiction with analytical solution. For example: for thermophysical properties which I used, the interface position after 100 s should be about 7.62 mm (thermophysical properties are taken from Bitan Shu conference article). But numerical results are about 0.5 mm. Maybe I set up my test case in a wrong way?
Can anybody check it? Below is my test case. You can run it with Allrun script (after solver compilation according to Wyldckat hints).
Attached Files
File Type: gz ShuStefan_evapVOFHardt.tar.gz (31.3 KB, 98 views)
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   July 16, 2015, 18:29
Default
  #2
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Is this solver works well? Does anybody know the answer?
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   May 8, 2017, 00:17
Default
  #3
New Member
 
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 10
nesca87 is on a distinguished road
Hello pblasiak,

I know it's an old thread, but did you happen to solve your problem?

Regards,

Helvines
nesca87 is offline   Reply With Quote

Old   July 25, 2017, 04:58
Default
  #4
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Hi,
I did not solve the problem. I think the solver is good but only for evaporation and I cannot set it up correctly.
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   April 3, 2019, 10:05
Default displacement of evaporating liquid- validating Stefan Problem
  #5
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10
vidyadhar is on a distinguished road
Quote:
Originally Posted by gaza View Post
Hi,
I did not solve the problem. I think the solver is good but only for evaporation and I cannot set it up correctly.

Hello pblasiak,
I am also trying to validate the stefan problem as you described: To track the displacement of evaporating liquid.
I am trying by using Fluent. However I am facing difficulties. Can this be done using OpenFoam.
Any advise is appreciated.


Thanks in advance!
vidyadhar
vidyadhar is offline   Reply With Quote

Old   April 3, 2019, 10:38
Default
  #6
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Quote:
Originally Posted by vidyadhar View Post
Hello pblasiak,
I am also trying to validate the stefan problem as you described: To track the displacement of evaporating liquid.
I am trying by using Fluent. However I am facing difficulties. Can this be done using OpenFoam.
Any advise is appreciated.


Thanks in advance!
vidyadhar

Hello vidyadhar,
Please try Nima Sam solver:
http://nimasamkhaniani.ir/openfoam/phasechangeheatfoam/
vidyadhar likes this.
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   April 3, 2019, 14:51
Default Errors during compilation of Nima Sam solver
  #7
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10
vidyadhar is on a distinguished road
Quote:
Originally Posted by gaza View Post
Hello vidyadhar,
Please try Nima Sam solver:
http://nimasamkhaniani.ir/openfoam/phasechangeheatfoam/

Thank you pblasiak for suggesting the Nima Sam solver. I think the code works only on OpenFoam 2.2 version
However, there were errors when I tried to compile with openFoam 4 installed on my PC. The errors are as below:


vid:~/phaseChangeHeatFoam/Application$ ./Allwmake
+ wmake libso smoothInterfaceProperties
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file smoothInterfaceProperties.C
could not open file alphaContactAngleFvPatchScalarField.H for source file smoothInterfaceProperties.C due to No such file or directory
could not open file cyclicAMILduInterface.H for source file smoothInterfaceProperties.C due to No such file or directory
could not open file cyclicAMIPolyPatch.H for source file smoothInterfaceProperties.C due to No such file or directory
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam4/src/transportModels/twoPhaseInterfaceProperties/alphaContactAngle/alphaContactAngle -I/opt/openfoam4/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam4/src/OpenFOAM/lnInclude -I/opt/openfoam4/src/OSspecific/POSIX/lnInclude -fPIC -c smoothInterfaceProperties.C -o Make/linux64GccDPInt32Opt/smoothInterfaceProperties.o
smoothInterfaceProperties.C:27:49: fatal error: alphaContactAngleFvPatchScalarField.H: No such file or directory
compilation terminated.
/opt/openfoam4/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/smoothInterfaceProperties.o' failed
make: *** [Make/linux64GccDPInt32Opt/smoothInterfaceProperties.o] Error 1
+ wmake phaseChangeHeatFoam
Making dependency list for source file phaseChangeTwoPhaseMixtures/Hardt/Hardt.C
Making dependency list for source file phaseChangeTwoPhaseMixtures/Lee/Lee.C
Making dependency list for source file phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C
Making dependency list for source file phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C
Making dependency list for source file twoPhaseMixtureI/twoPhaseMixtureI.C
Making dependency list for source file phaseChangeHeatFoam.C
could not open file turbulenceModel.H for source file phaseChangeHeatFoam.C due to No such file or directory
could not open file fvIOoptionList.H for source file phaseChangeHeatFoam.C due to No such file or directory
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam4/src/transportModels -I/opt/openfoam4/src/transportModels/incompressible/lnInclude -I/opt/openfoam4/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam4/src/turbulenceModels/incompressible/turbulenceModel -IphaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture -I/opt/openfoam4/src/finiteVolume/lnInclude -I/opt/openfoam4/src/meshTools/lnInclude -I/opt/openfoam4/src/fvOptions/lnInclude -I/opt/openfoam4/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam4/src/OpenFOAM/lnInclude -I/opt/openfoam4/src/OSspecific/POSIX/lnInclude -fPIC -c phaseChangeHeatFoam.C -o Make/linux64GccDPInt32Opt/phaseChangeHeatFoam.o
phaseChangeHeatFoam.C:46:29: fatal error: turbulenceModel.H: No such file or directory
compilation terminated.
/opt/openfoam4/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/phaseChangeHeatFoam.o' failed
make: *** [Make/linux64GccDPInt32Opt/phaseChangeHeatFoam.o] Error 1



Can you let me know how to resolve these issues.
Thanks & Regards,
vidyadhar

Last edited by vidyadhar; April 4, 2019 at 01:22.
vidyadhar is offline   Reply With Quote

Old   April 4, 2019, 04:21
Default
  #8
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
it works only at OpenFOAM-2.2, for other versions of OpenFOAM minor changes in source code is needed.


Best regards
vidyadhar likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 13, 2019, 07:16
Default Evaporation from Static interface?
  #9
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 138
Rep Power: 10
vidyadhar is on a distinguished road
Quote:
Originally Posted by nimasam View Post
it works only at OpenFOAM-2.2, for other versions of OpenFOAM minor changes in source code is needed.


Best regards

Hello Nima Samkhaniani,


I have installed phaseChangeHeatFoam and have followed the example case given for validating with Stefan problem.


Query: Can I use this solver to predict heat and mass transfer rates due to evaporation from a static liquid-vapor interface? The interface position is maintained at the same location by balancing the mass lost by evaporation with mass supply from the liquid side.

I want to determine mass and heat transfer from the static meniscus in the figure attached herewith.


Thanks & Regards,
Vidyadhar
Attached Images
File Type: jpg meniscus_002.jpg (21.8 KB, 42 views)
vidyadhar is offline   Reply With Quote

Reply


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
Validation in Transient tasks MaxakCh FLUENT 0 May 17, 2013 09:59
CFX problem in ubuntu (linux) Vigneshramaero CFX 0 July 13, 2012 11:22
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
Validation test for 2d euler equations in subsonic regime with canonical squares panou Main CFD Forum 2 August 24, 2011 16:21
Urgent: RAE 2822 validation NID Main CFD Forum 0 September 3, 2004 11:34


All times are GMT -4. The time now is 18:36.