CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   how to solve two heat equation with two source on single domain (

jr33 February 28, 2013 15:14

how to solve two heat equation with two source on single domain
I have a two regions on a single domain (solid), I want to solve two heat equation where each region has its own specific heat capacity, density, thermal conductivity and heat power source.

chtMultiRegionFoam uses two separate domains and interface region, but in my case I have two regions on the same domain, does chtMultiRegionFoam will work?

I can define each region as a patch and then how can I use chtMultiRegionFoam since regions mesh are not separate.

Any other solver? I am stuck, any hint would be great.

wyldckat March 2, 2013 07:53

Greetings Reno,

AFAIK, only the solvers that have the porous feature, can handle a single domain with different materials... sort-of. There is also the multiphase solvers, but it's not what you're looking for either.

I can only guess the safe bet is to use chtMultiRegionFoam. You can use the following tutorial as a reference:

You'll have to use cell zones and then split them into multiple regions, in order to get you case properly prepared.

There is also another possibility: you can create a new solver based on chtMultiRegionFoam, but which handles the solid parts in your case the same way that the porous solvers do!
laplacianFoam is another candidate... from which if I'm not mistaken, is from where chtMultiRegionFoam inherits some of the code for the solid heat transfer.

Best regards,

jr33 March 2, 2013 12:49

thanks for your kind reply.

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