CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   how to solve two heat equation with two source on single domain (https://www.cfd-online.com/Forums/openfoam/113902-how-solve-two-heat-equation-two-source-single-domain.html)

 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: http://openfoamwiki.net/index.php/Ge..._-_planeWall2D

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,
Bruno

 jr33 March 2, 2013 12:49