Are the region structure fields (region.x, .y, .z) the centroids of the elements in PDE toolbox (3D Geometry)?
Show older comments
I'm working with a 3D geometry. I use the conductive media DC to calculate the electric potential, then I calculate the joule effect in the centroids and now I want to use it as a heat source (coefficient f) in the heat transfer module. The mesh is always the same.
I've seen that when the f coefficient in the function form is calculated, the region.x,.y,.z is grouped in vectors of 2500 components so I guess matlab repeats the function untill the region fields complets all the mesh size.
The problem appears when I try to assign a f value to the coordinates... it seems that the region.x,.y,.z are not the centroids of the elements...
Does anyone know exactly how the PDE coefficient fucntion form works (Why just 2500 elements in the region.x,.y,.z??)and the real meanning of the region.x,.y,.z field?
Thank you in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Boundary Conditions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!