Hi everybody,
i got some questions concerning thermal simulation of a composite solid consisting of different materials. As a MWE, i designed a model of three adjacent blocks in Freecad and exported it as a .step file (see attachment).
My first question is, how to get a conformal mesh at the interface between the regions. When looking at a section of the interface, one can see that the mesh is nonconformal at the moment.
Although the heat conduction over the interface works, i guess the nodal values are interpolated and contain an interpolation error.
I’m quite new to cad design and it may be that the problem lies within my step file.
In addition, i have two smaller issues:
I managed to set different conductivities and sourceterms for the subdomains, but failed visualizing them.
I tried with Draw(sources,mesh,‘piecewise’), but the result is just some random colorization on the surfaces of the body.
I also cant get the mesh.SetMaterial() routine on the different domains of the ngsolve.comp.Mesh to work. They are named [domain_0,domain_1,domain_2] by default and i would like to change that.
Thanks for your support, have a great weekend!
Lukas
Attachment: cubes_2020-05-31-2.py
Attachment: cube_compound_2020-05-31-2.step