Can you get solutions from nodes internally on a 3D model in PDE or just from the surface of the model?

1 次查看(过去 30 天)
I am solving a 3d model using the transient heat transfer pde toolbox. The 3d model was imported as an stl file. I am trying to get the temperature profile in the centre of the model but I am not sure if this is possible. I think all the data I am getting are from nodes on the surface. Is it possible to locate nodes within the model itself?
For example this location should be in the centre of the model (0,0,-0.0295674) and this one should be on the surface (0,-0.00969541,-0.0295674), however when i find the closest node it returns the same node and hence the same temperature values. Could this be because my 'Hmax' in my mesh isnt small enough? Or is what I am trying to do possible?
Thanks
  2 个评论
Kevin Giles
Kevin Giles 2020-11-17
Would this work, if I was for example looking for the temperature in the very centre of the object.
[X,Y,Z] = meshgrid(0,0,0);
Tintrp = interpolateTemperature(R,X,Y,Z,1:length(time));
It seems to be returning reasonable values, I am just unsure on what the function of the meshgrid is?
Thanks
Priysha LNU
Priysha LNU 2020-11-25
Hi,
meshgrid(0,0,0)
The above 'meshgrid()' function will return a 3-D grid coordinates defined by input (0,0,0) here. Generally,
  • the meshgrid() function can return a 2-D or a 3-D grid depending on the number of inputs
  • the inputs to this function are vectors defining the x-coordinates, y-coordinates,and z-coordinates.
For more details, refer to the following documentation links:
Hope this helps!
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by