Boundary Condition for Fluid-Fluid ZOnes
Hey,
I want to ask of there is any boundary condition for fluid_to_fluid zones using chtMultiRegionFoam. |
HI, I mean boundary condition for velocity
|
Hi!
Why do you have two fluid zones near each other? |
1 Attachment(s)
Quote:
|
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... |
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 |
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. |
I appreciate the help. Thanks a lot.
|
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. |
All times are GMT -4. The time now is 07:44. |