(Luận văn thạc sĩ) phân tích ứng xử của tấm sử dụng phương pháp phần tử hữu hạn kết hợp hàm dạng hierarchical

90 11 0
(Luận văn thạc sĩ) phân tích ứng xử của tấm sử dụng phương pháp phần tử hữu hạn kết hợp hàm dạng hierarchical

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC SƯ PHẠM KỸ THUẬT THÀNH PHỐ HỒ CHÍ MINH LUẬN VĂN THẠC SĨ HỨA THÀNH LUÂN PHÂN TÍCH ỨNG XỬ CỦA TẤM BẰNG PHƯƠNG PHÁP PHẦN TỬ HỮU HẠN KẾT HỢP HÀM DẠNG HIERARCHICAL NGÀNH: KỸ THUẬT CƠ KHÍ - 1520414 S K C0 Tp Hồ Chí Minh, tháng 2/2017 BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƢỜNG ĐẠI HỌC SƢ PHẠM KỸ THUẬT THÀNH PHỐ HỒ CHÍ MINH LUẬN VĂN THẠC SĨ HỨA THÀNH LUÂN PHÂN TÍCH ỨNG XỬ CỦA TẤM BẰNG PHƢƠNG PHÁP PHẦN TỬ HỮU HẠN KẾT HỢP HÀM DẠNG HIERARCHICAL NGÀNH: KỸ THUẬT CƠ KHÍ - 1520414 Hƣớng dẫn khoa học: PGS.TS.NGUYỄN HỒI SƠN HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn i HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn ii LÝ LỊCH KHOA HỌC I LÝ LỊCH SƠ LƢỢC: Họ & tên: Hứa Thành Luân Giới tính: Nam Ngày, tháng, năm sinh: 14/04/1991 Nơi sinh: Biên Hịa Q qn: Sóc Trăng Dân tộc: Kinh Chỗ riêng địa liên lạc: Điện thoại cá nhân:0988201778 Điện thoại nhà riêng: 0613846035 Fax: E-mail: huathanhluan1404@gmail.com II QUÁ TRÌNH ĐÀO TẠO: Đại học: Đại Học Lạc Hồng Hệ đào tạo: Chính quy Thời gian đào tạo: 2009 -2013 Nơi học (trƣờng, thành phố): Đồng Nai Ngành học: Cơ Điện Tử III QUÁ TRÌNH CƠNG TÁC CHUN MƠN KỂ TỪ KHI TỐT NGHIỆP ĐẠI HỌC: Thời gian 8/2013 - 4/2014 4/2014- đến Nơi công tác Công việc đảm nhiệm Trƣờng Cao Đẳng nghề Đồng An Nhân viên Cơ Sở Cơ khí Liên Thành Quản lý HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn iii LỜI CAM ĐOAN Tôi cam đoan cơng trình nghiên cứu tơi Các số liệu, kết nêu luận văn trung thực chƣa đƣợc cơng bố cơng trình khác Tp Hồ Chí Minh, ngày 27 tháng 04 năm 2017 (Ký tên ghi rõ họ tên) HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn iv LỜI CẢM ƠN Trong suốt trình học tập nghiên cứu luận văn Trƣờng Đại Học Sƣ Phạm Kỹ Thuật, em gặp nhiều khó khăn Tuy nhiên đƣợc giúp đỡ nhiệt tình từ quý thầy cơ, gia đình bạn bè giúp em hồn thành luận văn Đặc biệt Em xin gửi lời cảm ơn sâu sắc tới thầy PGS.TS Nguyễn Hoài Sơn tận tình hƣớng dẫn, giúp đỡ theo sát trình làm luận án Đây điều quan trọng giúp em hoàn thành luận án Em xin cảm ơn anh Nghiên cứu sinh Trƣờng nhiệt tình chia sẻ kiến thức giúp đỡ em trình học tập làm luận văn Quý thầy cô khoa Cơ Khí Chế Tạo Máy tồn thể q thầy Trƣờng Đại Học Sƣ Phạm Kỹ Thuật giảng dạy tận tình để giúp em có đủ kiến thức hồn thành tốt luận văn.Vì em xin gởi lời cảm ơn sâu sắc đến quý thầy cô Rất cám ơn bạn bè chia sẻ kiến thức liên quan đến luận án tơi Cảm ơn động viên nhiệt tình bạn, điều giúp vƣợt qua đƣợc khó khăn q trình hồn thành luận án Cuối cùng, em xin chân thành cảm ơn gia đình ủng hộ, giúp đỡ em suốt thời gian họctập Em xin đƣợc gởi lời chúc sức khỏe chân thành đến Thầy PGS.TS Nguyễn Hồi Sơn, q thầy cơ, bạn bè học tập công tác Trƣờng Đại Học Sƣ Phạm Kỹ Thuật Em xin chân thành cảm ơn ! HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn v TÓM TẮT Phƣơng pháp phần tử hữu hạn phƣơng pháp số gần để giải toán đƣợc mơ tả phƣơng trình vi phân đạo hàm riêng miền phần tử xác định có hình dạng điều kiện biên bất kỳ, mà nghiệm xác khơng thể tính đƣợc phƣơng pháp giải tích Phƣơng pháp phần tử hữu hạn hierarchical trƣờng hợp đặc biệt phƣơng pháp Rayleigh-Ritz, khác biệt lớn FEM HFEM hàm nội suy Mặc dù HFEM có nhiều điểm chung với phƣơng pháp Rayleigh-Ritz cổ điển nhƣng việc sử dụng hàm chuyển vị HFEM tính linh hoạt cao cải thiện tỷ lệ hội tụ nhƣ tính xác cao Việc nghiên cứu lĩnh vực không để giải yêu cầu kỹ thuật đại mà chứng minh cho việc sử dụng lý thuyết nâng cao để khắc phục giới hạn lý thuyết học vật liệu ABSTRACT Finite element method (FEM) is an approximate numerical method for solving problems described by partial differential equations on the bounded domain of any shape and boundary condition that method formulation of the problem results in a system of algebraic equations Hierarchical Finite element method is a special case of the Rayleigh-Ritz method, the biggest difference between FEM and hybrid finite element (HFEM )is the interpolation function Although HFEM has much in common with the classical Rayleigh-Ritz methods, the results of approximation functions in HFEM method is greater flexibility and improved convergence rates as well as greater accuracy Research in these areas not only solves modern problems technical requirements, but also demonstrates the use of advanced theories to overcome the limitations of the fundamental mechanics of materials HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn vi MỤC LỤC LÝ LỊCH KHOA HỌC ii LỜI CAM ĐOAN iv LỜI CẢM ƠN v MỤC LỤC vi CHƢƠNG 1: TỔNG QUAN 13 1.1 TÍNH CẤP THIẾT CỦA ĐỀ TÀI 13 1.2 Ý NGHĨA KHOA HỌC VÀ THỰC TIỄN CỦA LUẬN VĂN 13 1.3 MỤC ĐÍCH CỦA LUẬN VĂN 17 1.4 NHIỆM VỤ CỦA LUẬN VĂN 17 1.5 GIỚI HẠN ĐỀ TÀI 17 1.6 PHƢƠNG PHÁP NGHIÊN CỨU 17 1.7 LỊCH SỬ PHÁT TRIỂN BÀI TOÁN TẤM 18 1.8 PHƢƠNG PHÁP PHẦN TỬ HỮU HẠN 19 1.9 KẾT CẤU CỦA LUẬN VĂN 19 CHƢƠNG 2: CƠ SỞ LÝ THUYẾT 20 2.1 LÝ THUYẾT ĐÀN HỒI [22] 20 2.1.1 QUAN HỆ ỨNG SUẤT – BIẾN DẠNG – NHIỆT ĐỘ 21 2.1.2 QUAN HỆ BIẾN DẠNG – CHUYỂN VỊ 22 2.1.3 PHƢƠNG TRÌNH CÂN BẰNG 22 2.1.4 ĐIỀU KIỆN BIÊN 23 2.2 LÝ THUYẾT TẤM[14,25] 23 2.2.1 QUAN HỆ LỰC – ỨNG SUẤT 25 2.2.2 LÝ THUYẾT TẤM MỎNG KIRCHOFF[21,25] 25 2.2.3 LÝ THUYẾT TẤM CỦA REISSNER - MNDLIN: 29 2.2.4 LÝ THUYẾT TẤM NHIỀU LỚP KINH ĐIỂN: 31 2.2.5 LÝ THUYẾT BIẾN DẠNG CẮT BẬC NHẤT[20,23] 33 2.3 PHƢƠNG PHÁP PHẦN TỬ HỮU HẠN[34,35] 33 2.3.1 MA TRẬN ĐỘ CỨNG 34 2.3.2 VECTOR TẢI 36 2.4 MƠ HÌNH TOÁN PHẦN TỬ HỮU HẠN 37 2.4.1 HÀM DẠNG 38 2.4.2 MA TRẬN ĐỘ CỨNG PHẦN TỬ 40 2.4.3 QUY ĐỔI VỀ LỰC 42 HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn vii 2.4.4 TÍCH PHÂN SỐ 43 2.4.5 TÍNH ỨNG SUẤT 47 CHƢƠNG 3: HÀM DẠNG HIERARCHICAL 47 3.1 GIỚI THIỆU HÀM DẠNG HIERARCHICAL 47 3.2 HÀM DẠNG HIERARCHICAL[24] 48 3.3 PHÁT TRIỂN PHƢƠNG PHÁP HFEM 52 3.4 HÀM DẠNG HIERARCHICAL DÀNH CHO PHẦN TỬ TỨ GIÁC 54 3.5 SAI SỐ 58 CHƢƠNG 4: MÔ HÌNH TỐN VÀ SAI SỐ 60 4.1 GIỚI THIỆU 60 4.2 MƠ HÌNH HĨA BÀI TỐN 60 4.3BÀI TỐN PHÂN TÍCH TẤM BẰNG HFEM 62 4.3.1 MỘ HÌNH 2D TẤM 62 4.3.2 MƠ HÌNH TẤM 3D 70 CHƢƠNG 5: KẾT LUẬN VÀ ĐỀ XUẤT 75 HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn viii DANH SÁCH CÁC HÌNH Hình 3.4: Hình 3.5: Hình 3.6: Các thành phần ứng suất biến dạng …………………………… 20 Mơ hình toán ứng suất phẳng ………………………………… 21 Biên S vật thể ………………………………………………… 23 Các thành phần lực momen ………………………… 24 Sơ đồ phần tử chịu uốn ……………………………………… 25 Quan hệ góc xoay võng………………………………… 26 Đƣờng biên vector pháp tuyến biên ………………………… 29 Góc xoay pháp tuyến biến dạng trƣợt ………………… 30 Phần tử tứ giác nút ……………………………………………… 38 Cầu phƣơng điểm Gauss ………………………………………… 44 Điểm Gauss theo qui tắc tích phân điểm ………………………… 47 Vị trí điểm cạnh …………………………………………… 50 Cấu trúc hàm dạng hierarchical ……………………………… 51 Hàm dạng hierarchical miền), (o), (x), (+), (*) quy luật phần tử 1 ……………………………………… 52 Phần tử tứ giác bốn nút …………………………………………… 55 Hàm dạng đỉnh ……………………………………………… 56 Nội suy N 94,0,0 (left), N 95,1,0 (middle), N 96, 2,0 (right) …………………… 58 Hình 4.1: Hình 4.2: Hình 4.3: Hình 4.4: Hình 4.5: Hình 4.6: Hình 4.7: Hình 4.8: Hình 4.9: Hình 4.10: Hình 4.11: Hình 4.12: Hình 4.13: Hình 4.14: Hình 4.15: Lƣu đồ giải thuật ………………………………………………… 62 Mơ hình 2D chịu tác dụng lực kéo ……………………… 64 Thiết lập lƣới ……………………………………………………… 64 Tạo lƣới theo hệ quy chiếu ………………………………………… 65 Thứ tự đỉnh mặt cạnh miền phân tử ………………… 66 Biểu đồ lƣợng …………………………………… ……………67 Biểu đồ sai số…………… ………………………………………… 68 Biểu đồ thời gian tính tốn………………………………………… 69 Chuyển vị trục Y……….……………………………………… 70 Ứng suất trục X……………………………………… 70 Mô hình lƣới tấm… ………………………………………… 71 Biểu đồ lƣợng ……………………………………………… 73 Biểu đồ sai số…… ……………………………………………… 74 Biểu đồ thời gian tính tốn ………………………………………… 74 Ứng suất dƣới dạng 3D……………………………………………… 75 Hình 2.1: Hình 2.2: Hình 2.3: Hình 2.4: Hình 2.5: Hình 2.6: Hình 2.7: Hình 2.8: Hình 2.9: Hình 2.10: Hình 2.11: Hình 3.1: Hình 3.2: Hình 3.3: Bảng số liệu Bảng 2.1: Điểm Gauss hàm trọng lƣợng ……………………………… …… Bảng 3.1 Bảng biểu đồ số bậc tự cho yếu tố tứ giác …………………… Bảng 4.1: Dữ liệu cạnh, mặt, định lƣới ……………………………….…… Bảng 4.2: Năng lƣợng biến dạng… …………………………………………… Bảng 4.3: Sai số pFEM FEM…………………………………….……… Bảng 4.4: Thời gian tính tốn…… ………………………………….………… Bảng 4.5: Kết lƣợng ………………………………….………….………… HVTH: Hứa thành luân GVHD: PGS.TS.Nguyễn Hoài Sơn 46 58 65 66 67 71 72 ix CHƢƠNG 5: KẾT LUẬN Trong luận văn tác giả tiến hành phân tích dƣới dạng 2D 3D Kết từ HFEM đƣợc so sánh với FEM để chứng minh hiệu độ xác HFEM Thƣờng phần tử phƣơng pháp phần hữu hạn đƣợc phát triển Mindlin bao gồm chín nút, nút có năm bậc tự Việc xây dựng hierarchical cải thiện khả phần tử cách làm cho mức độ xấp xỉ đa thức để có xu hƣớng đến vơ Các phƣơng trình liên quan đến tính cơng thức đa thức thực việc sử dụng phần mềm Matlab Các thuộc tính phần tử nhƣ ma trận độ cứng chuyển vị đƣợc tính tốn số sử dụng thông số khảo sát từ thực tiễn nhƣ cơng trình nghiên cứu khác Những ảnh hƣởng đến tỉ lệ, mô đun đàn hồi, cấu hình điều kiện biên đƣợc xem xét nghiên cứu tham số đƣợc tham khảo cơng trình nghiên cứu Các cơng việc thực luận văn cung cấp số kết luận việc thực công thức HFEM dựa lý thuyết biến dạng để cắt Độ xác thu đƣợc cách tăng số lƣợng phần tử, hay tăng số bậc đa thức Một so sánh FEM HFEM chứng minh đƣợc nhƣ khác hội tụ HFEM vƣợt trội sô với FEM Một số kiến nghị: Tiếp tục chứng minh khả xác HFEM với vật liệu composite nhiều lớp Việc xây dựng HFEM đƣợc mở rộng để phân tích động composite Phát triển dạng lƣới khác để đạt đƣợc xác cao Mô thực tiễn so sánh kết đạt đƣợc Các HFEM đƣợc mở rộng cách sử dụng lý thuyết biến dạng để cắt thứ hai thứ ba HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 75 TÀI LIỆU THAM KHẢO TÀI LIỆU THAM KHẢO Tiếng Việt [1] Nguyễn Hoài Sơn (chủ biên), “ Ứng dụng phƣơng pháp phần tử hữu hạn tính tốn kết cấu”, Nhà Xuất Đại Học Quốc Gia Thành Phố Hồ Chí Minh, 2007 [2] Nguyễn Hồi Sơn (chủ biên), “ Ứng dụng Matlab tính tốn kỹ thuật”, Nhà Xuất Đại Học Quốc Gia Thành Phố Hồ Chí Minh, 2010 [3] Nguyễn Hồi Sơn (chủ biên), “Phƣơng pháp phần tử hữu hạn với Matlab”, Nhà Xuất Đại Học Quốc Gia Thành Phố Hồ Chí Minh, 2000 [4] Trần Ích Thịnh, Ngơ Nhƣ Khoa, “Phƣơng pháp phần tử hữu hạn” Hà Nội 2007 [5] Nhữ Phƣơng Mai, “ Lý thuyết đàn hồi” Nhà Xuất Bản Giáo Dục , 2009 [6] Chu Quốc Thắng, “Phƣơng pháp phần tử hữu hạn” Nhà Xuất Bản Khoa Học Kỹ Thuật”, 1997 [7] Nguyễn Hoa Thịnh, Nguyễn Đình Đức, “Vật liệu composite công nghệ”, Nhà Xuất Bản Khoa Học Kỹ Thuật, 2002 [8] TS Nguyễn Chiến Hạm, “Nghiên cứu ảnh hƣởng tải trọng xung, nhiệt độ đến độ bền ống phóng composite cốt sợi sử dụng tổ hợp phóng loạt”, Học viện Kỹ thuật Quân sự, 2007 [9] Nguyễn Hải, “Phân tích ứng suất thực nghiệm”, Nhà Xuất Bản Khoa Học Kỹ Thuật 2005 [10] Ngô Nhƣ Khoa, “Mơ hình hóa tính tốn vật liệu, kết cấu composite lớp”, Luận án Tiến sĩ kỹ thuật, 2005 [11] Trần Công Nghị, “Độ bền kết cấu vật liệu composite lớp”, Nhà Xuất Đại Học Quốc Gia Thành Phố Hồ Chí Minh, 2004 Tiếng Anh HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 76 [1] Leissa, A w., "The Free vibration of Rectangular Plates", Joumal of Sound and Vibration, Vol 31, 1973, pp.257-293 [2] Dickinson, s.M and Blasio, A.Di On the use of orthogonal polynomials in the Rayleigh-Ritz Method for the study of flexural vibration and buckling of isotropic and orthotropic rectangular plates' Joumal of sound and vibration, vol 108 1986, pp 5162 [3] Bhat, RB Natural Frequencies of rectangular plates using characteristic orthogonal polymomials in the Rayleigh Ritz Method", journal of sound and Vibration, Vol 102, 1985, pp.493-499 [4] Liew, K M Lam, KY, Chow, ST "Free vibration analysis of rectangular plates using orthogonal plate functions Computers and Structures, vol, 34, 1990 pp 79-85 [5] Lin, cc, King, w w Free transverse vibration of rectangular un- symmetrically laminated plates" Joumal of Sound and Vibration, Vol 36, 1974, pp 91-103 [6] Reissner, E., "On the bending of elastic plates' Quart Appl Math., vol 1947, pp 55-68 [7] Mindlin, RD, "Influence of rotary inertia and shear on flexural motions of isotropic elastic plates", Joumal of Applied Mecbanics vol 18, 1951 pp 31.38 [8] Stavsky, Y., "On the theory of symmetrically hetcrogencous plates having the same thickness variation of the elastic moduli", Topics in Applied Mechanics 1965, pp 105 [9] Yang, P.C., Norris, CH Stavsky, Y "Elastic wave propagation in heterogeneous plates", Intemational journal of solids and structures., Vol 2, 1966, pp 665-684 [10] Ambantsumyan, 1966,TTF- 118 S A "Theory of anisotropic shells", NASA Report, [11] Whitney, J.M., Pagano, NJ, "Shear deformation in hetrogenous anisotropic plates", Journal of Applied Mechanics, vol 37 1970, pp, 1031-1036 [12] Whitney, JM "Stress analysis of thick laminated composite and sandwich plates", Joumal of Composite materials, Vol 6, 1972, pp 426-440 HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 77 [13] Lo, KH ristensen, R M., Wu, E.M "A higher order theory of plates deformation Part I: Homogenous plates Joumal of Applied Mechanics, Vol 44, 1977, pp 663-668 [14] Lo, KH Christensen, R Ma, Wu, EM "A higher order theory of plates deformation Part 2: Laminated plates", Joumal of Applied Mochanics, vol, 44 1977, pp 669-676 [15] Kant T, owen, D R J., Zienkiewicz, OC"A refined higher order c plate bending element" Computers and structures, vol 15, 1982, pp 177-183 [16] Whitney, J.M Sun, CT, "A higher order theory for the tensional motion of laminated composites", Joumal of sound and vibrations, vol 30, 1973, pp 859T [17] Nelson, R.B., Lorch, D.R., "A refine theory of laminated orthotropic plates", Journal of Applied Mechanics, vol 41, 1975, pp 171-183 [18] Lo, K.He, Christensen, R.M., wu, EM "Stress solution determination for higher order plate theory", International journal of solids and structures vol 14, 1978 pp 655-662 [19] Reddy, J.N "A simple higher order theory for laminated composite plates" Joumal of Applied Mechanics., Vol 51, 1989, pp 745 [20] Pagano, NJ"On the calculation of inter-laminar normal stress in composite plates", Journal of Composite Materials, vol 1974, pp 65-82 [21] Srinivas, S., "A refined analysis of composite laminates", Joumal of Sound and Vibrations Vol 30, 1973, pp 495-507 [22] Pagano, NJ., "solution for composite laminate in cylindrical bending", Journal of composite materials., Vol 3, 1969, pp 398 [23] srinivas, S., Rao, A.K., "Bending vibration and buckling of simply supported thick orthotropic rectangular plates and laminates", International Joumal of solids and stLrtures, vol 1970, pp.1463-1481 [24] S.P Timoshenko, J.N Goodier, “Theory of Elasticity”, Mcgraw-Hill Book Company, Inc, 1970 HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 78 [25] ASCA, “Automated system for composite analysis, user manual”, Technomic, 1992 [26] B.D Agarwal, L.J Broutman “Analysis and Performance of Fiber Composites”, Wiley-Interscience Pub., 2004 [27] J.E Aston, J.M Whitney “Theory of Laminated Plates”, Technomic, 1970 [28] S.W Tsai, “Composite Design”, Technomic, 1986 [29] S.W Tsai, H.T Hahn “Introduction to Composite Materials”, Technomic, 1980 [30] R.M Jones, “Mechanics of Composite Materials”, McGraw Hill, N.Y, 1975 [31] Boca Raton, “Mechanics of laminated composite plates theory and analysis”, Technomic, 1992 [32] Pagano N.J and Hatfield S.J, “Elastic behavior of mutilayer by derectional composite”, AIAA Jounal, 1972 [33] SS Rao, “The Finite Element Method in Engineering”, Second Edition Pergamon Press, 1989 [34] Panda S.C and Natarajan, “Finite Element Analysis of composite plates”, Inr J Numer Meth Engineering, 1979 [35] Reddy J.N, “The Finite Element Analysis of composite laminates”, Texas A&M University, 1988 [36] SS Rao, “The Finite Element Method in Engineering”, Second Edition Pergamon Press, 1989 BÀI BÁO [1] G C Mekalke, M V Kavade, S S Deshpande “IOSR Journal of Mechanical and Civil Engineering (IOSR-JMCE)” HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 79 PHỤ LỤC MATLAB CHƢƠNG TRÌNH CHÍNH TẤM 2D %======================================================================= % EXAMPLE - 2D %======================================================================= clear all; clc; close all % -tic format long n=2; order=2; % -quni=1; E=2e11; v=0.3; t=0.5; ptype=2; ep=[ptype t order]; D=hooke(ptype,E,v); Ndofs=2; % -[Coord]=Coord2Dh(n); [pdof,Edof,Dof,numdof]=connect2Dh(n,Ndofs,order); [Ex,Ey]=coordxtr(Edof,Coord,Dof,4); [elnumload,cloaduni,ampl]=elnumloadh(Ex,Ey,n,quni); % numel=size(pdof,1) numdof %break disp('processing !!!') K=zeros(numdof,numdof); f=zeros(numdof,1); % Computed global matrices dk=1; for i=1:numel [Ke,fe,dofel]=plani4edai(Ex(i,:),Ey(i,:),ep,D); [fe]=load2D(i,order,elnumload,dofel,dk); if sum(fe)~=0 dk=dk+1; end [K,f]=assem(pdof(i,:),K,Ke,f,fe); end; % Boundary conditions [bcdof,bcval]=bc2Dhollow(n,order,0); bc=[bcdof; bcval]'; % Solves global system of equations [a,Q]=solveq(K,f,bc); % Cumpute physicial displaments ed=extract(pdof,a); gp=[-1 -1;1 -1;1 1;-1 1]; HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 80 N=shapequadril(gp,order); % edphysics(:,1:2:size(gp,1)*2)=[N*ed(:,1:2:size(ed,2))']'; edphysics(:,2:2:size(gp,1)*2)=[N*ed(:,2:2:size(ed,2))']'; % Posprocessing [es,et,eci,Enorm]=plani4sdaiH(Ex,Ey,ep,D,ed); % Draw the undeformed and deformed 2D mesh plotpar=[1,2,0]; figure(1); zoom on; position=[1 0;5 0]; support1(10,0.06,position,1); hold on position=[0 1;0 5]; support1(10,0.06,position,3); hold on plot(cloaduni(:,1),cloaduni(:,2),'m'); hold on % eldraw2(Ex,Ey,plotpar,Edof(:,1)); hold on % %eldisp2(Ex,Ey,ed,[2 0],10e3); hold on arrowuniload([5 0],[5 5],10,ampl,0,-1,'r'); title('Deformed Model'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); hold off; xlabel('x'); ylabel('y'); figure(2); zoom on; position=[1 0;5 0]; support1(10,0.06,position,1); hold on position=[0 1;0 5]; support1(10,0.06,position,3); hold on eldraw2(Ex,Ey,plotpar,Edof(:,1)); hold on eldisp2(Ex,Ey,ed,[2 0],10e3); hold on title('Deformed Model'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); hold off; xlabel('x'); ylabel('y'); % Draw the displacement field figure(3); zoom on; position=[1 0;5 0]; support1(10,0.06,position,1); hold on position=[0 1;0 5]; support1(10,0.06,position,3); hold on for i=1:size(edphysics,1) % displacement in the x direction fill(Ex(i,:),Ey(i,:),edphysics(i,1:2:size(edphysics,2))); hold on % displacement in the y direction % fill(Ex(i,:),Ey(i,:),edphysics(i,2:2:size(edphysics,2))); hold on % total displacement % fill(Ex(i,:),Ey(i,:),sqrt(edphysics(i,1:2:size(edphysics,2)-1).^2+ % edphysics(i,2:2:size(edphysics,2)).^2)); end title('Displacement field in x direction'); %title('Displacement field in y direction'); %title('Total displacement field'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); colorbar ; hold off; xlabel('x'); ylabel('y'); % Draw the stress field figure(4) zoom on; position=[1 0;5 0]; support1(10,0.06,position,1); hold on position=[0 1;0 5]; support1(10,0.06,position,3); hold on HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 81 gp=Gauss2d(1); fill4sdai(Ex,Ey,ep,D,ed,gp); title('Von Mises Stress field'); %title('Normal Stress field in the x direction'); %title('Normal Stress field in the y direction'); %title('Shear Stress field'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); colorbar ; hold off; xlabel('x'); ylabel('y'); % -fidd = fopen('data2Dhollowp.m','a'); data=[numdof Enorm]; fprintf(fidd,' %10.15f %40.15f \n',data); fclose(fidd); Enormfem=Enorm Enormexact=7.693654002/E sqrt((Enormexact-Enormfem)/Enormexact) % [esexact,esmfem]=exacthollow(Ex,Ey,es); disp('cumputers has completed !!!') toc % end of file CHƢƠNG TRÌNH CHÍNH 3D %======================================================================== % EXAMPLE - 3D %======================================================================== clear all; clc; close all % -tic format long lenghtx=5; lenghty=5; lenghtz=1; % -udiv=4; vdiv=4; wdiv=1; order=2; % -Ndofs=3; q=-1; E=1; v=0.3; D=hooke(4,E,v); A=lenghty*lenghtz/(vdiv*wdiv); [Coord,numnodes]=Coord3DL(udiv,vdiv,wdiv,lenghtx,lenghty,lenghtz); [pdof,Edof,Dof,numdof]=connect3DL(udiv,vdiv,wdiv,Ndofs,order); [Ex,Ey,Ez]=coordxtr(Edof,Coord,Dof,8); numel=size(pdof,1); numdof ; %break K=zeros(numdof,numdof); f=zeros(numdof,1); % Computed global matrices for i=1:numel HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 82 [Ke]=soli8edai(Ex(i,:),Ey(i,:),Ez(i,:),D,order); [K]=assem(pdof(i,:),K,Ke);%,f,fe); end; % Boundary conditions [bcdofxz,bcvalxz]=bcyzp(udiv,vdiv,wdiv,order,0); [bcdofyz,bcvalyz]=bcxzp(udiv,vdiv,wdiv,order,0); bc=[bcdofxz bcdofyz; bcvalxz bcvalyz]'; % Faceload [bcfacedofx,bcvaload]=bcloadp(udiv,vdiv,wdiv,A,order,q); for i=1:size(bcfacedofx,2) f(bcfacedofx(i))=bcvaload(i); end % Solve global system of equations [a,Q]=solveq(K,f,bc); % Cumpute physicial displaments ed=extract(pdof,a); gp=[-1 -1 -1; -1 -1;1 -1; -1 -1; -1 -1 1; -1 1; 1 1;-1 1]; N=shapebrick(gp,order); edphysics(:,1:3:size(gp,1)*3)=[N*ed(:,1:3:size(ed,2))']'; edphysics(:,2:3:size(gp,1)*3)=[N*ed(:,2:3:size(ed,2))']'; edphysics(:,3:3:size(gp,1)*3)=[N*ed(:,3:3:size(ed,2))']'; % Posprocessing [es,et,eci,Enorm]=soli8sdai(Ex,Ey,Ez,D,ed,order); % Draw the undeformed and deformed 3D mesh % The global node index for each element Epoint=zeros(numel,8); for i=1:1:numel for j=1:1:8 Epoint(i,j)=Edof(i,1+3*j)/3; end end % draw the model model(Coord,Epoint); title('Finite Element Model'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); % Draw the deformed 3D mesh figure(2) Epointel=[1 8 6]; scale=0.02; for j=1:numel Coordel=[Ex(j,:);Ey(j,:); Ez(j,:)]'; ad=edphysics(j,:)'; k=1; for i=1:3:size(ad,1) displace(k,:)=[ad(i,1) ad(i+1,1) ad(i+2,1)]; k=k+1; end dispmodelel(Coordel,displace,Epointel,scale); hold on; end HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 83 title('deformed 3D mesh'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); % Draw the stress field figure(3); [gps]=Gauss3d(1); %compwuted at Gauss points stressfill(Ex,Ey,Ez,D,ed,order,gps); title('VonMisses Stress field'); %title('Normal Stress field in the x direction'); %title('Normal Stress field in the y direction'); % title('Shear Stress field'); h=get(gca,'Title'); set(h,'FontSize',12,'FontName','VNI-Centur'); % -fidd = fopen('dataL3D.m','a'); data=[numdof Enorm]; fprintf(fidd,' %10.15f %40.15f \n',data); fclose(fidd); Enorm disp('cumputers has completed !!! '); toc % -end of file CÁC CHƢƠNG TRÌNH CON function [Coord]=Coord2Dh(n) % - Geometry % n=3; %3 10 11 12 %%BEGIN GEOMETRY Geometry=gnewdai('geometry'); Geometry=gmpoint(Geometry,1,1,0); Geometry=gmpoint(Geometry,2,5,0); Geometry=gmpoint(Geometry,3,0.7071,0.7071); Geometry=gmpoint(Geometry,4,5,5); Geometry=gmpoint(Geometry,5,0,1); Geometry=gmpoint(Geometry,6,0,5); Geometry=gmpoint(Geometry,7,0.9239,0.3827); Geometry=gmpoint(Geometry,8,0.3827,0.9239); Geometry=gmcurve(Geometry,1,'line',[1 2],n+2); Geometry=gmcurve(Geometry,2,'pc',[1 3],n); Geometry=gmcurve(Geometry,3,'line',[2 4],n); Geometry=gmcurve(Geometry,4,'line',[3 4],n+2); Geometry=gmcurve(Geometry,5,'pc',[3 5],n); Geometry=gmcurve(Geometry,6,'line',[4 6],n); Geometry=gmcurve(Geometry,7,'line',[5 6],n+2); Geometry=gmsurf(Geometry,1,'coon',[1 2]); Geometry=gmsurf(Geometry,2,'coon',[4 5]); %%END GEOMETRY % - Meshing/creating domains ndomains=size(Geometry.surfaces,2); HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 84 casemesh=[0 0]; % graded mesh %casemesh=[0 0]; % uniform mesh Domains=gnewdai('domain'); for i=1:ndomains Domains(i).casemesh=casemesh(i); [Domains]=mesh2dai(Geometry,Domains,i,'plani4'); end; Coord=[]; Coord1=Domains(1).Coord; Coord2=Domains(2).Coord; Coord=[Coord1; Coord2(n+4:1:(n+3)*(n+1),:)]; % % size(Coord) % % (n+3)*(n+1)*2-3-n % -end of file -function [gp,wp]=Gauss2d(order) p=order; irx=p+1; iry=p+1; ngp=irx*iry; % Gauss points -num=ngp; gp=zeros(num,2); wp=zeros(num,2); d=1; % find corresponding integration points and weights [pointx,weightx]=feglqd1(irx); % quadrature rule for x-axis [pointy,weighty]=feglqd1(iry); % quadrature rule for y-axis for i=1:irx for j=1:iry gp(d,:)=[pointx(j) pointy(i)]; w(d,:)=[weightx(j) weighty(i)]; d=d+1; end end wp=w(:,1).*w(:,2); gp; % end -function [elnumload,cloaduni,ampl]=elnumloadh(ex,ey,n,quni) udiv=(n+2); vdiv=2*n; numnode=(udiv+1)*(vdiv+1); % 2-dimension numedge=vdiv*(udiv+1)+(vdiv+1)*udiv; % 2-dimension numface=udiv*vdiv; % 2-dimension elnumver=[udiv:udiv:numface/2]; t=size(elnumver,2); edgeverload=zeros(1,t); for i=1:t edgeverload(i)=2; end % tem=[elnumver; edgeverload]'; % HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 85 lengthel=zeros(size(tem,1),1); q=zeros(size(tem,1),2); for i=1:size(tem,1); j=tem(i,1); lengthel(i)=sqrt((abs(ex(j,3)-ex(j,2)))^2+(abs(ey(j,3)-ey(j,2)))^2); q(i,1)=quni; q(i,2)=quni; end elnumload=[tem lengthel q(:,1) q(:,2)]; % -end xuni=[4+quni/2]; yuni=[0]; tem=0; for i=1:vdiv/2 tem=tem+elnumload(i,3); xuni=[xuni 4+quni/2]; yuni=[yuni tem]; end cloaduni=[xuni; yuni]'; ampl=quni/2; % end -function [fe]=load2D(numel,p,elnumload,dofel,dk) if dk > size(elnumload,1); fe=zeros(dofel,1); elseif numel~=elnumload(dk,1); fe=zeros(dofel,1); else edge=elnumload(dk,2); L=elnumload(dk,3); q1=elnumload(dk,4); q2=elnumload(dk,5); if (p==1); fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); end elseif (p==2); fe=zeros(dofel,1); if edge==3 fe(7)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 86 end elseif (p==3); fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); fe(23)=L/2*(1/30*10^(1/2)*q11/30*10^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); end elseif (p==4); fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); fe(23)=L/2*(1/30*10^(1/2)*q11/30*10^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); end elseif (p==5); fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); fe(23)=L/2*(1/30*10^(1/2)*q11/30*10^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); end elseif (p==6); fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); fe(23)=L/2*(1/30*10^(1/2)*q11/30*10^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); end elseif (p==7); HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 87 fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); fe(23)=L/2*(1/30*10^(1/2)*q11/30*10^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); end elseif (p==8); fe=zeros(dofel,1); if edge==3 fe(6)=L/2*(2/3*q1+1/3*q2); fe(8)=L/2*(1/3*q1+2/3*q2); fe(14)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); elseif edge==4 fe(7)=L/2*(2/3*q1+1/3*q2); fe(1)=L/2*(1/3*q1+2/3*q2); fe(15)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); fe(23)=L/2*(1/30*10^(1/2)*q11/30*10^(1/2)*q2); elseif edge==2 fe(3)=L/2*(2/3*q1+1/3*q2); fe(5)=L/2*(1/3*q1+2/3*q2); fe(11)=L/2*(-1/6*6^(1/2)*q1-1/6*6^(1/2)*q2); end end end % end -function [d,Q]=solveq(K,f,bc) if nargin==2 ; d=K\f ; elseif nargin==3; [nd,nd]=size(K); fdof=[1:nd]'; % d=zeros(size(fdof)); Q=zeros(size(fdof)); % pdof=bc(:,1); dp=bc(:,2); fdof(pdof)=[]; % s=K(fdof,fdof)\(f(fdof)-K(fdof,pdof)*dp); %A=K(fdof,fdof); %B=(f(fdof)-K(fdof,pdof)*dp); %s=pcg(A,B); % d(pdof)=dp; d(fdof)=s; end Q=K*d-f; % end HVTH: Hứa Thành Luân GVHD: PGS.TS.Nguyễn Hoài Sơn 88 ... gọi phƣơng pháp phần tử hữu hạn phƣơng pháp phần tử hữu hạn kết hợp hàm dạng hierarchical (HFEM) Mặc dù HFEM có nhiều điểm chung với phƣơng pháp Rayleigh-Ritz cổ điển nhƣng việc sử dụng hàm chuyển... thác sử dụng vật liệu composite Tuy nhiên nay, kết nghiên cứu xác, tốc độ hội tụ nhƣ sai số composite nhiều hạn chế Vì đề tài : ? ?Phân tích ứng xử phƣơng pháp phần tử hữu hạn kết hợp hàm dạng hierarchical. ”... SƢ PHẠM KỸ THUẬT THÀNH PHỐ HỒ CHÍ MINH LUẬN VĂN THẠC SĨ HỨA THÀNH LUÂN PHÂN TÍCH ỨNG XỬ CỦA TẤM BẰNG PHƢƠNG PHÁP PHẦN TỬ HỮU HẠN KẾT HỢP HÀM DẠNG HIERARCHICAL NGÀNH: KỸ THUẬT CƠ KHÍ - 1520414

Ngày đăng: 02/12/2021, 09:10

Mục lục

  • Page 1

Tài liệu cùng người dùng

Tài liệu liên quan