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 Downloads
Aktualisiert 30. Okt 2009

Lizenz anzeigen

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.

Zitieren als

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. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0