- 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.
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Udit06
il 11 Dic 2023
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 Commenti
Vedere anche
Categorie
Scopri di più su Boundary Conditions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!