Steady State Heat Transfer: Input File Settings

44 views
Skip to first unread message

Morris Jowas

unread,
Sep 7, 2021, 8:49:51 AM9/7/21
to deal.II User Group

Hello all,

I am a new deal.ii user pursuing a PhD in thermal management of printed circuit boards .I am trying to analyse a steady state heat transfer problem on  a 3d rectangular domain. The domain has a convective heat flux boundary condition on the top and bottom surfaces. There is also a discrete heat source on the top surface.

I am inputting my geometry using as a vtk file using the read_vtk() function. My questions:

-          Is there a way to include the boundary conditions in the input file?

-          Is it possible to include the material properties of the cells in the input file. Each cell can potentially be anisotropic  and have different thermal conductivity in the x, y and z directions.

From reading the documentation it seems that the vtk input file can include MaterialID and BoundaryID data, but it would be useful for me to also include the accompanying properties of the identified materials and boundaries.

I appreciate your assistance in advance, especially an example implementation of such a file.

Kind regards,

Morris Jowassteady_state_heat.png

Wolfgang Bangerth

unread,
Sep 7, 2021, 12:01:06 PM9/7/21
to dea...@googlegroups.com

Morris,

> I am a new deal.ii user pursuing a PhD in thermal management of printed
> circuit boards .I am trying to analyse a steady state heat transfer
> problem on  a 3d rectangular domain. The domain has a convective heat
> flux boundary condition on the top and bottom surfaces. There is also a
> discrete heat source on the top surface.
>
> I am inputting my geometry using as a vtk file using the *read_vtk()*
> function. My questions:
>
> - Is there a way to include the boundary conditions in the input file?
>
> - Is it possible to include the material properties of the cells in the
> input file. Each cell can potentially be anisotropic  and have different
> thermal conductivity in the x, y and z directions.
>
> From reading the documentation it seems that the vtk input file can
> include MaterialID and BoundaryID data, but it would be useful for me to
> also include the accompanying properties of the identified materials and
> boundaries.

VTK is a rich enough file format that it might in principle be possible
to include this sort of information into the mesh file. But, in
practice, that's not how people do things -- instead, one just puts
material and boundary ids into the mesh file, and then make the
association with material properties and what a particular boundary id
means in the solver.

In other words, in your assembly loop, you'd just query the material_id
of a cell, and based on that decide what the material properties of that
cell should be.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Morris Jowas

unread,
Sep 8, 2021, 4:28:15 AM9/8/21
to deal.II User Group
Thank you very much for your response and clarification Wolfgang.

- Morris Jowas

Reply all
Reply to author
Forward
0 new messages