[petsc-users] Two DMDAs for conjugate heat transfer

Barry Smith bsmith at mcs.anl.gov
Tue Apr 15 11:30:35 CDT 2014


   DMDA are for structured grids. That is each DMDA represents a structured grid. Do you have fluid everywhere and solid everywhere or are some cells fluid and some cells solid? 

   Barry



On Apr 15, 2014, at 11:12 AM, Xiao, Jianjun (IKET) <jianjun.xiao at kit.edu> wrote:

> Dear developers,
> 
> I am writing a CFD code to simulate the conjugate heat transfer. I would like to use two DMDAs: one is for the fluid cells, and the other one is for the solid cells.
> 
> Here are the questions:
> 
> 1.  Is it possible to have two different DMDAs for such a purpose? How the data in these two DMDAs communicate with each other? Are there any similar examples?
> 
> 2.  How to deal with the load balancing if DMDA is used? Or it is simply impossible?
> 
> Thank you.
> 
> Best regards
> JJ



More information about the petsc-users mailing list