Finite Element solution to the 2nd Order Diff Equation with difussion and convection terms only

This function solves the following the following BVP using Galerkin method.
1,9K téléchargements
Mise à jour 30 oct. 2009

Afficher la licence

au'(x)+bu"(x)=0 for 0<=x<=d
BC: u(0)=0 and u(d)=h
Example:
Finding an approximate solution to the following BVP using 16 elements of equal length.
u'(x)-u"(x)=0 : 0<=x<=1
BC: u(0)=0 and u(1)=1
Solution:
>> Galerkin(16,1,-1,1,1)
The result includes the plots as shown in the screenshot and the displacement and error matrix.

Citation pour cette source

Dr. Redmond Ramin Shamshiri (2024). Finite Element solution to the 2nd Order Diff Equation with difussion and convection terms only (https://www.mathworks.com/matlabcentral/fileexchange/25696-finite-element-solution-to-the-2nd-order-diff-equation-with-difussion-and-convection-terms-only), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0