|
[Sponsors] |
January 11, 2016, 02:12 |
two phase channel flow
|
#1 |
Member
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10 |
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. |
|
January 15, 2016, 13:43 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
its not necessary to defines two two blocks .
you can use groovyBC to define a variable inlet for different phases.
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
January 16, 2016, 01:38 |
Some questions about your post
|
#3 |
Member
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10 |
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. |
|
January 16, 2016, 02:43 |
|
#4 |
Member
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10 |
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. |
|
January 16, 2016, 09:51 |
|
#5 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
January 16, 2016, 11:32 |
|
#6 |
Member
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Enabling Open Channel Flow Sub-Model in Mixture model | cod213 | FLUENT | 0 | January 10, 2017 13:40 |
Simulating a Laminar Isothermal Flow in a 2D rectangular Channel | HectorRedal | Main CFD Forum | 1 | December 18, 2016 11:41 |
Turbulent transition in channel flow | yansheng | STAR-CCM+ | 11 | June 16, 2016 09:05 |
Three Phase flow into a reservoir... | akjha | Main CFD Forum | 0 | December 15, 2014 07:01 |
Gravitational water flow in closed channel. | Szymon85 | CFX | 7 | September 3, 2013 16:28 |