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

chtMultiRegionFoam

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

Like Tree1Likes
  • 1 Post By choist31

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2019, 05:47
Default chtMultiRegionFoam
  #1
New Member
 
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 5
iconde is on a distinguished road
Hi!

Anyone knows if OpenFOAM is now able to solve two phase flows with conjugate heat transfer?

Thanks a lot anyway
iconde is offline   Reply With Quote

Old   March 6, 2019, 06:27
Default I don't think so!
  #2
Member
 
Emeline Noel
Join Date: Dec 2013
Location: Paris
Posts: 30
Rep Power: 11
zarox is on a distinguished road
Hi,

I am currently working with chtMultiRegionFoam and I used to work with interFoam and so on.

chtMultiRegionFoam dont have a void fraction transport as in interFoam, so you can't do multiphaseFlow.

Have a nice day,

Emeline
zarox is offline   Reply With Quote

Old   March 11, 2019, 07:31
Default
  #3
New Member
 
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 5
iconde is on a distinguished road
Thanks Zarox!

So, there is no possibility to have a multiregion solver with phases, isn't it?

Have a nice day too.
iconde is offline   Reply With Quote

Old   March 12, 2019, 12:03
Default
  #4
Member
 
Join Date: Oct 2016
Posts: 31
Rep Power: 8
tonnykz is on a distinguished road
Hello iconde,
I have tried to make similar model. You can define two liquid region and at least one solid, then run simulations. But coupling between fluid regions will be only through boundary conditions and result in my case were not physical.
Currently, I have switched (with the advices of foamers) to reactingTwoPhaseEulerFoam since it has momentum, mass, heat transport equations, and chemistry in it. So, You can try it using it.
Hope it helps,
Best regards,
Tonnykz
tonnykz is offline   Reply With Quote

Old   March 20, 2019, 04:45
Default
  #5
New Member
 
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 5
iconde is on a distinguished road
thanks tonnykz! I'll try with twoPhaseEulerFoam.
iconde is offline   Reply With Quote

Old   August 15, 2020, 23:09
Default
  #6
New Member
 
sw choi
Join Date: Aug 2020
Location: MD in USA
Posts: 20
Rep Power: 4
choist31 is on a distinguished road
Hello, iconde,

I have faced the same problem and spent a month to figure out two-phase flow +CHT model. I wonder if you still work on the same problem. I succeed in the modeling two heater rods submerged in the pool with free open space based on chtMultiRegionTwoPhaseEulerFoam tutorial. In order to add heater source and multi heater rod model, you also need to refer to MultiRegionHeater tutorial. While you have any question on this modeling approach, I am glad to share my experience with you.
fuad likes this.
choist31 is offline   Reply With Quote

Old   August 16, 2020, 22:52
Default
  #7
New Member
 
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 4
wanghongjie is on a distinguished road
Quote:
Originally Posted by choist31 View Post
Hello, iconde,

I have faced the same problem and spent a month to figure out two-phase flow +CHT model. I wonder if you still work on the same problem. I succeed in the modeling two heater rods submerged in the pool with free open space based on chtMultiRegionTwoPhaseEulerFoam tutorial. In order to add heater source and multi heater rod model, you also need to refer to MultiRegionHeater tutorial. While you have any question on this modeling approach, I am glad to share my experience with you.
Hello, I am currently doing two-phase fluid based on chtMultiRegionFoam, but I did not use chtMultiRegionTwoPhaseEulerFoam, because my fluid is based on interCondensatingEvaporatingFoam, it feels different from TwoPhaseEulerFoam, but can you share your ideas with me . And I don't understand some of the code too much now. Such as:

if (faceMomentum)
{
#include "pUf/UEqns.H"
#include "EEqns.H"
#include "pUf/pEqn.H"
}
else
{
#include "pU/UEqns.H"
#include "EEqns.H"
#include "pU/pEqn.H"
}

I cannot understand what are "pUf/UEqns.H""pUf/pEqn.H""pU/UEqns.H""pU/pEqn.H"
wanghongjie is offline   Reply With Quote

Old   August 16, 2020, 23:56
Default
  #8
New Member
 
sw choi
Join Date: Aug 2020
Location: MD in USA
Posts: 20
Rep Power: 4
choist31 is on a distinguished road
Hello, Wang

At the beginning time, I also think of using evaporation/condensation model; but there is no way to model heat source. I got a suggestion from OpenFOAM expert for using ChtMultiRegionEulerTwoPhase foam for modeling of heater rods submerged in the pool. I am curious what kind of phenomen you try to model? That's the first step to select the solvers. After that, usually, user should master the tutorial case associated with solvers. Furthermore, your question is associated with source code, which is out of my experience in your interesting solvers. I have only updated OpenFOAM inputs. Please be sure to confirm that fluid phase change occurs as a result of heat transfer from solid.
choist31 is offline   Reply With Quote

