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

twoPhaseEulerFoam-bubble column

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2015, 00:06
Default twoPhaseEulerFoam-bubble column
  #1
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11
jishnuhari25 is on a distinguished road
Dear FOAMERS,
As part of my Master project, I am supposed to do saturated flow boiling simulation using OpenFOAM. I have selected twoPhaseEulerFoam as the base solver. I am planning to introduce heat transfer coeffecient as one parameter. From a paper i referred, the the correlation includes a vapour quality term. But i dont know how I should introduce that term. Please help me.
Thanks in advance
Š
jishnuhari25 is offline   Reply With Quote

Old   March 1, 2015, 08:16
Default twoPhaseEulerFoam- bubble column
  #2
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11
jishnuhari25 is on a distinguished road
FOAMERS,
please find some time to help me in explaining the physics behind the case bubblecolumn in twoPhaseEulerFoam. I am not able to get the science and hence not able to develop it into my work, i.e, saturated flow boiling simulation.
Please help.
Thanks in advance
jishnuhari25 is offline   Reply With Quote

Old   March 1, 2015, 23:19
Default twoPhaseEulerFoam-bubble column
  #3
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11
jishnuhari25 is on a distinguished road
FOAMERS,
I am currently working on twoPhaseEulerFoam for the simulation of saturated flow boiling. I dont have clear idea about the tutrial bubble column of twoPhaseEulerFoam and I am unable to find any tutorial decribing the problem.
Please help me
Thanks in advance
jishnuhari25 is offline   Reply With Quote

Old   March 10, 2015, 10:31
Default Error: while compiling twoPhaseEuler Foam
  #4
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11
jishnuhari25 is on a distinguished road
Hi all,
I am doing saturated boiling and while compiling my solver I am stuck with following errors.
boilingModel.H: In function ‘int main(int, char**)’:
boilingModel.H:19:87: error: cannot convert ‘Foam::dimensioned<double>’ to ‘double’ for argument ‘1’ to ‘double exp(double)’
dimensionedScalar dw = min(0.0014, 0.0006*::exp(-((Tsat.value()-T2[faceCelli])/45)));
^
In file included from twoPhaseEulerFoam.C:80:0:
boilingModel.H:78:19: error: cannot convert ‘Foam::dimensioned<double>’ to ‘double’ in assignment
mEvap[faceCelli] = (Qevap.value()/(hfg.value()+Cp2.value()*(Tsat.value()- T2[faceCelli])))/mesh.V()[faceCelli];//calculating evapoative mass transfer


boilingmodel is a header file used to implement bubble characteristics. Please heklp me as I am stuck here.
jishnuhari25 is offline   Reply With Quote

Old   August 13, 2015, 04:43
Default
  #5
New Member
 
Ramon
Join Date: Feb 2014
Location: Eindhoven
Posts: 25
Rep Power: 12
RjwV is on a distinguished road
Hello jishnuhari25,

I know it may be a little late, but here is my attempt to help you.

First of all, try to avoid using integers in equations only containing doubles, so don't use "1" or "2", or in your case, "45". Try using 45.0 instead. Sometimes using an integer will try to force your entire equation to become an integer.

Also, does "0.0006*::exp" work in other equations? Shouldn't it be 0.0006*Foam::exp or 0.0006*std::exp , depending on what you want to use?

Not sure what the problem in line 80 could be.

Kind regards,
Ramon
RjwV is offline   Reply With Quote

Old   August 13, 2015, 06:13
Wink Thanks!!!
  #6
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11
jishnuhari25 is on a distinguished road
Thank you very much for your reply.
I have completed my project somehow and it shows pretty good results. Thank you very much for spending your time in trying to resolve my problem.
jishnuhari25 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
Problem: bubble column with twoPhaseEulerFoam hester OpenFOAM Running, Solving & CFD 6 January 22, 2016 12:25
Turbulence modelling for bubble column in twoPhaseEulerFoam hester OpenFOAM Running, Solving & CFD 2 February 10, 2015 11:42
2D bubble rising through a column of water vof64 Fluent Multiphase 0 August 19, 2014 23:42
twoPhaseEulerFoam Simulations of bubble column vishal3 OpenFOAM 1 July 7, 2014 04:12
twoPhaseEulerFoam : bubble column modeling chittipo OpenFOAM Running, Solving & CFD 2 June 11, 2012 06:12


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