What is the right way to map the temperature from an external app to the THM #26189
Replies: 4 comments 27 replies
-
I did try it with |
Beta Was this translation helpful? Give feedback.
-
Based on my recent experience, for a thermal coupling, I recommend this general strategy:
I do not recommend using I might need some help on the recommendation here @GiudGiud. |
Beta Was this translation helpful? Give feedback.
-
To further muddy the waters, I was looking into the code for HeatTransferFromHeatStructure3D1Phase and it looks like it also has the requirement that all the channels run in the same direction, have the same number of elements, and have the same length - that would definitely not the case here. Does that fall into what you said before, just for the ease of the initial implementation? |
Beta Was this translation helpful? Give feedback.
-
@makeclean @joshuahansel I have been thinking of a way to do this for a little bit. Maybe this is a useful jumping off point: The tricky part of this seems to be mapping the heat flux to THM. If we find something like the maximal inscribed sphere at each node (or element centroid) on the THM, we have a way to find the faces that will contribute heat flux to each THM element (we dilate the sphere a bit to ensure the relevant boundary nodes are contained within the sphere). We then find the weighted mean flux and assign this to the THM element (in a similar way that This is related to finding the centerline/medial axis of a complex geometry (see VMTK documentation). Does it sound like it would work? |
Beta Was this translation helpful? Give feedback.
-
So, we have a thermo-mechanical problem which has cooling channels running inside of it, we want to use the THM module to model the coolant flow, and ideall pass the solid temperature into the THM SubApp. Its working right now, where we set T_solid to a fixed value inside the THM app, and the temperature is updated correctly, however it isn't clear to me how we should do it properly, I can send the temperature from the parent application with something like;
In the associated SubApp;
One of the issues, is using a LAGRANGE variable then the temp_from_parent variable isn't a SCALAR variable and thus the SubApp isn't happy.
What is the correct way for one to transfer the temperature data from the boundary which surrounds a set of pipes, to the pipes themselves. The structure and pipes can be seen in the below figure, in the example below the temperature is solved, and then the THM solve happens, and the Temperature, T, is passed back to the main app.
Beta Was this translation helpful? Give feedback.
All reactions