Old   August 17, 2020, 00:33
Default
  #9
New Member
 
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 4
wanghongjie is on a distinguished road
Quote:
Originally Posted by choist31 View Post
Hello, Wang

At the beginning time, I also think of using evaporation/condensation model; but there is no way to model heat source. I got a suggestion from OpenFOAM expert for using ChtMultiRegionEulerTwoPhase foam for modeling of heater rods submerged in the pool. I am curious what kind of phenomen you try to model? That's the first step to select the solvers. After that, usually, user should master the tutorial case associated with solvers. Furthermore, your question is associated with source code, which is out of my experience in your interesting solvers. I have only updated OpenFOAM inputs. Please be sure to confirm that fluid phase change occurs as a result of heat transfer from solid.
Thanks for your reply!In interCondensatingEvaporatingFoam, the latent heat of phase change is determined by multiplying the transferred mass by the latent heat. What I want to simulate is a fixed heat flux through the wall to the fluid, providing heat and then undergoing a phase change.
wanghongjie is offline   Reply With Quote

Old   August 18, 2020, 14:12
Default
  #10
New Member
 
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 4
wanghongjie is on a distinguished road
Quote:
Originally Posted by choist31 View Post
Hello, Wang

At the beginning time, I also think of using evaporation/condensation model; but there is no way to model heat source. I got a suggestion from OpenFOAM expert for using ChtMultiRegionEulerTwoPhase foam for modeling of heater rods submerged in the pool. I am curious what kind of phenomen you try to model? That's the first step to select the solvers. After that, usually, user should master the tutorial case associated with solvers. Furthermore, your question is associated with source code, which is out of my experience in your interesting solvers. I have only updated OpenFOAM inputs. Please be sure to confirm that fluid phase change occurs as a result of heat transfer from solid.
I initially coupled cht and interPhaseChangeFoam together, but there are problems that I can't solve. Please help me to see if there is a solution. I have declared these parameters in createFluidFields.H, but after compilation, it shows that these parameters in setRegionFluidFields.H are not declared. I am not very clear about that. Thanks!

./fluid/setRegionFluidFields.H:15:25: error: ‘UFluid’ was not declared in this scope 15 | volVectorField& U = UFluid[i]; | ^~~~~~ ./fluid/setRegionFluidFields.H:16:31: error: ‘phiFluid’ was not declared in this scope 16 | surfaceScalarField& phi = phiFluid[i]; | ^~~~~~~~ ./fluid/setRegionFluidFields.H:17:27: error: ‘rhoFluid’ was not declared in this scope 17 | volScalarField& rho = rhoFluid[i]; | ^~~~~~~~ ./fluid/setRegionFluidFields.H:18:36: error: ‘interfaceFluid’ was not declared in this scope; did you mean ‘interface’? 18 | interfaceProperties& interface=interfaceFluid[i]; | ^~~~~~~~~~~~~~ | interface ./fluid/setRegionFluidFields.H:19:32: error: ‘rhoPhiFluid’ was not declared in this scope 19 | surfaceScalarField& rhoPhi=rhoPhiFluid[i];
and others
(I am very sorry that I can not upload pictures to the web page, which will cause reading inconvenience. I can only paste part of the wrong text.)
wanghongjie is offline   Reply With Quote

Old   August 19, 2020, 15:34
Default
  #11
New Member
 
sw choi
Join Date: Aug 2020
Location: MD in USA
Posts: 20
Rep Power: 4
choist31 is on a distinguished road
Dear Wang

Sorry for late response. I strongly recommend you to run chtMultiRegionEulerTwoPhaseflow foam tutorial (This is a solver coupling cht and interPhaseChangeFoam together). The most standard approach in OpenFOAM is to get an basic idea from tutorial case and modify some of parameters for your interest step by step. The recommended solver should be applicable to you case. First, you need to understand how OpenFOAM tutorial solver calculate two phase flow in the submerged heater rod.

Please visit following website;
https://www.openfoam.com/releases/op...ophaseeulercht

, this site give you clear picture of this tutorial running results(simulation).

By the way, I am curious how to combine two different solvers. I read one simple document introducing such as a approach. I like to learn how to do that. If you have any clear reference regarding that, please let me know.

Good luck,

Sung
choist31 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 07:12
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 07:34
Error in chtMultiRegionFoam kirankarki OpenFOAM 6 August 21, 2018 09:00
What does this error when use solver chtMultiRegionFoam mean sajad6 OpenFOAM Running, Solving & CFD 7 October 6, 2014 08:38
chtmultiregionFoam error oilsok OpenFOAM Running, Solving & CFD 1 June 12, 2014 12:19


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