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

Boundary Condition for Fluid-Fluid ZOnes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2018, 08:26
Default Boundary Condition for Fluid-Fluid ZOnes
  #1
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
Hey,

I want to ask of there is any boundary condition for fluid_to_fluid zones using chtMultiRegionFoam.
charles4allme is offline   Reply With Quote

Old   September 5, 2018, 09:28
Default
  #2
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
HI, I mean boundary condition for velocity
charles4allme is offline   Reply With Quote

Old   September 5, 2018, 09:59
Default
  #3
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Why do you have two fluid zones near each other?
simrego is offline   Reply With Quote

Old   September 5, 2018, 10:54
Default
  #4
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


Why do you have two fluid zones near each other?
Well am trying to simulate a flow through a TJunction ventilation duct, So I have divided the duct into three regions. I am doing this because I want to measure the pressure drop in each duct. I have attached the image of the ventilation duct.
Attached Images
File Type: jpg Screenshot from 2018-09-05 15-52-56.jpg (81.4 KB, 7 views)
charles4allme is offline   Reply With Quote

Old   September 5, 2018, 16:43
Default
  #5
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Oh okay, but in this case you don't need a conjugate heat transfer solver. And you don't have to divide the domain. Just solve as it is. And then you can calculate the pressure at some cross sections and from that you can get the pressure drop between the cross sections.


For the pressure at a given cross section you can use functionObjects or simply create a slice in paraview where you want and calculate the average pressure on that slice, etc...
simrego is offline   Reply With Quote

Old   September 6, 2018, 05:50
Default
  #6
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
Thanks. The problem I encountered is that, I don't know how to define the cross sections in OpenFOAM. I thought about using topoSet and getting the CellZones but I don't think you can use cellZones. Any suggestion on how I can specify a cross section.

Thanks
charles4allme is offline   Reply With Quote

Old   September 6, 2018, 07:46
Default
  #7
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
You can do it with faceZones like this:
https://cpp.openfoam.org/v6/classFoa...e.html#details


You can define the faceZones with topoSet for example.
simrego is offline   Reply With Quote

Old   September 6, 2018, 09:36
Default
  #8
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
I appreciate the help. Thanks a lot.
charles4allme is offline   Reply With Quote

Old   September 6, 2018, 10:00
Default
  #9
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
You are welcome!
But I think it's easier to create a slice in paraview, and integrate the pressure on that slice and divide it with the area (If you use the integrate filter it will also calculate the area for you) of the slice and you will get the average pressure.
In some cases I think it is much faster and easier than figure out how are these functionObjects works and if they are do what you want or not...
But of course it is not efficient if you have a lot of cases to compare.
simrego 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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 06:08
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 08:16
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19


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