版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、华中科技大学研究生课程考试答题本考生姓名颜小强考生学号D201677004系、年级数学与统计学院 2016级类 别博二考试科目有限元法与有限差分法的应用考试日期2016年10月30日题号得分题号得分总分:评卷人:注:1、无评卷人签名试卷无效。2、必须用钢笔或圆珠笔阅卷,使用红色。用铅笔阅卷无效题号回答内容得 分Q1Please deduce the second-order forward difference, second-order backward difference and second-order central difference ofy= f(x), then deduce
2、 theprecision of y = f(x) second-order central difference based on Taylor seriesexpansion. (10 points)Answer:(1.1)Second-order forward difference formula:We know that the first order forward difference formula is:yf (x + Ax f (x )xAxSo, the second-order forward difference formula:2y 二4丝 iAx2Ax 3 Jf
3、f f (x + Ax )- f (x )x Ax,ff(x 十 4x) A/f(x)x Axx AxAx ;f (x +Ax + Ax)- f (x + Ax ) f (x +Ax )- f (x )=AxAxxAxf(x+2Ax)-2f(x+ix)+f(x)-Ax2A2yf (x + 2-x)-2f (x+-x)+f (x)x2Ax21回 答 内 容(1.2)Second-order central difference formula:We know that the first order central difference formula is: TOC o 1-5 h z HYP
4、ERLINK l bookmark7 o Current Document .1.1 HYPERLINK l bookmark9 o Current Document f lx lx -fix - -Xy =.2.2xxSo, the second-order central difference formula:11,1f lx x -fix xf I”xx回 答 内 容号f11 .1 .、x 十 Ax 十一Ax122 Jl-f11 .1 .、x 十一Ax Ax22 JxAx I)J,A,r &ecision of secoTaylor series expansionf (x +Ax) =
5、 f (x) +2f (x - Ax) = f (x) -4Adding equation (1) an f (x + Ax)cr f(x4 or,thus, second-order cenfx1 .1 五 ”x- -Ax + Ax22kf11A 1x Ax 22Ax xx +Ax 2f (x )+ f (x - Ax)x22y f (x )-2 f (x-Ax )+ f (x-24x )x2Ax2nd-order central difference formula:i for f(x+Ax) and f(x+Ax) are(Ax)2(Ax)3,叼 3 + 年 f + ; f (x) +O
6、Qx)4)(1)、xf (x) +-f ”(x)-箸 f (x) +O(9x)4)(2)d (2) we get+ f (x Ax) = 2 f (x) + (Ax)2 f (x) + O(Ax)4)产3=f.(x)+O(Ax)4)tral difference formula has two-order precision.3题号回答内容得 分Q2Please combine the research direction of your subject, illustrate the typical application of the finite difference method in
7、 this research area3 5 points) Answer:My major is the mathematical calculation The exact direction is the numerical solution of partial differential equations and its application.First of all,FDM is widely used in the numerical solution of partial differential equations.Concrete exampleis as follow:
8、Finite difference method for solving boundary value problems一Au =cos3xsin 兀y,(x, y) w G = (0,n)父(0,1),h(x,0) =u(x,1) =0,0 MxM1Ux(0, y) =ux(n, y) =0,0 w y M1/ /c,_2、/c _、-.,1,1(exact solution is u=(9+n ) cos3xsinny .) .By step h1 = ,h2 = , we canget rectangular section and we can structure difference
9、 scheme.Grid node is x =ih1, yj =jh2,i,j =0,1,., N .Difference equation is as follow:Ui+j2与 +U-jUi,j 书2uj +Ui,jcccQvcinr、,一(2+2) =cos3x sin ny:,Ah2i,j=1,2,.,N,Boundary value condition is as follow:叫=即=0,i =0,., N,uj =u1j, j =1,., N -1,uNj =UN,j =1,.,N -1.Successively, We order N =4,8,16,32,and solve
10、 it with the elimination methods.小 j(x, yj) = ( 一, ), i, j =1,2,3 .We can make a list of exact solutions and numerical 4 4solutions.4题号回答内容得 分Q3Please simulate the temperature field of anH-shaped casting using FDM.The geometric conditions and initial conditions are as follows:The material of the H-s
11、haped casting is ZG25, the environment temperature is 25c and the mold material is resin sand;Pouring temperature is 1560c ;Casting sizes are shown in Figure 2 and Figure 3, the mold thickness is 40mm.Requirements:Write out the 2D or 3D mathematical model that describes the temperature field of the
12、casting cooling process; (10 points)Deduce the FDM format of the mathematical model; (10 points)Draw the FDM grid map, and describe it using data structure; (10 points)Provide the thermal properties parameters of ZG25, resin sand and the air; (10 points)Program to simulate this physical process, ass
13、uming the cavity was filled very fast and the initial temperature evenly distributed. Please provide the main code of the program. (25 points)How long does it take while the highest temperature of the casting drops to 1450c ? (10 points)5Figure 1: 3D model of the H-shaped casting+03:A 2D slice of th
14、e回 答 内 容Answer: TOC o 1-5 h z e 3D mathematical model is 一222 HYPERLINK l bookmark19 o Current Document -。1c Tc |c TcLPC=九 + +J 7c 2c 2c 2Ict I ex 0VGZ J dpWhere T is temperature (K), is density (kg/m3), C is heat capacity (J/(kJK),is thermal conductivity (W/(m ?K),L is the latent heat (J/kg)If we d
15、o not take the latent heat into consideration ,then the last term of the above equation should be omitted.discretize the Fourier differential equation of heat conduction based on FDM.And the heat exchange process is shown as follows.The deducing process :The quantity of heat which the element i has
16、absorbed is:Q=:0()3(丁The quantity of heat flow into I from the 6 element adjacent to it is:Qi-Tit)-tAccording to the law of conservation of energyRCpi(Ax)3(Tit-Tit) = Z JX,? (T;工)&j%i jAfter rearrangement we get the explict schem of temperature evolution.t 6Tit =T/::iC pi x j -re we introduce a func
17、tion of flag-1,air layerflag = 0, sand layerJZG 25Where ZG 25 would be cut into four small pieces to be handled easily. for(i=8;i=88;i+) for(j=8;j=28;j+) for(k=8;k=24;k+) flagijk=1;/ZG for(i=38;i=58;i+) for(j=8;j=28;j+) for(k=24;k=100;k+) flagijk=1;/ZG for(i=8;i=88;i+) for(j=8;j=28;j+) for(k=100;k=1
18、16;k+)flagijk=1;/ZG for(i=8;i=88;i+) for(j=8;j=28;j+)for(k=116;k=132;k+)if(i-48.0)*(i-48.0)+(j-18.0)*(j-18.0)3二营 jwMgl_ii_i照一j!l=:=Eiiw 副biiei庙一囤Bl一胃胃一胃一二 :r=:=;w TrnriiI BHiHB - - Bi_iB - BBliH BBiaBB - Ball _ 三胃一a一一酷凰-虱一UH山”-1三iHH J -Mi-i.BSI 疝=:Eii甥国10(3.4)The thermal properties parameters of ZG2
19、5,resin sand and the air are :heat conduct coefficient(W/(m K)density(Kg/m3)specific heat(J/(Kg K)ZG2527.27750470sand0.7316101054.9air0.02591.2050.001005(3.5)The results of this simulation is listing following:11Our program main include 5 sections below:4 invoking functions and the main functionInit
20、() is used to initialize variables such as temperature and thermal properties parameters. void init() for(i=0;i=NX+1;i+)for(j=0;j=NY+1;j+)for(k=0;k=NZ+1;k+)if(flagijk=-1)/air layerCPijk=0.001005;rhoijk=1.205;thermijk=0.0259;temijk=25;tem_0ijk=25;if(flagijk=1)/ZGCPijk=470;rhoijk=7750;thermijk=27.2;te
21、mijk=1560;tem_0ijk=1560;if(flagijk=0)/sandCPijk=1054.9;rhoijk=1610;thermijk=0.73;temijk=25;tem_0ijk=25;calculate_temperature() is used to calculate the evolution of the temperature field.void caculate_temperature()double TEMPLE,t1,t2,t3,t4,t5,t6;TEMPLE=0;Tmax=0;for(i=1;i=NX;i+)for(j=1;j=NY;j+)for(k=
22、1;k1560) printf(x=%d,y=%dn,i,j);if(temijkTmax)Tmax=temijk; for(i=1;i=NX;i+)for(j=1;j=NY;j+)for(k=1;k=NZ+1;k+)tem_0ijk = temijk;data() is used to output the results file.void data( int n )sprintf( fName, temperature%d.dat, n);if( (fp = fopen(fName,w) = NULL ) return;fprintf( fp, VARIABLES = X, Y , Z,
23、 Tn);fprintf( fp, Zone, I=%d,J=%d,K=%d,F=BLOCKn, NX+2, NY+2,NZ+2 );for(k=0;k=NZ+1;k+)for( j=0; j=NY+1; j+)for(i=0; i=NX+1; i+) fprintf( fp, %dt, i);fprintf(fp,n);for(k=0;k=NZ+1;k+)for( j=0; j=NY+1; j+)for(i=0; i=NX+1; i+) fprintf( fp, %dt, j);13fprintf(fp,n);)for(k=0;k=NZ+1;k+)for( j=0; j=NY+1; j+)f
24、or(i=0; i=NX+1; i+)fprintf( fp, %dt, k);)fprintf(fp,n);)for(k=0;k=NZ+1;k+)for( j=0; j=NY+1; j+)for(i=0; i=NX+1; i+)fprintf( fp, %.5et, temijk);)fprintf(fp,n);)fclose(fp);)output() is used to draw the grid map.void output()FILE *file;file=fopen(flag.dat,w);if(file=0) printf(can not open flag file);fp
25、rintf(file,Title=flagn);fprintf(file,variables=x,y,z,flagn);fprintf(file,zone T=BOX,I=%d,J=%d,K=%dn,NX+2,NY+2,NZ+2);for(k=0;k=NZ+1;k+)for(j=0;j=NY+1;j+)for(i=0;i=NX+1;i+)fprintf(file,%d,%d,%d,%dn,i,j,k,flagijk);)fclose(file);)14(3.6)Through the results of the procedure,we can easily get the time of
26、decresing from 1560 to 1450 is 133.62 ,where it cost 6681 steps coupled with our Time interval of dt is 0.02The 6G7M The Tlie The 6673The 6674The 6675The 6676The 6677 The 6678The 8679 The ccea The GW 占二133-Pr-ess any1450-2241B7 14CB.204221 145S.184256 1450.164293 450-144322 X4S0.X24372 145B.104414 1
27、4B6.08445S 1450.06450 1450.0445S1 1456.624G06 145BQ4What do you think of this courseFirst of all,this course is an international course offered by the Institute of materials science, materials science, materials science, and other professional graduate students or doctoral students in Huazhong University of Science and Technology. This course emphasizes the connotation and extension of teaching guide, based on student-centered, teacher led the starting point to the curriculum as the carrier and platform, the positioning in the course with the help of a variety of
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 万能补充协议
- 足底发麻病因介绍
- (2024)高速吹膜机项目可行性研究报告备案申请模板(一)
- 云南省曲靖市沾益区2024-2025学年七年级9月月考道德与法治试题(原卷版)-A4
- 2024秋新沪科版物理8年级上册教学课件 第6章 熟悉而陌生的力 第4节 探究:滑动摩擦力大小与哪里因素有关
- 2023年智能电能表及配件项目融资计划书
- 2023年原料药机械及设备项目融资计划书
- 《OJT推进与实施》课件
- 《珠心算基本功训练》课件
- 湖北省黄石市大冶市2023-2024学年七年级上学期期末考试数学试卷(含答案)
- 2023年钢制门安装技术施工方案
- 香文化与养生知到章节答案智慧树2023年浙江农林大学
- 嵩县嵩源矿业有限公司嵩县金矿矿产资源开采与生态修复方案
- 跨文化交际学知到章节答案智慧树2023年大连外国语大学
- 2023河南对口高考计算机类基础课试题
- 农产品质量安全检测机构考核评审细则
- 广告策划与创意课件改
- 国开电大本科《管理英语3》机考真题(第五套)
- 肺癌的临床表现及治疗
- GB/T 9722-2006化学试剂气相色谱法通则
- GB/T 7631.5-1989润滑剂和有关产品(L类)的分类第5部分:M组(金属加工)
评论
0/150
提交评论