k
السلام عليكم ورحمة الله وبركاته
من يعرف برنامج
PDE Toolbox
أريد رابط لتحميله وإذا ممكن شرح له
وجزاكم الله خير
********************************************************
الاجابة :
يجب ان يكون لديك الماتلاب واذا لم يكون معك حمله والبرنامج pde toolbox موجود فيه وساعطيك مثال Example 1: Torsion of a shift with an elliptical x-section
Stress function-formulation & Warping function formulation:
See the handout
The following pages explain how Matlab Toolbox can solve the torsion problem for a solid elliptical section.
I- Stress function formulation (Complete ellipse)
Start->Matlab, and type pdetool after the prompt in the command window. This will take you to PDE Toolbox.
1- Click the Draw button->ellipse/circle or click on the ellipse icon
2- Double click on the drawn ellipse and enter 0, 0, 1 and 0.5 for x-Center, y-Center, A-semiaxes and B-semiaxes, respectively.
3- Boundary->Boundary Mode or Click the ∂Ω button.
4- Click on each of the four contour segments and select the "Dirichlet" as the type of BC. (It is the default value). Enter 1 and 0 for h and r respectively. This means we are assuming u = 0 on the boundary.
5- Click PDE button and select elliptic for the type of PDE we are solving and enter 1, 0, -2 for c, a and f. This implies that we are solving u = -2
6- Click Δ button (or Click Mesh-> Initialize Mesh
7- Select Solve PDE from the Solve menu or click = button
8- To get secondary solutions as well as different types of plots, click Plot -> Parameters
9- As an example, to plot the shear stress τzy= -∂u/∂x, click Plot -> Parameters, select user entry from the pull-down menu under property, then type ux in the adjacent box under user entry and click the Plot button. Do the same thing to get the solution for τzx (τzx= ∂u/∂y).
10- To get a contour plot for any of the solution components , say ux, select the contour option. You will get the following. You can try other plot types.
11- Click Save As (File menu) and save the file. (say torsion_elp).
12- To have more access to the solution data such as the maximum shear stress, you need to export the geometry & boundary conditions, PDE coefficients, mesh and solution by clicking Export under each one of the respective buttons (You will get the following screens for each operation).
13- To get the solution for the gradients (∂u/∂x , ∂u/∂y), go to Matlab command window and type
>>[ux , uy]=pdegrad(p,t,u);
Important: Change the directory at the top of the command window to the one that contains your saved file before you execute the above line.
14- The maximum value of ux (ux= -τzy) and the maximum value of uy (uy= τzx). Use max and min Matlab commands. Let us assign the variable name tau_zx_max to (τzx )max. Similarly, let us assign the variable name tau_zy_max to (τzy )max. Then you should type
>> tau_zx_max=max(uy)
>> tau_zy_max=max(ux)
Try typing min(ux) and min(uy). You will get
tau_zx_max = 0.7164, tau_zx_min = -0.7164, tau_zy_max = 0.4000 and tau_zy_min = -0.4054.
The exact values are:
|(τzx )|max = 0.8
|(τzy )|max = 0.4
15- To find the location of he location of (τzx)max, use the command find:
>> find (uy= =tau_zx_max)
You will get 4 as the number of the triangle at which (τzx)max occurs. Similarly, you get 19 as the number of the triangle at which (τzx)min occurs.
16- To locate these triangles, go back to Matlab PDE Toolbox window and select Show Triangle Labels from the Mesh menu. The triangles are at the extreme points of the minor axis as expected.
17- To improve the FEM solution for |(τzx )|max, let us refine the mesh by selecting Refine Mesh from the Mesh menu or by clicking the double triangle button once.
18- To get the refined solution, repeat steps 8 to 17.
Max(ux) = 0.4028, min(ux) = -0.4021, Max(uy) = 0.7631 and min(ux) = -0.7613.
19- Refine the mesh once more to get the following results:
Max(ux) = 0.4017, min(ux) = -0.4008, Max(uy) = 0.7822 and min(ux) = -0.7814.
II- Warping function formulation (1/4 ellipse)
Using the warping formulation and utilizing the symmetry of the problem (1/4 ellipse)
(τzx)max =ux -Gθ y = -0.3001-0.48 = -0.8001 (Gθ = 1 and y ≈ 0.48 at the center of triangle # 3
(τzx) max = uy + Gθ x = -0.5934 +0.98=0.4064 (x ≈ 0.98 at the center of triangle # 56
III- Warping function formulation (1/4 ellipse)
We get for the coarse mesh:
uxmax = 0.4069
uxmin = 0.7477
For the first finer mesh:
uxmax = 0.4063
uxmin = 0.7761
For the second finer mesh
uxmax = 0.4039
uxmin = 0.7885
Example 2: Extension of an elastic pate with an elliptical hole (plane stress).
السلام عليكم ورحمة الله وبركاته
من يعرف برنامج
PDE Toolbox
أريد رابط لتحميله وإذا ممكن شرح له
وجزاكم الله خير
********************************************************
الاجابة :
يجب ان يكون لديك الماتلاب واذا لم يكون معك حمله والبرنامج pde toolbox موجود فيه وساعطيك مثال Example 1: Torsion of a shift with an elliptical x-section
Stress function-formulation & Warping function formulation:
See the handout
The following pages explain how Matlab Toolbox can solve the torsion problem for a solid elliptical section.
I- Stress function formulation (Complete ellipse)
Start->Matlab, and type pdetool after the prompt in the command window. This will take you to PDE Toolbox.
1- Click the Draw button->ellipse/circle or click on the ellipse icon
2- Double click on the drawn ellipse and enter 0, 0, 1 and 0.5 for x-Center, y-Center, A-semiaxes and B-semiaxes, respectively.
3- Boundary->Boundary Mode or Click the ∂Ω button.
4- Click on each of the four contour segments and select the "Dirichlet" as the type of BC. (It is the default value). Enter 1 and 0 for h and r respectively. This means we are assuming u = 0 on the boundary.
5- Click PDE button and select elliptic for the type of PDE we are solving and enter 1, 0, -2 for c, a and f. This implies that we are solving u = -2
6- Click Δ button (or Click Mesh-> Initialize Mesh
7- Select Solve PDE from the Solve menu or click = button
8- To get secondary solutions as well as different types of plots, click Plot -> Parameters
9- As an example, to plot the shear stress τzy= -∂u/∂x, click Plot -> Parameters, select user entry from the pull-down menu under property, then type ux in the adjacent box under user entry and click the Plot button. Do the same thing to get the solution for τzx (τzx= ∂u/∂y).
10- To get a contour plot for any of the solution components , say ux, select the contour option. You will get the following. You can try other plot types.
11- Click Save As (File menu) and save the file. (say torsion_elp).
12- To have more access to the solution data such as the maximum shear stress, you need to export the geometry & boundary conditions, PDE coefficients, mesh and solution by clicking Export under each one of the respective buttons (You will get the following screens for each operation).
13- To get the solution for the gradients (∂u/∂x , ∂u/∂y), go to Matlab command window and type
>>[ux , uy]=pdegrad(p,t,u);
Important: Change the directory at the top of the command window to the one that contains your saved file before you execute the above line.
14- The maximum value of ux (ux= -τzy) and the maximum value of uy (uy= τzx). Use max and min Matlab commands. Let us assign the variable name tau_zx_max to (τzx )max. Similarly, let us assign the variable name tau_zy_max to (τzy )max. Then you should type
>> tau_zx_max=max(uy)
>> tau_zy_max=max(ux)
Try typing min(ux) and min(uy). You will get
tau_zx_max = 0.7164, tau_zx_min = -0.7164, tau_zy_max = 0.4000 and tau_zy_min = -0.4054.
The exact values are:
|(τzx )|max = 0.8
|(τzy )|max = 0.4
15- To find the location of he location of (τzx)max, use the command find:
>> find (uy= =tau_zx_max)
You will get 4 as the number of the triangle at which (τzx)max occurs. Similarly, you get 19 as the number of the triangle at which (τzx)min occurs.
16- To locate these triangles, go back to Matlab PDE Toolbox window and select Show Triangle Labels from the Mesh menu. The triangles are at the extreme points of the minor axis as expected.
17- To improve the FEM solution for |(τzx )|max, let us refine the mesh by selecting Refine Mesh from the Mesh menu or by clicking the double triangle button once.
18- To get the refined solution, repeat steps 8 to 17.
Max(ux) = 0.4028, min(ux) = -0.4021, Max(uy) = 0.7631 and min(ux) = -0.7613.
19- Refine the mesh once more to get the following results:
Max(ux) = 0.4017, min(ux) = -0.4008, Max(uy) = 0.7822 and min(ux) = -0.7814.
II- Warping function formulation (1/4 ellipse)
Using the warping formulation and utilizing the symmetry of the problem (1/4 ellipse)
(τzx)max =ux -Gθ y = -0.3001-0.48 = -0.8001 (Gθ = 1 and y ≈ 0.48 at the center of triangle # 3
(τzx) max = uy + Gθ x = -0.5934 +0.98=0.4064 (x ≈ 0.98 at the center of triangle # 56
III- Warping function formulation (1/4 ellipse)
We get for the coarse mesh:
uxmax = 0.4069
uxmin = 0.7477
For the first finer mesh:
uxmax = 0.4063
uxmin = 0.7761
For the second finer mesh
uxmax = 0.4039
uxmin = 0.7885
Example 2: Extension of an elastic pate with an elliptical hole (plane stress).
الإثنين أبريل 20, 2020 1:01 pm من طرف mahmoudb69
» الحب تلك الكلمة المكونة من حرفين
الإثنين أبريل 20, 2020 12:56 pm من طرف mahmoudb69
» قواعد البيانات و ربط جدول بيانات بمشروع دلفي
الأربعاء يوليو 27, 2016 4:34 pm من طرف delphi33
» ملف كل دول إكسال التي تحتاجها لكافة الحسابات الخاصة بالأجور بالوظيف العمومي
السبت أبريل 09, 2016 9:33 am من طرف MAZOUZ24
» السنة أولى رياضيات و إعلام آلي النظام الجديد LMD يشمل دروس، تمارين وحلول
الجمعة أكتوبر 30, 2015 10:35 am من طرف طالبة العلم
» أرجو المساعدة
السبت أكتوبر 24, 2015 1:13 pm من طرف LOTFI_CH
» طلب مساعدة
الأحد أكتوبر 18, 2015 4:35 am من طرف omar embarek
» حمل هذه الملفات فأنت بحاجة اليها
السبت يوليو 11, 2015 5:22 am من طرف جيلالي بلقاسم
» دور الاتصالات الإدارية في تعزيز أداء العاملين في المستشفيات الحكومية والخاصة الإردنية في مدينة إربد
الأحد يونيو 07, 2015 12:54 am من طرف الدكتور رامي محمد طبيشات
» مكتبة مذكرات التخرج لطلاب الإقتصاد حمل بلمسة زر وبروابط مباشرة
الأربعاء مايو 27, 2015 5:57 am من طرف didou17
» تقدير نموذج للتنبؤ بالمبيعات باستخدام السلاسل الزمنية - رسالة ﻤـﺎﺠـﺴﺘـﻴـﺭ
الخميس أبريل 02, 2015 10:06 am من طرف ابودعاء
» (¯`·._) ( 13 كتاب لمــادة الجبر باللغتين العربية و الفرنسية + تمارين محلولة
الثلاثاء مارس 31, 2015 7:47 am من طرف nada
» قسم العلوم الاقتصادية التجارية و التسيير
الأربعاء مارس 11, 2015 12:44 pm من طرف koka.8
» مجموعة كبيرة من مذكرات التخرج لتحميلها مجانا
الأربعاء مارس 04, 2015 8:10 am من طرف koka.8
» تثبيت الباك تراك 4
الجمعة يناير 16, 2015 6:22 am من طرف ابراهيم.