|
[Sponsors] |
March 25, 2020, 14:15 |
Thermally coupled separate surfaces
|
#1 |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
Hi gents,
I have a problem where I have a body of a train car that is defined with an "interior surface" and an "exterior surface", basically assuming there is a certain thickness of void space in between. I know if I had assumed a zero thickness surface I could have shadow surfaces with temperature coupling and a pseudo-thickness. Is there a way to somehow map/interpolate and associate these exterior and interior surfaces which are offset and different from each other so they behave in the same way as coupled? Thanks!
__________________
Sapere aude! |
|
March 25, 2020, 23:42 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you may try to make a loop over faces of internal wall and store temperature according to coordinates
using other function you may apply stored data as a temperature boundary condition on external wall (with some kind of interpretation, based on coordinate)
__________________
best regards ****************************** press LIKE if this message was helpful |
|
March 26, 2020, 03:44 |
Between the surfaces
|
#3 |
Senior Member
|
If there is a solid zone between interior and exterior, then there should be a solid body existing between the two surfaces. Or is there nothing between these two? If there is nothing, then either you can do it using UDF, as suggested by Alexander, with a slight modification. Instead of temperature, you need to match the heat flux. Matching the heat flux will lead to conservation of thermal energy. Another option is to create an interface. You can create a translational periodic interface. That will ensure the conservation of fluxes.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 26, 2020, 07:19 |
|
#4 |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
Thanks for the suggestions.
Indeed right now there is void space in between (in reality should be solid). I get the idea of using a loop or profile to read the variable of say heat flux, and then apply that through an xyz interpolation to the other face but am not quite sure how to write that. Do you have any example UDF ? Thanks!
__________________
Sapere aude! |
|
March 26, 2020, 08:02 |
Udf
|
#5 |
Senior Member
|
An example is not available, at least not with me and it won't be straightforward or easy because Fluent uses polygonal mesh approach to do this, however, here is one process that can be followed
1. Use DEFINE_ADJUST macro along with multiple UDMs to save intermediate data 2. Within the DEFINE_ADJUST, loop over the faces of each boundary, i.e., over interior and exterior. Look at the first example available at the following link on how to do this. https://www.afs.enea.it/project/nept...df/node100.htm 3. Within each loop, extract the gradients of the field variables. If one of these is solid, then only temperature gradient needs to be extracted. Save this in UDM. Loop over other boundary and use the values from the UDM to extrapolate data. Then repeat the operation backward, i.e., save gradient from second boundary for use at the first one.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combine part surfaces if along a specified plane | miragemobile | STAR-CCM+ | 1 | March 26, 2019 18:43 |
how to get two sided surfaces | sebbel | CFX | 1 | November 16, 2018 02:45 |
NURBS surfaces on a wing | frossi | CFX | 5 | February 5, 2017 15:27 |
Separate surfaces in DesignModeller 12 | ckbenjamin | ANSYS | 2 | September 19, 2011 20:51 |
separating top surfaces after extruding the 2D mesh | Mario-CFD | ANSYS Meshing & Geometry | 3 | January 8, 2011 15:26 |