Hello everyone, I have solved the temperature and heat flux density distributions in a 2D domain using the following code. Suppose I want to output the heat flux density values of all nodes on a specific boundary (assuming the boundary’s index is 11) to a txt or excel file. How can I achieve this? I hope to obtain a general solution, and then I can use the same method to output the temperature on a specific boundary, and so on. Thank you!
Dear dokken,I have another question about this. Suppose I obtain the heat flux density results on a 2D region boundary using your method. I want to use these results as the second type of boundary condition on a boundary of another 2D region, and then solve for the temperature field. How should I proceed? (The grids on these two boundaries are matched)
Ok,I am learning the example that you have mentioned. I have a question: for two matching boundaries (in different domains) , I extract the computed results from one boundary and use them as the boundary conditions for the other boundary (assuming these results represent heat flux density); in fact, I simply assign the discretized data points at the mesh vertices to the corresponding vertices on the other boundary. When computing in the other domain, will FEniCS automatically interpolate these discrete data points into continuous boundary conditions before performing the computation? This is my understanding of the process, but I’m not sure if this is accurate. Can you help explain this to me?