- https://people.maths.ox.ac.uk/suli/fem.pdf
- https://www.mathworks.com/help/pde/ug/basics-of-the-finite-element-method.html
Need help in solving 2D Parabolic PDE through PDE toolbox.
조회 수: 2 (최근 30일)
이전 댓글 표시
Variables Description:
h is film thickness
p is pressure (Variable)
grid is written in x and z
got the coefficient of pde through ‘pdeCoefficients’
Formatted as a simplified equation.
Code Snippet:
syms x
h = 1 + cos(x);
syms p(x,z)
% pdeeq = diff(p,x,x) + diff(p,z,z) + (diff(h,x)/h)*diff(p,x) - diff(h,x)/h;
pdeeq = laplacian(p,[x, z]) + (diff(h,x)/h)*diff(p,x) - diff(h,x)/h;
coeffs = pdeCoefficients(pdeeq,p)
coeffs.f('show')
coeffs.c('show')
Error:
Warning: After extracting m, d, and c, some gradients remain. Writing all remaining terms to f.
Note:
Seems like this equation can’t be translated in divergence form.
Can this PDE be solved, if yes through PDE toolbox can anyone please guide?
댓글 수: 0
답변 (1개)
Udit06
2023년 12월 11일
Hi Aditya,
I understand that you are trying to solve a 2-D parabolic PDE that cannot be translated in a form which can be solved using PDE toolbox as specified in the following documentation.
You can solve such equations using the numerical methods for solving PDE such as finite difference method or finite element method. You can refer to the following resources to understand more about the finite difference method and finite element method respectively.
I hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 PDE Solvers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!