Can I find a way to specify Initial Condition at each node using 'solvepde' function? or to specify different materials using 'parabolic' function?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello Matlabor, I salute for your attention. I'm in dilemma with using 'solvepde' or 'parabolic' function.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166758/image.png)
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에서 Geometry and Mesh에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!