matlab pdetool pde equation

5
http://mechacity.blogspot.com PDETOOL กกก PDE กกก PDE กก command window MATLAB กก PDETOOL MATLAB กกก PDE กกกก PDE Poisson‘s Equation (ก ) PDETOOL MATLAB กก 1. ‘pdetool’ MATLAB command window PDE toolbox

Upload: mrp

Post on 24-Oct-2014

105 views

Category:

Documents


4 download

DESCRIPTION

การใช้ PDE tool ในการแก้สมการ PDE

TRANSCRIPT

Page 1: Matlab Pdetool Pde Equation

http://mechacity.blogspot.com

ก����� PDETOOL ��ก��ก��� ���ก�� PDE

��ก���ก��ก�� PDE ��ก��ก ������� command window ��� MATLAB ��ก�� ���������ก��ก������ ������ PDETOOL ��� MATLAB �������ก���ก��ก�� PDE ��������������ก��������

��ก�ก�����ก��������� � ��ก�� PDE �!! Poisson‘s Equation (�����������ก�� � �#$�ก%����)

������'��� PDETOOL ��� MATLAB ��ก���ก��$(�����)�����)��)��*���� 1. +,+% ‘pdetool’ ��!� MATLAB command window �����ก-����)������ PDE toolbox

Page 2: Matlab Pdetool Pde Equation

http://mechacity.blogspot.com

2. ������ก�� �.�ก/��������ก �0����!� Options -> Axes_Limits �����ก-����)��� Axes Limits ������ก��)���/�� X-axis range = [-1.5 1.5] ��� Y-axis range = [-2.5 2.5] (1���������� ����� ก)��ก ��! �)����ก�� ���ก���������/���กก�����! �)����ก�� �2ก����)

3. ���ก�� �.�ก �0����!� Draw - > Rectangle/square �������ก������0���� �������!�+.�����������

����)��� PDE tool ��ก����������ก����! !,�/�,ก����0���� �����������*� �����กก-����)��� Object

Dialog ��� �����ก���ก�*�/�� Left , Bottom , Width, Height ����/�� 0,0,1,2 )������!

Page 3: Matlab Pdetool Pde Equation

http://mechacity.blogspot.com

4. ��� �0����!���� �� �.�ก/������ Boundary - > Boundary mode �0���� �����������*���� ������ � ���ก34��0ก5�����,��)�ก�� � ��0���� ����� )��*����/�,ก��� �����!������ ����� ������)������� � �ก��ก����� Boundary Condition 1��)������� �����!��� Boundary Condition ��)������/����ก�� )������!)��*���� (/�� h = 1)

• �����!!� �ก�� boundary condition /.�

• �����!6��� �ก�� boundary condition /.�

• �����!��� �ก�� boundary condition /.�

• �����!���� �ก�� boundary condition /.�

Page 4: Matlab Pdetool Pde Equation

http://mechacity.blogspot.com

5. ��� �0����!� �.�ก PDE -> PDE Specification… �����ก-����)��� PDE Specification ������ก�� �.�ก/�������� Type of PDE: ����/�� Elliptic ������/�� Coefficient �����/����ก�!�ก��

PDE (��ก1���%ก����� )

6. /�,ก��������� ����� +.�����ก��)�ก�,����ก�!��� ����� ��ก)���ก�����7� 8�����*���/���� ����

�ก�������/�,ก�������

Page 5: Matlab Pdetool Pde Equation

http://mechacity.blogspot.com

7. ���ก��)���/�� Plot Selection 1��/�,ก����9: �����ก-����)��� Plot Selection ���ก��)���/��)�;�+������ก- ����ก��9: Plot +.��������� PDE tool ���ก��+�<�)ก��#

8. ��.� /�,ก��� /�.������ !� �0����!� ������� PDE tool ���ก��+�<�)ก��#

���������ก ���� PDETOOL �ก ��ก���ก � PDE