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

Which solver should I use when I have multiple solids and fluid regions?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By jmt
  • 1 Post By jmt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2021, 12:04
Default Which solver should I use when I have multiple solids and fluid regions?
  #1
New Member
 
Join Date: Jun 2021
Posts: 6
Rep Power: 5
CFDlearnerY is on a distinguished road
Hello,

I am actually evaluating if OpenFoam is the right choice for my case.

What I want to simulate is as follows: I have a pipe that has an insulation layer around it. Furthermore, there are 2 small pipes in direct contact with the main pipe through which cold water flows (for cooling). These 2 pipes are inside the insulation layer and are parallel to the main pipe. A fluid (liquid) flows inside the main pipe and the whole system is in an environment with for 30 °C. I also need to take radiation from the sun into account.

So I have 3 fluids (fluid inside the main pipe, water and air outside the insulation layer) and 3 solids (main pipe, insulation and the small cooling pipes), but non of these phases have mass transfer to each other, only heat transfer (Is it a multiphase case?). I want to calculate heat transfer and temperatures in transient condition.

My questions are: Can I use OpenFoam for this case? if yes with which solver? How should I handle it when I have 2 incompressible fluids and one compressible (Air)?

Thank you very much for your help!
CFDlearnerY is offline   Reply With Quote

Old   June 18, 2021, 13:03
Default
  #2
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 7
jmt is on a distinguished road
You can use chtMultiRegionFoam. This solver allows an arbitrary number of fluid and solid regions which are coupled via a temperature and flux matching condition.

I have spent time validating this solver and find it useful. Out of the box, the fluid and solid regions are tightly-coupled, so you may have very slow solid convergence unless you implement a decoupling scheme (which I and others have done).
dlahaye and piu58 like this.
jmt is offline   Reply With Quote

Old   June 19, 2021, 05:44
Default
  #3
New Member
 
Join Date: Jun 2021
Posts: 6
Rep Power: 5
CFDlearnerY is on a distinguished road
Thank you very much for your reply. I know that this solver is designed for compressible fluids. How can I define incompressible fluid then? Another question is, should I consider the air around the pipe as compressible fluid or incompressible? Since it is natural convection

Quote:
Originally Posted by jmt View Post
You can use chtMultiRegionFoam. This solver allows an arbitrary number of fluid and solid regions which are coupled via a temperature and flux matching condition.

I have spent time validating this solver and find it useful. Out of the box, the fluid and solid regions are tightly-coupled, so you may have very slow solid convergence unless you implement a decoupling scheme (which I and others have done).
CFDlearnerY is offline   Reply With Quote

Old   June 20, 2021, 13:41
Default
  #4
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
dlahaye is on a distinguished road
Could you please elaborate on the decoupling procedure? Thx!
dlahaye is offline   Reply With Quote

Old   June 20, 2021, 16:46
Default
  #5
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 7
jmt is on a distinguished road
Quote:
Originally Posted by CFDlearnerY View Post
Thank you very much for your reply. I know that this solver is designed for compressible fluids. How can I define incompressible fluid then? Another question is, should I consider the air around the pipe as compressible fluid or incompressible? Since it is natural convection
For the compressible fluid, you can set density to constant in the thermophysical model. In chtMultiRegionFoam, each region has a separate folder containing the relevant physical models and solver options. This can be tedious to configure but is extremely flexible in defining the problem.

How large are your temperature and density gradients? This may help you decide whether to treat the air around the pipe as compressible or not. For natural convection, I suppose you will need to consider buoyancy, so perhaps compressible is the best approach.
jmt is offline   Reply With Quote

Old   June 20, 2021, 16:50
Default
  #6
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 7
jmt is on a distinguished road
Quote:
Originally Posted by dlahaye View Post
Could you please elaborate on the decoupling procedure? Thx!
Regarding decoupling, there are any number of ways you could implement this. Personally, I used the approach of Konle et al. in which the fluid region is periodically frozen and the solid regions are solved with a larger time-step (governed by the solid time-scale). This has been effective.

You could also consider the approaches described on the Chalmers site in which information is exchanged between the fluid and solid regions at some larger interval as opposed to every time-step.
dlahaye likes this.
jmt is offline   Reply With Quote

Old   June 20, 2021, 17:22
Default
  #7
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
dlahaye is on a distinguished road
Thx! Much appreciated.
dlahaye is offline   Reply With Quote

Old   June 21, 2021, 09:09
Default
  #8
New Member
 
Join Date: Jun 2021
Posts: 6
Rep Power: 5
CFDlearnerY is on a distinguished road
The environments temperature is around 30 °C. The fluid flowing inside the main pipe is 6 °C and water flowing through cooling pipes is 4°C. The pipe has a pretty thick insulation layer and I expect that out surface of the insulation will become very warm due to radiation from the sun.

Thank you very much for your help

Quote:
Originally Posted by jmt View Post
For the compressible fluid, you can set density to constant in the thermophysical model. In chtMultiRegionFoam, each region has a separate folder containing the relevant physical models and solver options. This can be tedious to configure but is extremely flexible in defining the problem.

How large are your temperature and density gradients? This may help you decide whether to treat the air around the pipe as compressible or not. For natural convection, I suppose you will need to consider buoyancy, so perhaps compressible is the best approach.
CFDlearnerY is offline   Reply With Quote

Old   June 21, 2021, 10:06
Default
  #9
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 7
jmt is on a distinguished road
Great. I think compressible is appropriate.

Please let me know if you have further questions. I might be able to help.
jmt is offline   Reply With Quote

Old   October 15, 2024, 07:38
Default
  #10
New Member
 
sridhar
Join Date: Oct 2024
Posts: 21
Rep Power: 2
sridharmani is on a distinguished road
Quote:
Originally Posted by jmt View Post
Great. I think compressible is appropriate.

Please let me know if you have further questions. I might be able to help.

i am also trying to solve a sorta simulation like how a water poured into a vessel of extreme cold solidifies. Which solver is best and where can i learn all this equations easily explained
sridharmani is offline   Reply With Quote

Old   October 23, 2024, 06:14
Default
  #11
New Member
 
Yi Dai
Join Date: Oct 2022
Posts: 2
Rep Power: 0
zrxdaly is on a distinguished road
in CHT cases, do you know if it is an easy hack to add a scalar (a tracer) to both solid and fluid. In solid part, it will be diffusion and fluid part will be plugged to the fluid solver. Thanks

Quote:
Originally Posted by jmt View Post
You can use chtMultiRegionFoam. This solver allows an arbitrary number of fluid and solid regions which are coupled via a temperature and flux matching condition.

I have spent time validating this solver and find it useful. Out of the box, the fluid and solid regions are tightly-coupled, so you may have very slow solid convergence unless you implement a decoupling scheme (which I and others have done).
zrxdaly 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
Multiple solids mrbenson OpenFOAM Running, Solving & CFD 0 July 1, 2020 11:45
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Determining the calculation sequence of the regions in multe regions calculation peterhess OpenFOAM Running, Solving & CFD 4 March 9, 2016 04:07
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


All times are GMT -4. The time now is 08:58.