Can I find a way to specify Initial Condition at each node using 'solvepde' function? or to specify different materials using 'parabolic' function?
3 次查看(过去 30 天)
显示 更早的评论
Hello Matlabor, I salute for your attention. I'm in dilemma with using 'solvepde' or 'parabolic' function.
Here is the geometry I want to analyse I have combined two materials with different physical properties and analyse to heat transfer them separately to front view and right view.
When I analyzed the front view, I used a ‘parabolic’ function to do mesh analysis, so I could give the initial conditions to each node as I wanted (for example, give a different temperature to the center)
However, when I analyzed the right view, I could not use the ‘parabolic’ function because the property was different. I can set the coefficient differently according to the material property by using the ‘Face’ in ‘specifyCoefficients’ function. At this time, I could not specify the initial conditions to each node point arbitrarily.
As result, How can I specify initial conditions to each node point as I want, and how can I find a way to assign different physical properties using one function?
0 个评论
采纳的回答
MarionJ
2017-10-2
If your properties do not change I think it is enough to define a Matrix with the value of the property defined for each Center Point of the triangles of your mesh.
If your properties are for example temperature dependent the Matrix has to be generated in a function. With parabolic-solver you can define for example the temperature-dependent conductivity of your material in a function. This function will be called by the solver automatically during solving. Temperature has to be given as Input.
T = parabolic(T0,t,b,p,e,t,c,a,f,d);
with c='lambda(T)'
It's easier for coefficient a or d, were you can define a char separated with "!" for each material: https://de.mathworks.com/help/pde/ug/a-or-d.html
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!