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

CHTMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2019, 21:01
Default CHTMultiRegionFoam
  #1
New Member
 
Mohammad
Join Date: Aug 2018
Location: Yorkshire/UK
Posts: 5
Rep Power: 7
Mohammadja is on a distinguished road
Hi
I am trying to use ChtMultiregionFoam solver to simulate a problem, but I am not sure about the boundary conditions on the fluid-fluid interfaces, I have a sinusoidal BC for pressure at the inlet of Fluid 1 region( please see the attached document.)
I know about the boundary conditions on fluid- solid interfaces but I am not sure to use what type of BC between two fluid regions (Fluid 1 TO Fluid 2 and Fluid 1 TO Fluid 3 .)
I think zero Gradient doesn't work and it should not be true, I tried to use Calculated but the software (OpenFoam 5) gives me an error.
It is appreciated very much if you can help.
Thanks
MJ
Attached Files
File Type: pdf Doc1.pdf (114.5 KB, 26 views)
Mohammadja is offline   Reply With Quote

Old   July 26, 2019, 22:58
Default
  #2
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 11
pete20r2 is on a distinguished road
I don't understand what a fluid-fluid boundary is. Is it a membrane boundary or do the three fluid regions form one continuum that fluid can move between?
pete20r2 is offline   Reply With Quote

Old   July 27, 2019, 06:19
Default
  #3
New Member
 
Mohammad
Join Date: Aug 2018
Location: Yorkshire/UK
Posts: 5
Rep Power: 7
Mohammadja is on a distinguished road
Quote:
Originally Posted by pete20r2 View Post
I don't understand what a fluid-fluid boundary is. Is it a membrane boundary or do the three fluid regions form one continuum that fluid can move between?
Hi dear Peter
Thanks for the reply,
Probably the sketch misled you, sorry for the inconvenience,
Indeed, we have only one fluid here and there is no membrane, suppose air enters from the inlet and when it reaches to the solid it becomes two branches, one passing above the solid part and the other one passing below the solid part.
But as you know, if we want to use the ChtMultiRegionFoam, we have to define the regions, now my question is that if we define two fluid regions in neighbourhood (such as what you see in the sketch), what type of boundary condition in the common patch of two fluid regions should be defined?

I don't want to define unreal boundary condition at this patch because in reality we have one continuum for 3 fluid region,I think my question is very basic for people who used ChtMultiRegionFoam successfully, because frequently we have two fluid regions in neighbourhood...
Many thanks again
MJ
Mohammadja is offline   Reply With Quote

Old   July 27, 2019, 06:46
Default
  #4
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 11
pete20r2 is on a distinguished road
Ok, I understand now. You can either make the patches cyclic (non-identical patch) or do it the correct way and use mergeMesh and stitchMesh to get rid of the interfaces by making just one fluid mesh.
There are many guides on the forum for setting up both cyclicAMI boundaries or using the mergeMesh and stitchMesh utilities.
pete20r2 is offline   Reply With Quote

Old   July 27, 2019, 18:51
Default
  #5
New Member
 
Mohammad
Join Date: Aug 2018
Location: Yorkshire/UK
Posts: 5
Rep Power: 7
Mohammadja is on a distinguished road
Quote:
Originally Posted by pete20r2 View Post
Ok, I understand now. You can either make the patches cyclic (non-identical patch) or do it the correct way and use mergeMesh and stitchMesh to get rid of the interfaces by making just one fluid mesh.
There are many guides on the forum for setting up both cyclicAMI boundaries or using the mergeMesh and stitchMesh utilities.
Many thanks dear Peter
I try to test the CyclicAMI.
Regards
Mohammad
Mohammadja 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
OF 6 wallHeatFlux utility not working on chtMultiRegionFoam tutorial troparry OpenFOAM Post-Processing 1 January 10, 2022 06:12
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 06:34
Error in chtMultiRegionFoam michael157 OpenFOAM Running, Solving & CFD 17 May 22, 2017 03:32
What does this error when use solver chtMultiRegionFoam mean sajad6 OpenFOAM Running, Solving & CFD 7 October 6, 2014 07:38
Custom boundary condition: unexpected behavior with chtMultiRegionFoam leroyv OpenFOAM Programming & Development 3 February 1, 2014 07:49


All times are GMT -4. The time now is 05:30.