CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

two phase channel flow

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 11, 2016, 03:12
Default two phase channel flow
  #1
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 36
Rep Power: 2
fatemehfarshi62 is on a distinguished road
Hi every one.
I have 3D open channel. Would any one please tell me in using interfoam, Do we have to define two blocks in the surface? one for water and one for atmosphere?
I it is so, dose it matter to have only one layer of cells for air?
Thanks a lot.
fatemehfarshi62 is offline   Reply With Quote

Old   January 15, 2016, 14:43
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,211
Blog Entries: 1
Rep Power: 17
nimasam is on a distinguished road
its not necessary to defines two two blocks .
you can use groovyBC to define a variable inlet for different phases.
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog (http://openfoam.blogfa.com/)
Training Course on OpenFOAM at (http://www.isme.ir/)
nimasam is offline   Reply With Quote

Old   January 16, 2016, 02:38
Default Some questions about your post
  #3
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 36
Rep Power: 2
fatemehfarshi62 is on a distinguished road
Dear Dr. Samkhaniani,
Thanks a lot for your valuable post. I have your book and saw the chapter for interfoam. in page 169 of the second edition of your book I found the boundary condition you told me. but I do not understand some parts of it:
1- can I use variableHeightFlowRateInletVelocity instead?
2- if so, in page 169, you have defined velocity as value uniform (0 0 0), why?
3- would you please explain the lines of BC groovy in this page? I mean:
valueExpression "vector...."
4- On the surface of the channel, is it enough to define pressureInletOutletVelocity?
5- I want to enter a fully developed flow in the inlet. If it is so, is it necessary to define extra block for air?
I am really sorry for bothering you so much.
But unfortunately I have a lot of unanswered questions about openfoam.
Thanks a lot and best regards.
fatemehfarshi62 is offline   Reply With Quote

Old   January 16, 2016, 03:43
Default
  #4
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 36
Rep Power: 2
fatemehfarshi62 is on a distinguished road
Dear Dr. Samkhaniani,
I thought, may be it is useful to send you my bockmesh file. I want to enter a fully developed flow in the inlet and outlet. Would you please please please help me to define boundary conditions in u, p and alfa files? thanks a lot.
Attached Files
File Type: doc blockMeshDict.doc (44.5 KB, 3 views)
fatemehfarshi62 is offline   Reply With Quote

Old   January 16, 2016, 10:51
Default
  #5
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,211
Blog Entries: 1
Rep Power: 17
nimasam is on a distinguished road
Dear fatemeh
1- yep , you can use variableHeightFlowRateInletVelocity, however i should emphasize that this boundary is affected by down stream flow.

2-value is place holder, the value of groovyBC is defined using valueExpression

3-see book appendix

4- yep, for p you can use totalPressure and for U use pressureInletOutletVelocity

5-nope it is not necessary to define two blocks, for inlet you can define velocity profile using groovyBC, i recommend you to read book appendix and see following web page:
https://openfoamwiki.net/index.php/Contrib/groovyBC
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog (http://openfoam.blogfa.com/)
Training Course on OpenFOAM at (http://www.isme.ir/)
nimasam is offline   Reply With Quote

Old   January 16, 2016, 12:32
Default
  #6
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 36
Rep Power: 2
fatemehfarshi62 is on a distinguished road
Dear Dr. Samkhaniani,
Thanks a lot for helping me so much but unfortunately, I didn't see any appendix.
Would you please send it to my email:
f.farshi@cv.iut.ac.ir
Thanks a lot and best regards.
fatemehfarshi62 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to go about modeling injection nozzle two phase flow in FLUENT? skonda2 Fluent Multiphase 0 March 17, 2015 08:52
Three Phase flow into a reservoir... akjha Main CFD Forum 0 December 15, 2014 08:01
Divergence in Two phase flow in impeller for Cavitation joshghoun Fluent Multiphase 2 November 5, 2014 10:33
Gravitational water flow in closed channel. Szymon85 CFX 7 September 3, 2013 16:28
gas flow out of a C-D channel ljp FLUENT 0 March 7, 2011 15:32


All times are GMT -4. The time now is 07:29.