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, 11: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: 4
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, 12:03
Default
  #2
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 6
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, 04:44
Default
  #3
New Member
 
Join Date: Jun 2021
Posts: 6
Rep Power: 4
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, 12:41
Default
  #4
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 723
Blog Entries: 1
Rep Power: 17
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, 15:46
Default
  #5
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 6
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, 15:50
Default
  #6
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 6
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, 16:22
Default
  #7
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 723
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Thx! Much appreciated.
dlahaye is offline   Reply With Quote

Old   June 21, 2021, 08:09
Default
  #8
New Member
 
Join Date: Jun 2021
Posts: 6
Rep Power: 4
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, 09:06
Default
  #9
jmt
Member
 
Julian
Join Date: Sep 2019
Posts: 32
Rep Power: 6
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

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 10:45
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Determining the calculation sequence of the regions in multe regions calculation peterhess OpenFOAM Running, Solving & CFD 4 March 9, 2016 03:07
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32


All times are GMT -4. The time now is 01:33.