Microsoft PowerPoint - FEM3D-C.ppt [互換モード]
|
|
- あおい おおはし
- 6 years ago
- Views:
Transcription
1 3D-FEM n C: Stead State Heat Conducton Kengo aajma Informaton echnolog Center Programmng for Parallel Computng ( ) Semnar on Advanced Computng (66-009)
2 FEM3D 2 3D Stead-State Heat Conducton Z =0@Z= ma Z Q 0 Heat Generaton Unform thermal conductvt HEX meshes cubes X Y Z cubes n each drecton Boundar Condtons X Y X Y =0@Z= ma Heat Gen. Rate s a functon of locaton (cell center: c c ) Q QVOL C C
3 FEM3D 3 3D Stead-State Heat Conducton Q 0 Hgher temperature at nodes far from the orgn. Heat Gen. Rate s a functon of locaton (cell center: c c ) Q C C move
4 FEM3D Fnte-Element Procedures Governng Equatons Galern Method: Wea Form Element-b-Element Integraton Element Matr Global Matr Boundar Condtons Lnear Solver
5 FEM3D 5 FEM Procedures: Program Intalaton Control Data ode Connectvt of Elements (: ode# E: Elem#) Intalaton of Arras (Global/Element Matrces) Element-Global Matr Mappng (Inde Item) Generaton of Matr Element-b-Element Operatons (do cel= E) Element matrces Accumulaton to global matr Boundar Condtons Lnear Solver Conjugate Gradent Method
6 FEM3D 6 Formulaton of 3D Element 3D Heat Equatons Galern Method Element Matrces Runnng the Code Data Structure Overvew of the Program
7 FEM3D 7 Etenson to 2D Prob.: rangles 三角形要素 rangles can handle arbtrarl shaped object Lnear trangular elements provde low accurac therefore the are not used n practcal applcatons.
8 FEM3D Etenson to 2D Prob.: Quadrlaterals 四角形要素 Formulaton of quad. elements s possble f same shape functons n D elements are appled along X- and Y- as. More accurate than trangles Each edge must be parallel wth X- and Y- as. Smlar to FDM 3 hs tpe of elements cannot be consdered. 2
9 FEM3D 9 Isoparametrc Element (/3) Each element s mapped to square element [±±] on natural/local coordnate () Components of global coordnate sstem of each node () for certan nds of elements are defned b shape functons [] on natural/local coordnate sstem where shape functons [] are also used for nterpolaton of dependent varables.
10 0 Isoparametrc Element (2/3) 2 3 Coordnate of each node: ( ) ( 2 2 ) ( 3 3 ) ( ) emperature at each node: FEM3D ) ( ) ( ) (
11 FEM3D Isoparametrc Element (3/3) Hgher-order shape functon can handle curved lnes/surfaces. atural coordnate sstem Sub-Parametrc Super-Parametrc
12 2 Shape Fn s on 2D atural Coord. (/3) Polnomal shape functons on squares of natural coordnate: Coeffcents are calculated as follows: FEM3D
13 Shape Fn s on 2D atural Coord. (2/3) FEM3D
14 Shape Fn s on 2D atural Coord. (2/3) FEM3D
15 5 Shape Fn s on 2D atural Coord. (3/3) s defned as follows accordng to : ) ( ) ( ) ( ) ( 3 2 Shape functons : Also nown as b-lnear nterpolaton Calculate at each node FEM3D
16 FEM3D 6 Etenson to 3D Problems etrahedron/etrahedra( 四面体 ): rangles n 2D can handle arbtrar shape objects Lnear elements are generall less accurate not practcal Hgher-order tetrahedral elements are wdel used. In ths class tr-lnear heahedral elements (soparametrc) are used( 六面体要素 )
17 7 Shape Fn s: 3D atural/local Coord. ) ( ) ( ) ( ) ( 3 2 ) ( ) ( ) ( ) ( FEM3D ) ( ) ( ) ( ) (
18 FEM3D Formulaton of 3D Element 3D Heat Equatons Galern Method Element Matrces Runnng the Code Data Structure Overvew of the Program
19 Galern Method (/3) Governng Equaton for 3D Stead State Heat Conducton Problems (unform ): { Followng ntegral equaton s obtaned at each element b Galern method where [] s are also weghtng functons: dv Q V Q FEM3D 9 Dstrbuton of temperature n each element (matr form) : emperature at each node
20 Galern Method (2/3) Green s heorem (3D) Appl ths to the st 3-parts of the equaton wth 2 nd - order dff. (surface ntegraton terms are gnored): Consder the followng terms: { { { { V V S dv B A B A B A ds n B A dv B B B A dv dv V V FEM3D 20
21 FEM3D 2 Galern Method (3/3) Fnall followng equaton s obtaned b consderng heat generaton term : Q dv Q dv 0 V hs s called wea form( 弱形式 ). Orgnal PDE conssts of terms wth 2 nd -order dff. but ths wea form onl ncludes st -order dff b Green s theorem. Requrements for shape functons are weaer n wea form. Lnear functons can descrbe effects of 2 nd -order dfferentaton. Same as D problem V
22 Wea Form wth B.C.: on each elem. dv dv dv V V V e ) ( ) ( ) ( ) ( e e e f dv Q f V e ) ( FEM3D 22
23 FEM3D 23 Element Matr: j j j
24 FEM3D 2 Element Matr: j j j dv ( e) V V dv V dv j V j j j dv
25 FEM3D 25 et Stage: Integraton
26 FEM3D 26 Methods for umercal Integraton rapeodal Rule Smpson s Rule Gaussan Quadrature (or Gauss-Legendre) accurate Values of functons at fnte numbers of sample ponts are utled: X X 2 f m d w f
27 FEM3D 27 Gaussan Quadrature n D more accurate than Smpson s rule Smpson s f Gauss ( ) sn( ) X h S X X 2 X 3 0 X 2 X 3 2 X h 3 2 X X 3 X f X f X f X S h 2 2 / f d W f f h d
28 FEM3D 2 Gaussan Quadrature ガウスの積分公式 On normaled natural (or local) coordnate sstem [-+]( 自然座標系 局所座標系 ) Can appromate up to (2m-)-th order of functons b m quadrature ponts (m=2 s enough for quadratc shape functons). f m m m m d w f w w w / w.00 5/ 9 =- =0 = = =+
29 FEM3D 29 Gaussan Quadrature can be easl etended to 2D & 3D I m n W W j f ( j ) j f ( ) dd mn: number of quadrature ponts n -drecton ( j ): Coordnates of Quad s W W j : Weghtng Factor
30 30 hs confguraton s wdel used. In 2D problem ntegraton s done usng values of f at quad. ponts. Gaussan Quadrature ガウスの積分公式
31 3 hs confguraton s wdel used. In 2D problem ntegraton s done usng values of f at quad. ponts. Gaussan Quadrature ガウスの積分公式 I f ( ) dd m n j W ( ).0.0 f ( ).0.0 f ( ).0.0 f ( ).0.0 f ( ) W j f j
32 et Stage: Integraton FEM3D 32 3D atural/local Coordnate (): Gaussan Quadrature j W W W ) ( j j j M j L f W W W d d d f I ) ( ) ( LM: number of quadrature ponts n -drecton : Weghtng Factor : Coordnates of Quad s
33 Partal Dff. on atural Coord. (/) Accordng to formulae: ) ( ) ( ) ( can be easl derved accordng to defntons. are requred for computatons. FEM3D 33
34 Partal Dff. on atural Coord. (2/) In matr form: J J : Jacob matr Jacoban FEM3D 3
35 Partal Dff. on atural Coord. (3/) Components of Jacoban: J J J J J J J J J FEM3D 35
36 Partal Dff. on atural Coord. (/) Partal dfferentaton on global coordnate sstem s ntroduced as follows (wth nverse of Jacoban matr (3 3)) J FEM3D 36
37 Integraton on Element V j j j V j j j j dv dv j j FEM3D 37
38 Integraton on atural Coord. d d d J ddd dv j j j j j j V j j j det j j FEM3D 3
39 Gaussan Quadrature j j M j L f W W W d d d f I ) ( ) ( d d d J j j j det FEM3D 39 j j
40 FEM3D 0 Remanng Procedures Element matrces have been formed. Accumulaton to Global Matr Implementaton of Boundar Condtons Solvng Lnear Equatons Detals of mplementaton wll be dscussed n classes later than net wee through eplanaton of programs
41 Accumulaton: Local -> Global Matrces () () 3 () 2 () () () 3 () 2 () () () 3 () 2 () () 3 () 33 () 32 () 3 () 2 () 23 () 22 () 2 () () 3 () 2 () () () () { ]{ [ f f f f f (2) (2) 3 (2) 2 (2) (2) (2) 3 (2) 2 (2) (2) (2) 3 (2) 2 (2) (2) 3 (2) 33 (2) 32 (2) 3 (2) 2 (2) 23 (2) 22 (2) 2 (2) (2) 3 (2) 2 (2) (2) (2) (2) { ]{ [ f f f f f { ]{ [ B B B B B B D X X X X D X X X X D X X X X X X D X X X X D X X X X D F K FEM3D
42 FEM3D 2 Formulaton of 3D Element 3D Heat Equatons Galern Method Element Matrces Eercse Runnng the Code Data Structure Overvew of the Program
43 FEM3D 3 Eercse Develop a program and calculate area of the followng quadrlateral usng Gaussan Quadrature. V 3 2 :(.0.0) 2:(.0 2.0) 3:( ) :(2.0.0) I V dv det J dd
44 FEM3D ps (/2) Calculate Jacoban Appl Gaussan Quadrature (n=2) I m W W j f ( j ) f ( ) dd mplct REAL* (A-HO-Z) real* W(2) real* POI(2) W()=.0d0 W(2)=.0d0 POI()= d0 POI(2)= d0 n j SUM= 0.d0 do jp= 2 do p= 2 FC = F(POI(p)POI(jp)) SUM= SUM + W (p)*w (jp)*fc enddo enddo
45 FEM3D 5 ps (2/2) J J det ) ( ) ( ) ( ) ( 3 2
46 FEM3D 6 Formulaton of 3D Element 3D Heat Equatons Galern Method Element Matrces Runnng the Code Data Structure Overvew of the Program
47 FEM3D 7 3D Stead-State Heat Conducton Z =0@Z= ma Z Q 0 Heat Generaton Unform thermal conductvt HEX meshes cubes X Y Z cubes n each drecton Boundar Condtons X Y X Y =0@Z= ma Heat Gen. Rate s a functon of locaton (cell center: c c ) Q QVOL C C
48 FEM3D Cop/Installaton 3D-FEM Code >$ cd <$E-OP> >$ cp /home03/sengon/documents/class_eps/f/fem3d.tar. >$ cp /home03/sengon/documents/class_eps/c/fem3d.tar. >$ tar vf fem3d.tar >$ cd fem3d >$ ls run src Install >$ cd <$E-OP>/fem3d/src >$ mae >$ ls../run/sol sol Install of Mesh Generator >$ cd <$E-OP>/fem3d/run >$ g95 O3 mgcube.f o mgcube
49 FEM3D 9 Operatons Startng from Grd Generaton to Computaton Flenames are fed mgcube mesh generator cube.0 mesh fle sol FEM Solver IPU.DA Control Data test.np for vsualaton
50 FEM3D 50 Mesh Generaton Z >$ cd <$fem>/fem3d/run >$./mgcube =0@Z= ma X Y Z umber of Elem s n each drecton eample Z >$ ls cube.0 confrmaton cube.0 X Y X Y
51 FEM3D 5 Control Fle: IPU.DA IPU.DA cube.0 fname 2000 IER.0.0 COD QVOL.0e-0 RESID fname: IER: COD: QVOL: RESID: Q ame of Mesh Fle Ma. Iteratons for CG hermal Conductvt Heat Generaton Rate Crtera for Convergence of CG QVOL C C Q 0
52 FEM3D 52 >$ cd <$E-OP>/fem3d/run >$./sol Runnng >$ ls test.np Confrmaton test.np
53 FEM3D 53 ParaVew Openng fles Dsplang fgures Savng mage fles
54 FEM3D 5 UCD Format (/3) Unstructured Cell Data 要素の種類点線三角形四角形四面体角錐三角柱六面体二次要素線 2 三角形 2 四角形 2 四面体 2 角錐 2 三角柱 2 六面体 2 キーワード pt lne tr quad tet pr prsm he lne2 tr2 quad2 tet2 pr2 prsm2 he2
55 FEM3D 55 UCD Format (2/3) Orgnall for AVS mcroavs Etenson of the UCD fle s np here are two tpes of formats. Onl old tpe can be read b ParaVew.
56 FEM3D 56 UCD Format (3/3): Old Format ( 全節点数 ) ( 全要素数 ) ( 各節点のデータ数 ) ( 各要素のデータ数 ) ( モデルのデータ数 ) ( 節点番号 ) (X 座標 ) (Y 座標 ) (Z 座標 ) ( 節点番号 2) (X 座標 ) (Y 座標 ) (Z 座標 ) ( 要素番号 ) ( 材料番号 ) ( 要素の種類 ) ( 要素を構成する節点のつながり ) ( 要素番号 2) ( 材料番号 ) ( 要素の種類 ) ( 要素を構成する節点のつながり ) ( 要素のデータ成分数 ) ( 成分 の構成数 ) ( 成分 2 の構成数 ) ( 各成分の構成数 ) ( 要素データ成分 のラベル )( 単位 ) ( 要素データ成分 2 のラベル )( 単位 ) ( 各要素データ成分のラベル )( 単位 ) ( 要素番号 ) ( 要素データ ) ( 要素データ 2) ( 要素番号 2) ( 要素データ ) ( 要素データ 2) ( 節点のデータ成分数 ) ( 成分 の構成数 ) ( 成分 2 の構成数 ) ( 各成分の構成数 ) ( 節点データ成分 のラベル )( 単位 ) ( 節点データ成分 2 のラベル )( 単位 ) ( 各節点データ成分のラベル )( 単位 ) ( 節点番号 ) ( 節点データ ) ( 節点データ 2) ( 節点番号 2) ( 節点データ ) ( 節点データ 2)
57 FEM3D 57 Formulaton of 3D Element 3D Heat Equatons Galern Method Element Matrces Runnng the Code Data Structure Overvew of the Program
58 FEM3D 5 odes Overvew of Mesh Fle: cube.0 numberng starts from ode # (How man nodes?) ode ID Coordnates Elements Element # Element pe Element ID Materal ID Connectvt ode Groups Group # ode # n each group Group ame odes n each group
59 FEM3D 59 Mesh Generator: mgcube.f (/5) mplct REAL* (A-HO-Z) real(nd=) dmenson(::) allocatable :: X Y real(nd=) dmenson(::) allocatable :: X0 Y0 character(len=0) :: GRIDFILE HHH nteger dmenson(::) allocatable :: IW!C!C !C II.!C !C=== wrte (**) 'XYZ' read (**) XYZ XP= X + YP= Y + ZP= Z + DX=.d0 IODO= XP*YP*ZP ICELO= X *Y *Z IBODO= XP*YP allocate (IW(IODO)) IW= 0 ode number n X-drecton ode number n Y-drecton ode number n Z-drecton otal number of odes otal number of Elements umber of nodes n XY-plane
60 FEM3D 60!C=== Mesh Generator: mgcube.f (2/5) cou= 0 b = do = ZP do j= YP = cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = 2 do = ZP j= do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = 3 = do j= YP do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = = ZP do j= YP do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo odes on X=Xmn surface are stored n IW(b) where b= YP*ZP X Z =0@Z= ma Y X Z Y
61 FEM3D 6!C=== Mesh Generator: mgcube.f (2/5) cou= 0 b = do = ZP do j= YP = cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = 2 do = ZP j= do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = 3 = do j= YP do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = = ZP do j= YP do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo odes on X=Xmn surface are stored n IW(b) where b= YP*ZP X Z =0@Z= ma Y X Z Y
62 FEM3D 62 Mesh Generator: mgcube.f (2/5)!C=== cou= 0 b = do = ZP do j= YP = cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = 2 do = ZP j= do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = 3 = do j= YP do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo cou= 0 b = = ZP do j= YP do = XP cou= cou + = (-)*IBODO + (j-)*xp + IW(coub)= enddo enddo X Z =0@Z= ma Y X odes on Z=Zmn surface are stored n IW(b3) where b= XP*YP odes on Z=Zma surface are stored n IW(b) where b= XP*YP Z Y
63 FEM3D 63 Mesh Generator: mgcube.f (3/5)!C!C !C GeoFEM data!c !C=== = 0 wrte (**) 'GeoFEM grdfle name?' GRIDFILE= 'cube.0' open (2 fle= GRIDFILE status='unnown'form='formatted') wrte(2'(00)') IODO cou= 0 do = ZP do j= YP do = XP XX= dfloat(-)*dx YY= dfloat(j-)*dx ZZ= dfloat(-)*dx cou= cou + wrte (2'(03(pe6.6))') cou XX YY ZZ enddo enddo enddo wrte(2'(0)') ICELO IELMYPL= 36 wrte(2'(00)') (IELMYPL =ICELO) ode # ode ID Coordnates Element # Element pe (not n use)
64 FEM3D 6 Eample of cube.0 (X=Y=Z=) ode Element-pe 25 =5*5* E E E E E E E E E E E E E E E E E E E E E E E E E E E+00 ( 途中省略 ) E E E E E E E E E E E E E E E+00 6 =** move
65 FEM3D 65 Mesh Generator: mgcube.f (/5) cou= 0 mat= do = Z do j= Y do = X cou= cou + n = (-)*IBODO + (j-)*xp + n2 = n + n3 = n2 + XP n = n3 - n5 = n + IBODO n6 = n2 + IBODO n7 = n3 + IBODO n = n + IBODO wrte (2'(00)') cou mat n n2 n3 n & & n5 n6 n7 n enddo enddo enddo mat: Materal ID (=)
66 FEM3D 66 Eample of cube.0 (X=Y=Z=) Element Connectvt (...)
67 FEM3D 67 X=Y=Z= XP=YP=ZP=5 ICELO= 6 IODO= 25 IBODO= 25 = = = = =
68 FEM3D 6 Mesh Generator: mgcube.f (5/5) IGO= IB= YP*ZP IB2= XP*ZP + IB IB3= XP*YP + IB2 IB= XP*YP + IB3 wrte (2'(00)') IGO wrte (2'(00)') IB IB2 IB3 IB HHH= 'Xmn' wrte (2'(a0)') HHH wrte (2'(00)') (IW() =YP*ZP) HHH= 'Ymn' wrte (2'(a0)') HHH wrte (2'(00)') (IW(2) =XP*ZP) HHH= 'Zmn' wrte (2'(a0)') HHH wrte (2'(00)') (IW(3) =XP*YP) HHH= 'Zma' wrte (2'(a0)') HHH wrte (2'(00)') (IW() =XP*YP) IGO Group # (XmnYmnZmnZma) IB Accumulated # ( 以下略 )!C=== stop end deallocate (IW) close (2)
69 FEM3D 69 Eample of cube.0 (X=Y=Z=) Group Info. Xmn Ymn Zmn Zma (not n use after ths pont)
70 FEM3D 70 Mesh Generaton Bg echncal & Research Issue Complcated Geometr Large Scale Parallelaton s dffcult Commercal Mesh Generator FEMAP Interface to CAD Data Format move
71 FEM3D 7 Formulaton of 3D Element 3D Heat Equatons Galern Method Element Matrces Runnng the Code Data Structure Overvew of the Program
72 FEM3D 72 FEM Procedures: Program Intalaton Control Data ode Connectvt of Elements (: ode# E: Elem#) Intalaton of Arras (Global/Element Matrces) Element-Global Matr Mappng (Inde Item) Generaton of Matr Element-b-Element Operatons (do cel= E) Element matrces Accumulaton to global matr Boundar Condtons Lnear Solver Conjugate Gradent Method
73 FEM3D 73 test man nput_cntl nput of control data nput_grd nput of mesh nfo fnd_node searchng nodes mat_con0 connectvt of matr msor sortng mat_con connectvt of matr mat_ass_man coeffcent matr jacob Jacoban mat_ass_bc boundar condtons Structure of heat3d solve control of lnear solver output_ucd vsualaton cg CG solver
74 FEM3D 7 Man Part /** program heat3d **/ #nclude <stdo.h> #nclude <stdlb.h> FILE* fp_log; #defne GLOBAL_VALUE_DEFIE #nclude "pfem_utl.h" //#nclude "solver.h" etern vod IPU_CL(); etern vod IPU_GRID(); etern vod MA_CO0(); etern vod MA_CO(); etern vod MA_ASS_MAI(); etern vod MA_ASS_BC(); etern vod SOLVE(); etern vod OUPU_UCD(); nt man() { IPU_CL(); IPU_GRID(); MA_CO0(); MA_CO(); MA_ASS_MAI(); MA_ASS_BC() ; SOLVE(); OUPU_UCD() ;
75 FEM3D 75 Global Varables: pfem_utl.h (/3) ame pe Se I/O Defnton fname C [0] I ame of mesh fle P I I # ode ICELO I I # Element ODGRPtot I I # ode Group XYZ R [][3] I ode Coordnates ICELOD I [ICELO][] I Element Connectvt ODGRP_IDEX I [ODGRPtot+] I # ode n each ode Group ODGRP_IEM I [ODGRP_IDEX[ ODGRPO+]] I ode ID n each ode Group ODGRP_AME C0 [ODGRP_IDEX[ ODGRPO+]] I ame of odegroup LU I O # on-zero Off-Dagonals at each node PLU I O # on-zero Off-Dagonals D R [] O Dagonal Bloc of Global Matr BX R [] O RHS Unnown Vector
76 FEM3D 76 Global Varables: pfem_utl.h (2/3) ame pe Se I/O Defnton AMA R [PLU] O on-zero Off-Dagonal Components of Global Matr ndelu I [+] O # on-zero Off-Dagonal Components temlu I [PLU] O ILU I [] O IALU I [][LU] O Column ID of on-zero Off-Dagonal Components umber of on-zero Off-Dagonal Components at Each ode Column ID of on-zero Off-Dagonal Components at Each ode IWKX I [][2] O Wor Arras IER IERactual I I umber of CG Iteratons (MAX Actual) RESID R I Convergence Crtera (fed as.e-) pfemiarra I [00] O Integer Parameter Arra pfemrarra R [00] O Real Parameter Arra
77 FEM3D 77 Global Varables: pfem_utl.h (3/3) ame pe Se I/O Defnton Oth R I = 0.25 PQ PE P R [2][2][] O ~ at each Gaussan Quad. Pont POS WEI R [2] O COL COL2 I [00] O Wor arras for sortng Coordnates Weghtng Factor at each Gaussan Quad. Pont SHAPE R [2][2][2][] O (=~) at each Gaussan Quad Pont PX PY PZ R [2][2][2][] O ~ at each Gaussan Quad. Pont DEJ R [2][2][2] O Determnant of Jacoban Matr at each Gaussan Quad. Pont COD QVOL R I hermal Conductvt Heat Generaton Rate Q QVOL C C Q 0
78 FEM3D 7 IPU_CL: Control Data /** ** IPU_CL **/ #nclude <stdo.h> #nclude <stdlb.h> #nclude "pfem_utl.h" /** **/ vod IPU_CL() { FILE *fp; f( (fp=fopen("ipu.da""r")) == ULL){ fprntf(stdout"nput fle cannot be opened! n"); et(); fscanf(fp"%s"fname); fscanf(fp"%d"&ier); fscanf(fp "%lf %lf" &COD &QVOL); fscanf(fp "%lf" &RESID); fclose(fp); pfemrarra[0]= RESID; pfemiarra[0]= IER; IPU.DA cube.0 fname 2000 IER.0.0 COD QVOL.0e-0 RESID
79 FEM3D 79 IPU_GRID (/2) #nclude <stdo.h> #nclude <stdlb.h> #nclude "pfem_utl.h" #nclude "allocate.h" vod IPU_GRID() { FILE *fp; nt jnncelse; nt YPEIMA; /** **/ f( (fp=fopen(fname"r")) == ULL){ fprntf(stdout"nput fle cannot be opened! n"); et(); ODE fscanf(fp"%d"&); P=; XYZ=(KREAL**)allocate_matr(seof(KREAL)3); for(=0;<;++){ for(j=0;j<3;j++){ XYZ[][j]=0.0; for(=0;<;++){ fscanf(fp"%d %lf %lf %lf"&&xyz[][0]&xyz[][]&xyz[][2]);
80 FEM3D 0 allocate deallocate #nclude <stdo.h> #nclude <stdlb.h> vod* allocate_vector(nt sent m) { vod *a; f ( ( a=(vod * )malloc( m * se ) ) == ULL ) { fprntf(stdout"error:memor does not enough! n vector n"); et(); return a; vod deallocate_vector(vod *a) { free( a ); vod** allocate_matr(nt sent mnt n) { vod **aa; nt ; f ( ( aa=(vod ** )malloc( m * seof(vod*) ) ) == ULL ) { fprntf(stdout"error:memor does not enough! aa n matr n"); et(); f ( ( aa[0]=(vod * )malloc( m * n * se ) ) == ULL ) { fprntf(stdout"error:memor does not enough! n matr n"); et(); for(=;<m;++) aa[]=(char*)aa[-]+se*n; return aa; vod deallocate_matr(vod **aa) { free( aa ); Same nterface wth FORRA
81 FEM3D IPU_GRID (/2) /** **/ ELEME fscanf(fp"%d"&icelo); ICELOD=(KI**)allocate_matr(seof(KI)ICELO); for(=0;<icelo;++) fscanf(fp"%d"&ype); ICELOD[][j]: ode ID startng from. Element ID starts from 0. /** **/ for(cel=0;cel<icelo;cel++){ fscanf(fp"%d %d %d %d %d %d %d %d %d %d"&&ima &ICELOD[cel][0]&ICELOD[cel][]&ICELOD[cel][2]&ICELOD[cel][3] &ICELOD[cel][]&ICELOD[cel][5]&ICELOD[cel][6]&ICELOD[cel][7]); ODE grp. nfo. fscanf(fp"%d"&odgrptot); ODGRP_IDEX=(KI* )allocate_vector(seof(ki)odgrptot+); ODGRP_AME =(CHAR0*)allocate_vector(seof(CHAR0)ODGRPtot); for(=0;<odgrptot+;++) ODGRP_IDEX[]=0; for(=0;<odgrptot;++) fscanf(fp"%d"&odgrp_idex[+]); nn=odgrp_idex[odgrptot]; ODGRP_IEM=(KI*)allocate_vector(seof(KI)nn); for(=0;<odgrptot;++){ S= ODGRP_IDEX[]; E= ODGRP_IDEX[+]; fscanf(fp"%s"odgrp_ame[].name); nn= E - S; f( nn!= 0 ){ for(=s;<e;++) fscanf(fp"%d"&odgrp_iem[]); ode Group: ode ID s start from fclose(fp);
82 FEM3D 2 test man nput_cntl nput of control data nput_grd nput of mesh nfo fnd_node searchng nodes mat_con0 connectvt of matr msor sortng mat_con connectvt of matr mat_ass_man coeffcent matr jacob Jacoban mat_ass_bc boundar condtons Structure of heat3d solve control of lnear solver output_ucd vsualaton cg CG solver
83 FEM3D 3 Global Varables: pfem_utl.h (/3) ame pe Se I/O Defnton fname C [0] I ame of mesh fle P I I # ode ICELO I I # Element ODGRPtot I I # ode Group XYZ R [][3] I ode Coordnates ICELOD I [ICELO][] I Element Connectvt ODGRP_IDEX I [ODGRPtot+] I # ode n each ode Group ODGRP_IEM I [ODGRP_IDEX[ ODGRPO+]] I ode ID n each ode Group ODGRP_AME C0 [ODGRP_IDEX[ ODGRPO+]] I ame of odegroup LU I O # on-zero Off-Dagonals at each node PLU I O # on-zero Off-Dagonals D R [] O Dagonal Bloc of Global Matr BX R [] O RHS Unnown Vector
84 FEM3D Global Varables: pfem_utl.h (2/3) ame pe Se I/O Defnton AMA R [PLU] O on-zero Off-Dagonal Components of Global Matr ndelu I [+] O # on-zero Off-Dagonal Components temlu I [PLU] O ILU I [] O IALU I [][LU] O Column ID of on-zero Off-Dagonal Components umber of on-zero Off-Dagonal Components at Each ode Column ID of on-zero Off-Dagonal Components at Each ode IWKX I [][2] O Wor Arras IER IERactual I I umber of CG Iteratons (MAX Actual) RESID R I Convergence Crtera (fed as.e-) pfemiarra I [00] O Integer Parameter Arra pfemrarra R [00] O Real Parameter Arra
85 FEM3D 5 Global Varables: pfem_utl.h (3/3) ame pe Se I/O Defnton Oth R I = 0.25 PQ PE P R [2][2][] O ~ at each Gaussan Quad. Pont POS WEI R [2] O COL COL2 I [00] O Wor arras for sortng Coordnates Weghtng Factor at each Gaussan Quad. Pont SHAPE R [2][2][2][] O (=~) at each Gaussan Quad Pont PX PY PZ R [2][2][2][] O ~ at each Gaussan Quad. Pont DEJ R [2][2][2] O Determnant of Jacoban Matr at each Gaussan Quad. Pont COD QVOL R I hermal Conductvt Heat Generaton Rate Q QVOL C C Q 0
86 FEM3D 6 owards Matr Assemblng In D t was eas to obtan nformaton related to nde and tem. 2 non-ero off-dagonals for each node ID of non-ero off-dagonal : + - where s node ID In 3D stuaton s more complcated: umber of non-ero off-dagonal components s between 7 and 26 for the current target problem More complcated for real problems. Generall there are no nformaton related to number of non-ero off-dagonal components beforehand. move
87 FEM3D 7 owards Matr Assemblng In D t was eas to obtan nformaton related to nde and tem. 2 non-ero off-dagonals for each node ID of non-ero off-dagonal : + - where s node ID In 3D stuaton s more complcated: umber of non-ero off-dagonal components s between 7 and 26 for the current target problem More complcated for real problems. Generall there are no nformaton related to number of non-ero off-dagonal components beforehand. Count number of non-ero off-dagonals usng arras: ILU[] IALU[][LU]
88 FEM3D Man Part /** program heat3d **/ #nclude <stdo.h> #nclude <stdlb.h> FILE* fp_log; #defne GLOBAL_VALUE_DEFIE #nclude "pfem_utl.h" //#nclude "solver.h" etern vod IPU_CL(); etern vod IPU_GRID(); etern vod MA_CO0(); etern vod MA_CO(); etern vod MA_ASS_MAI(); etern vod MA_ASS_BC(); etern vod SOLVE(); etern vod OUPU_UCD(); nt man() { IPU_CL(); IPU_GRID(); MA_CO0(); MA_CO(); MA_ASS_MAI(); MA_ASS_BC() ; SOLVE(); OUPU_UCD() ; MA_CO0: generates IU IALU MA_CO: generates nde tem ode ID startng from
89 FEM3D 9 MA_CO0: Overvew do cel= ICELO generate ILU IALU accordng to nodes of he. elements (FID_ODE) enddo
90 FEM3D 90 Generatng Connectvt of Matr MA_CO0 (/) /** ** MA_CO0 **/ #nclude <stdo.h> #nclude "pfem_utl.h" #nclude "allocate.h etern FILE *fp_log; /*** eternal functons ***/ etern vod msor(nt* nt* nt); /*** statc functuons ***/ statc vod FID_S_ODE (ntnt); vod MA_CO0() { nt jceln; nt nn2n3nn5n6n7n; nt ; LU= 26; ILU=(KI* )allocate_vector(seof(ki)); IALU=(KI**)allocate_matr(seof(KI)LU); for(=0;<;++) ILU[]=0; for(=0;<;++) for(j=0;j<lu;j++) IALU[][j]=0; LU: umber of mamum number of connected nodes to each node (number of upper/lower non-ero off-dagonal nodes) In the current problem geometr s rather smple. herefore we can specf LU n ths wa. If t s not clear -> r more fleble mplementaton
91 FEM3D 9 Generatng Connectvt of Matr MA_CO0 (/) /** ** MA_CO0 **/ #nclude <stdo.h> #nclude "pfem_utl.h" #nclude "allocate.h etern FILE *fp_log; /*** eternal functons ***/ etern vod msor(nt* nt* nt); /*** statc functuons ***/ statc vod FID_S_ODE (ntnt); vod MA_CO0() { nt jceln; nt nn2n3nn5n6n7n; nt ; Arra Se Descrpton ILU IALU [] [][LU] umber of connected nodes to each node (lower/upper) Correspondng connected node ID (column ID) LU= 26; ILU=(KI* )allocate_vector(seof(ki)); IALU=(KI**)allocate_matr(seof(KI)LU); for(=0;<;++) ILU[]=0; for(=0;<;++) for(j=0;j<lu;j++) IALU[][j]=0;
92 FEM3D 92 Generatng Connectvt of Matr MA_CO0 (2/): Startng from for( cel=0;cel< ICELO;cel++){ n=icelod[cel][0]; n2=icelod[cel][]; n3=icelod[cel][2]; n=icelod[cel][3]; n5=icelod[cel][]; n6=icelod[cel][5]; n7=icelod[cel][6]; n=icelod[cel][7]; FID_S_ODE (nn2); FID_S_ODE (nn3); FID_S_ODE (nn); FID_S_ODE (nn5); FID_S_ODE (nn6); FID_S_ODE (nn7); FID_S_ODE (nn); FID_S_ODE (n2n); FID_S_ODE (n2n3); FID_S_ODE (n2n); FID_S_ODE (n2n5); FID_S_ODE (n2n6); FID_S_ODE (n2n7); FID_S_ODE (n2n); FID_S_ODE (n3n); FID_S_ODE (n3n2); FID_S_ODE (n3n); FID_S_ODE (n3n5); FID_S_ODE (n3n6); FID_S_ODE (n3n7); FID_S_ODE (n3n);
93 FEM3D 93 FID_S_ODE: Search Connectvt ILUIALU: Automatc Search /*** *** FID_S_ODE **/ statc vod FID_S_ODE (nt pnt p2) { nt cou; for(=;<=ilu[p-];++){ f(p2 == IALU[p-][-]) return; cou=ilu[p-]+; IALU[p-][cou-]=p2; ILU[p-]=cou; return; Arra Se Descrpton ILU IALU [] [][LU] umber of connected nodes to each node (lower/upper) Correspondng connected node ID (column ID)
94 FEM3D 9 FID_S_ODE: Search Connectvt ILUIALU: Automatc Search /*** *** FID_S_ODE **/ statc vod FID_S_ODE (nt pnt p2) { nt cou; for(=;<=ilu[p-];++){ f(p2 == IALU[p-][-]) return; cou=ilu[p-]+; IALU[p-][cou-]=p2; ILU[p-]=cou; If the target node s alread ncluded n IALU proceed to net par of nodes return;
95 FEM3D 95 FID_S_ODE: Search Connectvt ILUIALU: Automatc Search /*** *** FID_S_ODE **/ statc vod FID_S_ODE (nt pnt p2) { nt cou; for(=;<=ilu[p-];++){ f(p2 == IALU[p-][-]) return; cou=ilu[p-]+; IALU[p-][cou-]=p2; ILU[p-]=cou; return; If the target node s O ncluded n IALU store the node n IALU and add to ILU
96 FEM3D 96 Generatng Connectvt of Matr MA_CO0 (3/) FID_S_ODE (nn); FID_S_ODE (nn2); FID_S_ODE (nn3); FID_S_ODE (nn5); FID_S_ODE (nn6); FID_S_ODE (nn7); FID_S_ODE (nn); FID_S_ODE (n5n); FID_S_ODE (n5n2); FID_S_ODE (n5n3); FID_S_ODE (n5n); FID_S_ODE (n5n6); FID_S_ODE (n5n7); FID_S_ODE (n5n); FID_S_ODE (n6n); FID_S_ODE (n6n2); FID_S_ODE (n6n3); FID_S_ODE (n6n); FID_S_ODE (n6n5); FID_S_ODE (n6n7); FID_S_ODE (n6n); FID_S_ODE (n7n); FID_S_ODE (n7n2); FID_S_ODE (n7n3); FID_S_ODE (n7n); FID_S_ODE (n7n5); FID_S_ODE (n7n6); FID_S_ODE (n7n);
97 FEM3D 97 Generatng Connectvt of Matr MA_CO0 (/) FID_S_ODE (nn); FID_S_ODE (nn2); FID_S_ODE (nn3); FID_S_ODE (nn); FID_S_ODE (nn5); FID_S_ODE (nn6); FID_S_ODE (nn7); for(n=0;n<;n++){ =ILU[n]; for (=0;<;++){ COL[]=IALU[n][]; Sort IALU[][] n ascendng order b bubble sortng for less than 00 components. msor(colcol2); for(=;>0;--){ IALU[n][-]= COL[COL2[-]-];
98 FEM3D 9 MA_CO: CRS format #nclude <stdo.h> #nclude "pfem_utl.h" #nclude "allocate.h" etern FILE* fp_log; vod MA_CO() { nt ; ndelu=(ki*)allocate_vector(seof(ki)+); for(=0;<+;++) ndelu[]=0; for(=0;<;++){ ndelu[+]=ndelu[]+ilu[]; PLU=ndeLU[]; temlu=(ki*)allocate_vector(seof(ki)plu); for(=0;<;++){ for(=0;<ilu[];++){ =+ndelu[]; temlu[]=ialu[][]-; deallocate_vector(ilu); deallocate_vector(ialu); C nde[ ] nde[0] 0 FORRA nde(0) 0 0 ILU[ ] nde( ) ILU( )
99 FEM3D 99 MA_CO: CRS format #nclude <stdo.h> #nclude "pfem_utl.h" #nclude "allocate.h" etern FILE* fp_log; vod MA_CO() { nt ; ndelu=(ki*)allocate_vector(seof(ki)+); for(=0;<+;++) ndelu[]=0; for(=0;<;++){ ndelu[+]=ndelu[]+ilu[]; PLU=ndeLU[]; temlu=(ki*)allocate_vector(seof(ki)plu); for(=0;<;++){ for(=0;<ilu[];++){ =+ndelu[]; temlu[]=ialu[][]-; deallocate_vector(ilu); deallocate_vector(ialu); PLU=ndeLU[] Se of arra: temlu otal number of non-ero offdagonal blocs MA_CO
100 FEM3D 00 MA_CO: CRS format #nclude <stdo.h> #nclude "pfem_utl.h" #nclude "allocate.h" etern FILE* fp_log; vod MA_CO() { nt ; ndelu=(ki*)allocate_vector(seof(ki)+); for(=0;<+;++) ndelu[]=0; for(=0;<;++){ ndelu[+]=ndelu[]+ilu[]; PLU=ndeLU[]; temlu=(ki*)allocate_vector(seof(ki)plu); for(=0;<;++){ for(=0;<ilu[];++){ =+ndelu[]; temlu[]=ialu[][]-; deallocate_vector(ilu); deallocate_vector(ialu); temlu store node ID startng from 0 MA_CO
101 FEM3D 0 MA_CO: CRS format #nclude <stdo.h> #nclude "pfem_utl.h" #nclude "allocate.h" etern FILE* fp_log; vod MA_CO() { nt ; ndelu=(ki*)allocate_vector(seof(ki)+); for(=0;<+;++) ndelu[]=0; for(=0;<;++){ ndelu[+]=ndelu[]+ilu[]; PLU=ndeLU[]; temlu=(ki*)allocate_vector(seof(ki)plu); for(=0;<;++){ for(=0;<ilu[];++){ =+ndelu[]; temlu[]=ialu[][]-; deallocate_vector(ilu); deallocate_vector(ialu); ot requred an more MA_CO
102 FEM3D 02 Man Part /** program heat3d **/ #nclude <stdo.h> #nclude <stdlb.h> FILE* fp_log; #defne GLOBAL_VALUE_DEFIE #nclude "pfem_utl.h" //#nclude "solver.h" etern vod IPU_CL(); etern vod IPU_GRID(); etern vod MA_CO0(); etern vod MA_CO(); etern vod MA_ASS_MAI(); etern vod MA_ASS_BC(); etern vod SOLVE(); etern vod OUPU_UCD(); nt man() { IPU_CL(); IPU_GRID(); MA_CO0(); MA_CO(); MA_ASS_MAI(); MA_ASS_BC() ; SOLVE(); OUPU_UCD() ;
103 FEM3D 03 MA_ASS_MAI: Overvew do pn= 2 Gaussan Quad. ponts n -drecton do jpn= 2 Gaussan Quad. ponts n -drecton do pn= 2 Gaussan Quad. Ponte n -drecton Defne Shape Functon at Gaussan Quad. Ponts (-ponts) Its dervatve on natural/local coordnate s also defned. enddo enddo enddo do cel= ICELO Loop for Element Jacoban and dervatve on global coordnate of shape functons at Gaussan Quad. Ponts are defned accordng to coordnates of nodes.(jacobi) do e= Local ode ID do je= Local ode ID Global ode ID: p jp Address of A pjp n temlu : j e do pn= 2 Gaussan Quad. ponts n -drecton do jpn= 2 Gaussan Quad. ponts n -drecton do pn= 2 Gaussan Quad. ponts n -drecton ntegraton on each element coeffcents of element matrces accumulaton to global matr enddo enddo enddo enddo enddo enddo e
104 FEM3D 0 #nclude <stdo.h> #nclude <math.h> #nclude "pfem_utl.h" #nclude "allocate.h" etern FILE *fp_log; etern vod JACOBI(); vod MA_ASS_MAI() { nt ; nt pjpp; nt pnjpnpn; nt cel; nt eje; nt SE; nt nn2n3nn5n6n7n; double SH; double QPQMEPEMPM; double XX2X3XX5X6X7X; double YY2Y3YY5Y6Y7Y; double ZZ2Z3ZZ5Z6Z7Z; double PXPYPZPXjPYjPZj; double COD0 QV0 QVC COEFj; double coef; KI nodlocal[]; MA_ASS_MAI (/6) AMA=(KREAL*) allocate_vector(seof(kreal)plu); B =(KREAL*) allocate_vector(seof(kreal) ); D =(KREAL*) allocate_vector(seof(kreal)); X =(KREAL*) allocate_vector(seof(kreal)); on-zero Off-Dagonal components (coef. matr) RHS vector Dagonal components (coef. matr) Unnowns for(=0;<plu;++) AMA[]=0.0; for(=0;< ;++) B[]=0.0; for(=0;< ;++) D[]=0.0; for(=0;< ;++) X[]=0.0; WEI[0]= e0; WEI[]= e0; POS[0]= e0; POS[]= e0;
105 FEM3D 05 MA_ASS_MAI (/6) #nclude <stdo.h> #nclude <math.h> #nclude "pfem_utl.h" #nclude "allocate.h" etern FILE *fp_log; etern vod JACOBI(); vod MA_ASS_MAI() { nt ; nt pjpp; nt pnjpnpn; nt cel; nt eje; nt SE; nt nn2n3nn5n6n7n; double SH; double QPQMEPEMPM; double XX2X3XX5X6X7X; double YY2Y3YY5Y6Y7Y; double ZZ2Z3ZZ5Z6Z7Z; double PXPYPZPXjPYjPZj; double COD0 QV0 QVC COEFj; double coef; KI nodlocal[]; AMA=(KREAL*) allocate_vector(seof(kreal)plu); B =(KREAL*) allocate_vector(seof(kreal) ); D =(KREAL*) allocate_vector(seof(kreal)); X =(KREAL*) allocate_vector(seof(kreal)); for(=0;<plu;++) AMA[]=0.0; for(=0;< ;++) B[]=0.0; for(=0;< ;++) D[]=0.0; for(=0;< ;++) X[]=0.0; WEI[0]= e0; WEI[]= e0; POS[0]= e0; POS[]= e0; POS: WEI: Quad. Pont Weghtng Factor
106 FEM3D 06 MA_ASS_MAI (2/6) /*** II. PQ - st-order dervatve of shape functon b QSI PE - st-order dervatve of shape functon b EA P - st-order dervatve of shape functon b ZE ***/ for(p=0;p<2;p++){ for(jp=0;jp<2;jp++){ for(p=0;p<2;p++){ QP=.e0 + POS[p]; QM=.e0 - POS[p]; EP=.e0 + POS[jp]; EM=.e0 - POS[jp]; P=.e0 + POS[p]; M=.e0 - POS[p]; SHAPE[p][jp][p][0]= Oth * QM * EM * M; SHAPE[p][jp][p][]= Oth * QP * EM * M; SHAPE[p][jp][p][2]= Oth * QP * EP * M; SHAPE[p][jp][p][3]= Oth * QM * EP * M; SHAPE[p][jp][p][]= Oth * QM * EM * P; SHAPE[p][jp][p][5]= Oth * QP * EM * P; SHAPE[p][jp][p][6]= Oth * QP * EP * P; SHAPE[p][jp][p][7]= Oth * QM * EP * P;
107 FEM3D 07 MA_ASS_MAI (2/6) /*** II. PQ - st-order dervatve of shape functon b QSI PE - st-order dervatve of shape functon b EA P - st-order dervatve of shape functon b ZE ***/ for(p=0;p<2;p++){ for(jp=0;jp<2;jp++){ for(p=0;p<2;p++){ QP=.e0 + POS[p]; QM=.e0 - POS[p]; EP=.e0 + POS[jp]; EM=.e0 - POS[jp]; P=.e0 + POS[p]; M=.e0 - POS[p]; SHAPE[p][jp][p][0]= Oth * QM * EM * M; SHAPE[p][jp][p][]= Oth * QP * EM * M; SHAPE[p][jp][p][2]= Oth * QP * EP * M; SHAPE[p][jp][p][3]= Oth * QM * EP * M; SHAPE[p][jp][p][]= Oth * QM * EM * P; SHAPE[p][jp][p][5]= Oth * QP * EM * P; SHAPE[p][jp][p][6]= Oth * QP * EP * P; SHAPE[p][jp][p][7]= Oth * QM * EP * P; QP EP P QM j EM j j M
108 FEM3D 0 MA_ASS_MAI (2/6) /*** II. PQ - st-order dervatve of shape functon b QSI PE - st-order dervatve of shape functon b EA P - st-order dervatve of shape functon b ZE ***/ for(p=0;p<2;p++){ for(jp=0;jp<2;jp++){ for(p=0;p<2;p++){ QP=.e0 + POS[p]; QM=.e0 - POS[p]; EP=.e0 + POS[jp]; EM=.e0 - POS[jp]; P=.e0 + POS[p]; M=.e0 - POS[p]; SHAPE[p][jp][p][0]= Oth * QM * EM * M; SHAPE[p][jp][p][]= Oth * QP * EM * M; SHAPE[p][jp][p][2]= Oth * QP * EP * M; SHAPE[p][jp][p][3]= Oth * QM * EP * M; SHAPE[p][jp][p][]= Oth * QM * EM * P; SHAPE[p][jp][p][5]= Oth * QP * EM * P; SHAPE[p][jp][p][6]= Oth * QP * EP * P; SHAPE[p][jp][p][7]= Oth * QM * EP * P;
109 FEM3D 09 MA_ASS_MAI (2/6) /*** II. PQ - st-order dervatve of shape functon b QSI PE - st-order dervatve of shape functon b EA P - st-order dervatve of shape functon b ZE ***/ for(p=0;p<2;p++){ for(jp=0;jp<2;jp++){ for(p=0;p<2;p++){ QP=.e0 + POS[p]; QM=.e0 - POS[p]; EP=.e0 + POS[jp]; EM=.e0 - POS[jp]; P=.e0 + POS[p]; M=.e0 - POS[p]; SHAPE[p][jp][p][0]= Oth * QM * EM * M; SHAPE[p][jp][p][]= Oth * QP * EM * M; SHAPE[p][jp][p][2]= Oth * QP * EP * M; SHAPE[p][jp][p][3]= Oth * QM * EP * M; SHAPE[p][jp][p][]= Oth * QM * EM * P; SHAPE[p][jp][p][5]= Oth * QP * EM * P; SHAPE[p][jp][p][6]= Oth * QP * EP * P; SHAPE[p][jp][p][7]= Oth * QM * EP * P; ) ( ) ( ) ( ) ( 3 2 ) ( ) ( ) ( ) ( 7 6 5
110 FEM3D 0 MA_ASS_MAI (3/6) PQ[jp][p][0]= - Oth * EM * M; PQ[jp][p][]= + Oth * EM * M; PQ[jp][p][2]= + Oth * EP * M; PQ[jp][p][3]= - Oth * EP * M; PQ[jp][p][]= - Oth * EM * P; PQ[jp][p][5]= + Oth * EM * P; PQ[jp][p][6]= + Oth * EP * P; PQ[jp][p][7]= - Oth * EP * P; PE[p][p][0]= - Oth * QM * M; PE[p][p][]= - Oth * QP * M; PE[p][p][2]= + Oth * QP * M; PE[p][p][3]= + Oth * QM * M; PE[p][p][]= - Oth * QM * P; PE[p][p][5]= - Oth * QP * P; PE[p][p][6]= + Oth * QP * P; PE[p][p][7]= + Oth * QM * P; P[p][jp][0]= - Oth * QM * EM; P[p][jp][]= - Oth * QP * EM; P[p][jp][2]= - Oth * QP * EP; P[p][jp][3]= - Oth * QM * EP; P[p][jp][]= + Oth * QM * EM; P[p][jp][5]= + Oth * QP * EM; P[p][jp][6]= + Oth * QP * EP; P[p][jp][7]= + Oth * QM * EP; for( cel=0;cel< ICELO;cel++){ COD0= COD; n=icelod[cel][0]; n2=icelod[cel][]; n3=icelod[cel][2]; n=icelod[cel][3]; n5=icelod[cel][]; n6=icelod[cel][5]; n7=icelod[cel][6]; n=icelod[cel][7]; PQ( j ) l ( j ) PE( ) l ( j ) P ( j) l ( j ) ( j ) 2 ( j ) 3 ( j ) 3 ( j ) ( j ) j j j Frst Order Dervatve of Shape Functons at j
111 FEM3D MA_ASS_MAI (3/6) PQ[jp][p][0]= - Oth * EM * M; PQ[jp][p][]= + Oth * EM * M; PQ[jp][p][2]= + Oth * EP * M; PQ[jp][p][3]= - Oth * EP * M; PQ[jp][p][]= - Oth * EM * P; PQ[jp][p][5]= + Oth * EM * P; PQ[jp][p][6]= + Oth * EP * P; PQ[jp][p][7]= - Oth * EP * P; PE[p][p][0]= - Oth * QM * M; PE[p][p][]= - Oth * QP * M; PE[p][p][2]= + Oth * QP * M; PE[p][p][3]= + Oth * QM * M; PE[p][p][]= - Oth * QM * P; PE[p][p][5]= - Oth * QP * P; PE[p][p][6]= + Oth * QP * P; PE[p][p][7]= + Oth * QM * P; P[p][jp][0]= - Oth * QM * EM; P[p][jp][]= - Oth * QP * EM; P[p][jp][2]= - Oth * QP * EP; P[p][jp][3]= - Oth * QM * EP; P[p][jp][]= + Oth * QM * EM; P[p][jp][5]= + Oth * QP * EM; P[p][jp][6]= + Oth * QP * EP; P[p][jp][7]= + Oth * QM * EP; for( cel=0;cel< ICELO;cel++){ COD0= COD; n=icelod[cel][0]; n2=icelod[cel][]; n3=icelod[cel][2]; n=icelod[cel][3]; n5=icelod[cel][]; n6=icelod[cel][5]; n7=icelod[cel][6]; n=icelod[cel][7];
112 FEM3D 2 MA_ASS_MAI (/6) nodlocal[0]= n; nodlocal[]= n2; nodlocal[2]= n3; nodlocal[3]= n; nodlocal[]= n5; nodlocal[5]= n6; nodlocal[6]= n7; nodlocal[7]= n; X=XYZ[n-][0]; X2=XYZ[n2-][0]; X3=XYZ[n3-][0]; X=XYZ[n-][0]; X5=XYZ[n5-][0]; X6=XYZ[n6-][0]; X7=XYZ[n7-][0]; X=XYZ[n-][0]; Y=XYZ[n-][]; Y2=XYZ[n2-][]; Y3=XYZ[n3-][]; Y=XYZ[n-][]; Y5=XYZ[n5-][]; Y6=XYZ[n6-][]; Y7=XYZ[n7-][]; Y=XYZ[n-][]; ode ID (Global) QVC= Oth*(X+X2+X3+X+X5+X6+X7+X+Y+Y2+Y3+Y+Y5+Y6+Y7+Y); Z=XYZ[n-][2]; Z2=XYZ[n2-][2]; Z3=XYZ[n3-][2]; Z=XYZ[n-][2]; Z5=XYZ[n5-][2]; Z6=XYZ[n6-][2]; Z7=XYZ[n7-][2]; Z=XYZ[n-][2]; JACOBI(DEJ PQ PE P PX PY PZ X X2 X3 X X5 X6 X7 X Y Y2 Y3 Y Y5 Y6 Y7 Y Z Z2 Z3 Z Z5 Z6 Z7 Z);
113 FEM3D 3 MA_ASS_MAI (/6) nodlocal[0]= n; nodlocal[]= n2; nodlocal[2]= n3; nodlocal[3]= n; nodlocal[]= n5; nodlocal[5]= n6; nodlocal[6]= n7; nodlocal[7]= n; X=XYZ[n-][0]; X2=XYZ[n2-][0]; X3=XYZ[n3-][0]; X=XYZ[n-][0]; X5=XYZ[n5-][0]; X6=XYZ[n6-][0]; X7=XYZ[n7-][0]; X=XYZ[n-][0]; Y=XYZ[n-][]; Y2=XYZ[n2-][]; Y3=XYZ[n3-][]; Y=XYZ[n-][]; Y5=XYZ[n5-][]; Y6=XYZ[n6-][]; Y7=XYZ[n7-][]; Y=XYZ[n-][]; X-Coordnates of nodes Y-Coordnates of nodes QVC= Oth*(X+X2+X3+X+X5+X6+X7+X+Y+Y2+Y3+Y+Y5+Y6+Y7+Y); Z=XYZ[n-][2]; Z2=XYZ[n2-][2]; Z3=XYZ[n3-][2]; Z=XYZ[n-][2]; Z5=XYZ[n5-][2]; Z6=XYZ[n6-][2]; Z7=XYZ[n7-][2]; Z=XYZ[n-][2]; Z-Coordnates of nodes Coordnates: ode ID - JACOBI(DEJ PQ PE P PX PY PZ X X2 X3 X X5 X6 X7 X Y Y2 Y3 Y Y5 Y6 Y7 Y Z Z2 Z3 Z Z5 Z6 Z7 Z);
114 FEM3D MA_ASS_MAI (/6) nodlocal[0]= n; nodlocal[]= n2; nodlocal[2]= n3; nodlocal[3]= n; nodlocal[]= n5; nodlocal[5]= n6; nodlocal[6]= n7; nodlocal[7]= n; X=XYZ[n-][0]; X2=XYZ[n2-][0]; X3=XYZ[n3-][0]; X=XYZ[n-][0]; X5=XYZ[n5-][0]; X6=XYZ[n6-][0]; X7=XYZ[n7-][0]; X=XYZ[n-][0]; Y=XYZ[n-][]; Y2=XYZ[n2-][]; Y3=XYZ[n3-][]; Y=XYZ[n-][]; Y5=XYZ[n5-][]; Y6=XYZ[n6-][]; Y7=XYZ[n7-][]; Y=XYZ[n-][]; X-Coordnates of nodes Y-Coordnates of nodes Coordnates: ode ID QVC= Oth*(X+X2+X3+X+X5+X6+X7+X+Y+Y2+Y3+Y+Y5+Y6+Y7+Y); Z=XYZ[n-][2]; Z2=XYZ[n2-][2]; Z3=XYZ[n3-][2]; Z=XYZ[n-][2]; Z5=XYZ[n5-][2]; Z6=XYZ[n6-][2]; Z7=XYZ[n7-][2]; Z=XYZ[n-][2]; JACOBI(DEJ PQ PE P PX PY PZ X X2 X3 X X5 X6 X7 X Y Y2 Y3 Y Y5 Y6 Y7 Y Z Z2 Z3 Z Z5 Z6 Z7 Z); Q QVOL C C Q 0 Heat Gen. Rate s a functon of locaton (cell center: c c )
115 FEM3D 5 MA_ASS_MAI (/6) nodlocal[0]= n; nodlocal[]= n2; nodlocal[2]= n3; nodlocal[3]= n; nodlocal[]= n5; nodlocal[5]= n6; nodlocal[6]= n7; nodlocal[7]= n; X=XYZ[n-][0]; X2=XYZ[n2-][0]; X3=XYZ[n3-][0]; X=XYZ[n-][0]; X5=XYZ[n5-][0]; X6=XYZ[n6-][0]; X7=XYZ[n7-][0]; X=XYZ[n-][0]; Y=XYZ[n-][]; Y2=XYZ[n2-][]; Y3=XYZ[n3-][]; Y=XYZ[n-][]; Y5=XYZ[n5-][]; Y6=XYZ[n6-][]; Y7=XYZ[n7-][]; Y=XYZ[n-][]; Coordnates: ode ID QVC= Oth*(X+X2+X3+X+X5+X6+X7+X+Y+Y2+Y3+Y+Y5+Y6+Y7+Y); Z=XYZ[n-][2]; Z2=XYZ[n2-][2]; Z3=XYZ[n3-][2]; Z=XYZ[n-][2]; Z5=XYZ[n5-][2]; Z6=XYZ[n6-][2]; Z7=XYZ[n7-][2]; Z=XYZ[n-][2]; QVC C C JACOBI(DEJ PQ PE P PX PY PZ X X2 X3 X X5 X6 X7 X Y Y2 Y3 Y Y5 Y6 Y7 Y Z Z2 Z3 Z Z5 Z6 Z7 Z); Q QVOL C C Q 0
116 FEM3D 6 MA_ASS_MAI (/6) nodlocal[0]= n; nodlocal[]= n2; nodlocal[2]= n3; nodlocal[3]= n; nodlocal[]= n5; nodlocal[5]= n6; nodlocal[6]= n7; nodlocal[7]= n; X=XYZ[n-][0]; X2=XYZ[n2-][0]; X3=XYZ[n3-][0]; X=XYZ[n-][0]; X5=XYZ[n5-][0]; X6=XYZ[n6-][0]; X7=XYZ[n7-][0]; X=XYZ[n-][0]; Y=XYZ[n-][]; Y2=XYZ[n2-][]; Y3=XYZ[n3-][]; Y=XYZ[n-][]; Y5=XYZ[n5-][]; Y6=XYZ[n6-][]; Y7=XYZ[n7-][]; Y=XYZ[n-][]; QVC= Oth*(X+X2+X3+X+X5+X6+X7+X+Y+Y2+Y3+Y+Y5+Y6+Y7+Y); Z=XYZ[n-][2]; Z2=XYZ[n2-][2]; Z3=XYZ[n3-][2]; Z=XYZ[n-][2]; Z5=XYZ[n5-][2]; Z6=XYZ[n6-][2]; Z7=XYZ[n7-][2]; Z=XYZ[n-][2]; JACOBI(DEJ PQ PE P PX PY PZ X X2 X3 X X5 X6 X7 X Y Y2 Y3 Y Y5 Y6 Y7 Y Z Z2 Z3 Z Z5 Z6 Z7 Z);
117 FEM3D 7 JACOBI (/) #nclude <stdo.h> #nclude <math.h> #nclude "precson.h" #nclude "allocate.h" /*** *** JACOBI ***/ vod JACOBI( KREAL DEJ[2][2][2] KREAL PQ[2][2][]KREAL PE[2][2][]KREAL P[2][2][] KREAL PX[2][2][2][]KREAL PY[2][2][2][]KREAL PZ[2][2][2][] KREAL XKREAL X2KREAL X3KREAL XKREAL X5KREAL X6KREAL X7KREAL X KREAL YKREAL Y2KREAL Y3KREAL YKREAL Y5KREAL Y6KREAL Y7KREAL Y KREAL ZKREAL Z2KREAL Z3KREAL ZKREAL Z5KREAL Z6KREAL Z7KREAL Z) { /** calculates JACOBIA & IVERSE JACOBIA d/d d/d & d/d **/ nt pjpp; double dxdqdydqdzdqdxdedydedzdedxddyddzd; double coef; double aa2a3a2a22a23a3a32a33; for(p=0;p<2;p++){ for(jp=0;jp<2;jp++){ for(p=0;p<2;p++){ PX[p][jp][p][0]=0.0; PX[p][jp][p][]=0.0; PX[p][jp][p][2]=0.0; PX[p][jp][p][3]=0.0; PX[p][jp][p][]=0.0; PX[p][jp][p][5]=0.0; PX[p][jp][p][6]=0.0; PX[p][jp][p][7]=0.0; l l l Input l ~ Output l l l det J Values at each Gaussan Quad. Ponts: [p][jp][p] l l l
118 FEM3D Partal Dff. on atural Coord. (/) Accordng to formulae: ) ( ) ( ) ( can be easl derved accordng to defntons. are requred for computatons.
119 FEM3D 9 Partal Dff. on atural Coord. (2/) In matr form: J J J J J J J J J J J J : Jacob matr Jacoban
120 FEM3D 20 Partal Dff. on atural Coord. (3/) Components of Jacoban: J J J J J J J J J
121 FEM3D 2 JACOBI (2/) PY[p][jp][p][0]=0.0; PY[p][jp][p][]=0.0; PY[p][jp][p][2]=0.0; PY[p][jp][p][3]=0.0; PY[p][jp][p][]=0.0; PY[p][jp][p][5]=0.0; PY[p][jp][p][6]=0.0; PY[p][jp][p][7]=0.0; PZ[p][jp][p][0]=0.0; PZ[p][jp][p][]=0.0; PZ[p][jp][p][2]=0.0; PZ[p][jp][p][3]=0.0; PZ[p][jp][p][]=0.0; PZ[p][jp][p][5]=0.0; PZ[p][jp][p][6]=0.0; PZ[p][jp][p][7]=0.0; J J J J 2 3 J J J J J J /** **/ DEERMIA of the JACOBIA dxdq = PQ[jp][p][0]*X + PQ[jp][p][]*X2 + PQ[jp][p][2]*X3 + PQ[jp][p][3]*X + PQ[jp][p][]*X5 + PQ[jp][p][5]*X6 + PQ[jp][p][6]*X7 + PQ[jp][p][7]*X; dydq = PQ[jp][p][0]*Y + PQ[jp][p][]*Y2 + PQ[jp][p][2]*Y3 + PQ[jp][p][3]*Y + PQ[jp][p][]*Y5 + PQ[jp][p][5]*Y6 + PQ[jp][p][6]*Y7 + PQ[jp][p][7]*Y; dzdq = PQ[jp][p][0]*Z + PQ[jp][p][]*Z2 + PQ[jp][p][2]*Z3 + PQ[jp][p][3]*Z + PQ[jp][p][]*Z5 + PQ[jp][p][5]*Z6 + PQ[jp][p][6]*Z7 + PQ[jp][p][7]*Z; dxde = PE[p][p][0]*X + PE[p][p][]*X2 + PE[p][p][2]*X3 + PE[p][p][3]*X + PE[p][p][]*X5 + PE[p][p][5]*X6 + PE[p][p][6]*X7 + PE[p][p][7]*X; dxdq J dydq J dzdq J 2 3
122 FEM3D 22 /** IVERSE JACOBIA **/ JACOBI (3/) dyde = PE[p][p][0]*Y + PE[p][p][]*Y2 + PE[p][p][2]*Y3 + PE[p][p][3]*Y + PE[p][p][]*Y5 + PE[p][p][5]*Y6 + PE[p][p][6]*Y7 + PE[p][p][7]*Y; dzde = PE[p][p][0]*Z + PE[p][p][]*Z2 + PE[p][p][2]*Z3 + PE[p][p][3]*Z + PE[p][p][]*Z5 + PE[p][p][5]*Z6 + PE[p][p][6]*Z7 + PE[p][p][7]*Z; dxd = P[p][jp][0]*X + P[p][jp][]*X2 + P[p][jp][2]*X3 + P[p][jp][3]*X + P[p][jp][]*X5 + P[p][jp][5]*X6 + P[p][jp][6]*X7 + P[p][jp][7]*X; dyd = P[p][jp][0]*Y + P[p][jp][]*Y2 + P[p][jp][2]*Y3 + P[p][jp][3]*Y + P[p][jp][]*Y5 + P[p][jp][5]*Y6 + P[p][jp][6]*Y7 + P[p][jp][7]*Y; dzd = P[p][jp][0]*Z + P[p][jp][]*Z2 + P[p][jp][2]*Z3 + P[p][jp][3]*Z + P[p][jp][]*Z5 + P[p][jp][5]*Z6 + P[p][jp][6]*Z7 + P[p][jp][7]*Z; DEJ[p][jp][p]= dxdq*(dyde*dzd-dzde*dyd) + dydq*(dzde*dxd-dxde*dzd) + dzdq*(dxde*dyd-dyde*dxd); coef=.0 / DEJ[p][jp][p]; a= coef * ( dyde*dzd - dzde*dyd ); a2= coef * ( dzdq*dyd - dydq*dzd ); a3= coef * ( dydq*dzde - dzdq*dyde ); J J J J 2 3 J J J J J J a2= coef * ( dzde*dxd - dxde*dzd ); a22= coef * ( dxdq*dzd - dzdq*dxd ); a23= coef * ( dzdq*dxde - dxdq*dzde ); a3= coef * ( dxde*dyd - dyde*dxd ); a32= coef * ( dydq*dxd - dxdq*dyd ); a33= coef * ( dxdq*dyde - dydq*dxde ); DEJ[p][jp][p]=fabs(DEJ[p][jp][p]);
123 FEM3D 23 Partal Dff. on atural Coord. (/) Partal dfferentaton on global coordnate sstem s ntroduced as follows (wth nverse of Jacoban matr (3 3)) J
124 FEM3D 2 /** IVERSE JACOBIA JACOBI (3/) dyde = PE[p][p][0]*Y + PE[p][p][]*Y2 + PE[p][p][2]*Y3 + PE[p][p][3]*Y + PE[p][p][]*Y5 + PE[p][p][5]*Y6 + PE[p][p][6]*Y7 + PE[p][p][7]*Y; dzde = PE[p][p][0]*Z + PE[p][p][]*Z2 + PE[p][p][2]*Z3 + PE[p][p][3]*Z + PE[p][p][]*Z5 + PE[p][p][5]*Z6 + PE[p][p][6]*Z7 + PE[p][p][7]*Z; dxd = P[p][jp][0]*X + P[p][jp][]*X2 + P[p][jp][2]*X3 + P[p][jp][3]*X + P[p][jp][]*X5 + P[p][jp][5]*X6 + P[p][jp][6]*X7 + P[p][jp][7]*X; dyd = P[p][jp][0]*Y + P[p][jp][]*Y2 + P[p][jp][2]*Y3 + P[p][jp][3]*Y + P[p][jp][]*Y5 + P[p][jp][5]*Y6 + P[p][jp][6]*Y7 + P[p][jp][7]*Y; dzd = P[p][jp][0]*Z + P[p][jp][]*Z2 + P[p][jp][2]*Z3 + P[p][jp][3]*Z + P[p][jp][]*Z5 + P[p][jp][5]*Z6 + P[p][jp][6]*Z7 + P[p][jp][7]*Z; DEJ[p][jp][p]= dxdq*(dyde*dzd-dzde*dyd) + dydq*(dzde*dxd-dxde*dzd) + dzdq*(dxde*dyd-dyde*dxd); **/ coef=.0 / DEJ[p][jp][p]; a= coef * ( dyde*dzd - dzde*dyd ); a2= coef * ( dzdq*dyd - dydq*dzd ); a3= coef * ( dydq*dzde - dzdq*dyde ); a2= coef * ( dzde*dxd - dxde*dzd ); a22= coef * ( dxdq*dzd - dzdq*dxd ); a23= coef * ( dzdq*dxde - dxdq*dzde ); a3= coef * ( dxde*dyd - dyde*dxd ); a32= coef * ( dydq*dxd - dxdq*dyd ); a33= coef * ( dxdq*dyde - dydq*dxde ); J a a a 2 3 a a a a a a DEJ[p][jp][p]=fabs(DEJ[p][jp][p]);
125 FEM3D 25 JACOBI (/) /** set the d/dx d/dy & d/dz components **/ PX[p][jp][p][0]=a*PQ[jp][p][0]+a2*PE[p][p][0]+a3*P[p][jp][0]; PX[p][jp][p][]=a*PQ[jp][p][]+a2*PE[p][p][]+a3*P[p][jp][]; PX[p][jp][p][2]=a*PQ[jp][p][2]+a2*PE[p][p][2]+a3*P[p][jp][2]; PX[p][jp][p][3]=a*PQ[jp][p][3]+a2*PE[p][p][3]+a3*P[p][jp][3]; PX[p][jp][p][]=a*PQ[jp][p][]+a2*PE[p][p][]+a3*P[p][jp][]; PX[p][jp][p][5]=a*PQ[jp][p][5]+a2*PE[p][p][5]+a3*P[p][jp][5]; PX[p][jp][p][6]=a*PQ[jp][p][6]+a2*PE[p][p][6]+a3*P[p][jp][6]; PX[p][jp][p][7]=a*PQ[jp][p][7]+a2*PE[p][p][7]+a3*P[p][jp][7]; PY[p][jp][p][0]=a2*PQ[jp][p][0]+a22*PE[p][p][0]+a23*P[p][jp][0]; PY[p][jp][p][]=a2*PQ[jp][p][]+a22*PE[p][p][]+a23*P[p][jp][]; PY[p][jp][p][2]=a2*PQ[jp][p][2]+a22*PE[p][p][2]+a23*P[p][jp][2]; PY[p][jp][p][3]=a2*PQ[jp][p][3]+a22*PE[p][p][3]+a23*P[p][jp][3]; PY[p][jp][p][]=a2*PQ[jp][p][]+a22*PE[p][p][]+a23*P[p][jp][]; PY[p][jp][p][5]=a2*PQ[jp][p][5]+a22*PE[p][p][5]+a23*P[p][jp][5]; PY[p][jp][p][6]=a2*PQ[jp][p][6]+a22*PE[p][p][6]+a23*P[p][jp][6]; PY[p][jp][p][7]=a2*PQ[jp][p][7]+a22*PE[p][p][7]+a23*P[p][jp][7]; PZ[p][jp][p][0]=a3*PQ[jp][p][0]+a32*PE[p][p][0]+a33*P[p][jp][0]; PZ[p][jp][p][]=a3*PQ[jp][p][]+a32*PE[p][p][]+a33*P[p][jp][]; PZ[p][jp][p][2]=a3*PQ[jp][p][2]+a32*PE[p][p][2]+a33*P[p][jp][2]; PZ[p][jp][p][3]=a3*PQ[jp][p][3]+a32*PE[p][p][3]+a33*P[p][jp][3]; PZ[p][jp][p][]=a3*PQ[jp][p][]+a32*PE[p][p][]+a33*P[p][jp][]; PZ[p][jp][p][5]=a3*PQ[jp][p][5]+a32*PE[p][p][5]+a33*P[p][jp][5]; PZ[p][jp][p][6]=a3*PQ[jp][p][6]+a32*PE[p][p][6]+a33*P[p][jp][6]; PZ[p][jp][p][7]=a3*PQ[jp][p][7]+a32*PE[p][p][7]+a33*P[p][jp][7]; a a a a a a a a a
126 FEM3D 26 MA_ASS_MAI (5/6) /** COSRUC the GLOBAL MARIX **/ for(e=0;e<;e++){ p=nodlocal[e]; for(je=0;je<;je++){ jp=nodlocal[je]; =-; f( jp!= p ){ S=ndeLU[p-]; E=ndeLU[p ]; for( =S;<E;++){ f( temlu[] == jp- ){ =; brea; on-zero Off-Dagonal Bloc n Global Mat A p jp : address n temlu p= nodlocal[e] jp= nodlocal[je] ode ID (pjp) startng from 2
127 FEM3D 27 Element Matr: j j j
128 FEM3D 2 MA_ASS_MAI (5/6) /** COSRUC the GLOBAL MARIX **/ for(e=0;e<;e++){ p=nodlocal[e]; for(je=0;je<;je++){ jp=nodlocal[je]; =-; f( jp!= p ){ S=ndeLU[p-]; E=ndeLU[p ]; for( =S;<E;++){ f( temlu[] == jp- ){ =; brea; Element Matr( e ~j e ): Local ID Global Matr ( p ~j p ): Global ID :address n temlu startng from 0 : startng from 0 pjp: startng from
129 FEM3D 29 MA_ASS_MAI (6/6) QV0= 0.e0; COEFj= 0.e0; for(pn=0;pn<2;pn++){ for(jpn=0;jpn<2;jpn++){ for(pn=0;pn<2;pn++){ coef= fabs(dej[pn][jpn][pn])*wei[pn]*wei[jpn]*wei[pn]; PX= PX[pn][jpn][pn][e]; PY= PY[pn][jpn][pn][e]; PZ= PZ[pn][jpn][pn][e]; PXj= PX[pn][jpn][pn][je]; PYj= PY[pn][jpn][pn][je]; PZj= PZ[pn][jpn][pn][je]; COEFj+= coef*cod0*(px*pxj+py*pyj+pz*pzj); SH= SHAPE[pn][jpn][pn][e]; QV0+= SH * QVOL * coef; f (jp==p) { D[p-]+= COEFj; B[p-]+= QV0*QVC; f (jp!= p) { AMA[]+= COEFj; j j j det J ddd
130 FEM3D 30 MA_ASS_MAI (6/6) QV0= 0.e0; COEFj= 0.e0; for(pn=0;pn<2;pn++){ for(jpn=0;jpn<2;jpn++){ for(pn=0;pn<2;pn++){ coef= fabs(dej[pn][jpn][pn])*wei[pn]*wei[jpn]*wei[pn]; PX= PX[pn][jpn][pn][e]; PY= PY[pn][jpn][pn][e]; PZ= PZ[pn][jpn][pn][e]; PXj= PX[pn][jpn][pn][je]; PYj= PY[pn][jpn][pn][je]; PZj= PZ[pn][jpn][pn][je]; COEFj+= coef*cod0*(px*pxj+py*pyj+pz*pzj); SH= SHAPE[pn][jpn][pn][e]; QV0+= SH * QVOL * coef; f (jp==p) { D[p-]+= COEFj; B[p-]+= QV0*QVC; f (jp!= p) { AMA[]+= COEFj; d d d J j j j det j j M j L f W W W d d d f I ) ( ) (
Microsoft PowerPoint - 03-FEM3D-C.ppt [互換モード]
有限要素法による 三次元定常熱伝導解析プログラム C 言語編 中島研吾東京大学情報基盤センター FEM3D 2 対象とする問題 : 三次元定常熱伝導 Z T T=0@Z= ma Z T 定常熱伝導 + 発熱 一様な熱伝導率 直方体 T 一辺長さの立方体 ( 六面体 ) 要素 各方向にX Y Z 個 境界条件 Q 0 X Y X Y T=0@Z= ma 体積当たり発熱量は位置 ( メッシュの中心の座標
More informationMicrosoft PowerPoint - FEM3D-C [互換モード]
有限要素法による 三次元定常熱伝導解析プログラム C 言語編 202 年夏季集中講義中島研吾 並列計算プログラミング (66-2057) 先端計算機演習 (66-4009) FEM3D 2 対象とする問題 : 三次元定常熱伝導 Z T T=0@Z= ma Z T 定常熱伝導 + 発熱 一様な熱伝導率 直方体 T 一辺長さの立方体 ( 六面体 ) 要素 各方向にX Y Z 個 境界条件 Q 0 X Y
More informationMicrosoft PowerPoint - FEM3D-F [互換モード]
有限要素法による 三次元定常熱伝導解析プログラム Fortran 編 202 年夏季集中講義中島研吾 並列計算プログラミング (66-2057) 先端計算機演習 (66-4009) FEM3D 2 対象とする問題 : 三次元定常熱伝導 Z T T=0@Z=z ma Z T z 定常熱伝導 + 発熱 一様な熱伝導率 直方体 T z 一辺長さの立方体 ( 六面体 ) 要素 各方向にX Y Z 個 境界条件
More informationMicrosoft PowerPoint - 3D-FEM-1.ppt [互換モード]
三次元弾性解析コード (/3) プログラムの概要 22 年夏学期 中島研吾 科学技術計算 Ⅰ(82-27) コンピュータ科学特別講義 Ⅰ(8-2) FEM3D-Part 2 対象とする問題 弾性体 Z ヤング率 E ポアソン比 ν U Z Z Z Y Y 直方体 一辺長さの立方体 ( 六面体 ) 要素 各方向に Y Z 個 境界条件 対称条件 U @ U Y @Y U Z @Z 強制変位 U Z @ZZ
More informationMicrosoft PowerPoint - 03-FEM3D-F.ppt [互換モード]
有限要素法による 三次元定常熱伝導解析プログラム Fortran 編 中島研吾東京大学情報基盤センター FEM3D 2 対象とする問題 : 三次元定常熱伝導 Z T T=0@Z=z ma Z T z 定常熱伝導 + 発熱 一様な熱伝導率 直方体 T z 一辺長さの立方体 ( 六面体 ) 要素 各方向にX Y Z 個 境界条件 Q z 0 X Y X Y T=0@Z=z ma 体積当たり発熱量は位置
More informationMicrosoft PowerPoint - 3D-FEM-2.ppt [互換モード]
三次元弾性解析コード (2/3) マトリクス生成 22 年夏学期 中島研吾 科学技術計算 Ⅰ(482-27) コンピュータ科学特別講義 Ⅰ(48-24) FEM3D-Prt2 2 初期化 有限要素法の処理 : プログラム 制御変数読み込み 座標読み込み 要素生成 (: 節点数 ICELTOT: 要素数 ) 配列初期化 ( 全体マトリクス 要素マトリクス ) 要素 全体マトリクスマッピング (IndeItem)
More informationMicrosoft PowerPoint - 3D-FEM-1.ppt [互換モード]
三次元弾性解析コード (/3) プログラムの概要 2 年夏学期 中島研吾 科学技術計算 Ⅰ(482-27) コンピュータ科学特別講義 Ⅰ(48-24) FEM3D-Part 2 対象とする問題 弾性体 Z ヤング率 E ポアソン比 ν U Z Z Z Y Y 直方体 一辺長さの立方体 ( 六面体 ) 要素 各方向に Y Z 個 境界条件 対称条件 U @ U Y @Y U Z @Z 強制変位 U Z
More informationjoho09.ppt
s M B e E s: (+ or -) M: B: (=2) e: E: ax 2 + bx + c = 0 y = ax 2 + bx + c x a, b y +/- [a, b] a, b y (a+b) / 2 1-2 1-3 x 1 A a, b y 1. 2. a, b 3. for Loop (b-a)/ 4. y=a*x*x + b*x + c 5. y==0.0 y (y2)
More informationMicrosoft Word - Ï. ÏÌáÉ + íÇÓãíä.doc
3948 98789 98963974 9897994 9498876 046 06 /6 / 50 86 086 0 6749 798 98945799 988997894 96799 74 98599446 988997894 9894 9.6 9.6 4994 77 98959 9597 748 99949 7.6 9.6 94.6 989683 9 54 89 9853 799 98599446
More informationMicrosoft Word - JP FEA Post Text Neutral File Format.doc
FEA Post Text File Format 1. 共通事項 (1) ファイル拡張子 *.fpt (FEA Post Text File Format) () 脚注 脚注記号 : セミコロン (;) 脚注記号の後に来るテキストは変換されない (3) データ区分 データ区分記号 :, (4) コマンド表示 コマンドの前は * 記号を付けてデータと区分する Example. 単位のコマンド *UNIT
More informationx, y x 3 y xy 3 x 2 y + xy 2 x 3 + y 3 = x 3 y xy 3 x 2 y + xy 2 x 3 + y 3 = 15 xy (x y) (x + y) xy (x y) (x y) ( x 2 + xy + y 2) = 15 (x y)
x, y x 3 y xy 3 x 2 y + xy 2 x 3 + y 3 = 15 1 1977 x 3 y xy 3 x 2 y + xy 2 x 3 + y 3 = 15 xy (x y) (x + y) xy (x y) (x y) ( x 2 + xy + y 2) = 15 (x y) ( x 2 y + xy 2 x 2 2xy y 2) = 15 (x y) (x + y) (xy
More informationMicrosoft PowerPoint - 3Dp-2.ppt [互換モード]
3D Parallel FEM (II) Kengo Nakajima Technical & Scientific Computing I (48-7) Seminar on Computer Science I (48-4) Parallel FEM Parallel FEM 3D- Target Application Elastic Material Z U Z = Young s Modulus
More information25 II :30 16:00 (1),. Do not open this problem booklet until the start of the examination is announced. (2) 3.. Answer the following 3 proble
25 II 25 2 6 13:30 16:00 (1),. Do not open this problem boolet until the start of the examination is announced. (2) 3.. Answer the following 3 problems. Use the designated answer sheet for each problem.
More information3 1, 1, 1, 1 3D Environment Measurement Using Binocular Stereo and Motion Stereo by Mobile Robot with Omnidirectional Stereo Camera Shinichi GOTO 1, R
3 1, 1, 1, 1 3D Envronment Measurement Usng Bnocular Stereo and Moton Stereo by Moble Robot wth Omndrectonal Stereo Camera Shnch GOTO 1, Ryosuke KAWANISHI 1, Atsush YAMASHITA 1 and Toru KANEKO 1 1 Department
More informationHow to read the marks and remarks used in this parts book. Section 1 : Explanation of Code Use In MRK Column OO : Interchangeable between the new part
Reservdelskatalog MIKASA MT65H vibratorstamp EPOX Maskin AB Postadress Besöksadress Telefon Fax e-post Hemsida Version Box 6060 Landsvägen 1 08-754 71 60 08-754 81 00 info@epox.se www.epox.se 1,0 192 06
More informationHow to read the marks and remarks used in this parts book. Section 1 : Explanation of Code Use In MRK Column OO : Interchangeable between the new part
Reservdelskatalog MIKASA MVB-85 rullvibrator EPOX Maskin AB Postadress Besöksadress Telefon Fax e-post Hemsida Version Box 6060 Landsvägen 1 08-754 71 60 08-754 81 00 info@epox.se www.epox.se 1,0 192 06
More informationHow to read the marks and remarks used in this parts book. Section 1 : Explanation of Code Use In MRK Column OO : Interchangeable between the new part
Reservdelskatalog MIKASA MVC-50 vibratorplatta EPOX Maskin AB Postadress Besöksadress Telefon Fax e-post Hemsida Version Box 6060 Landsvägen 1 08-754 71 60 08-754 81 00 info@epox.se www.epox.se 1,0 192
More informationHow to read the marks and remarks used in this parts book. Section 1 : Explanation of Code Use In MRK Column OO : Interchangeable between the new part
Reservdelskatalog MIKASA MCD-L14 asfalt- och betongsåg EPOX Maskin AB Postadress Besöksadress Telefon Fax e-post Hemsida Version Box 6060 Landsvägen 1 08-754 71 60 08-754 81 00 info@epox.se www.epox.se
More informationMicrosoft Word - 03-数値計算の基礎.docx
δx f x 0 + δ x n=0 a n = f ( n) ( x 0 ) n δx n f x x=0 sin x = x x3 3 + x5 5 x7 7 +... x ( ) = a n δ x n ( ) = sin x ak = (-mod(k,2))**(k/2) / fact_k 10 11 I = f x dx a ΔS = f ( x)h I = f a h I = h b (
More informationn 2 n (Dynamic Programming : DP) (Genetic Algorithm : GA) 2 i
15 Comparison and Evaluation of Dynamic Programming and Genetic Algorithm for a Knapsack Problem 1040277 2004 2 25 n 2 n (Dynamic Programming : DP) (Genetic Algorithm : GA) 2 i Abstract Comparison and
More informationMicrosoft PowerPoint - 08-pFEM3D-2C.ppt [互換モード]
並列有限要素法による 三次元定常熱伝導解析プログラム (2/2)C 言語編 中島研吾東京大学情報基盤センター pfem3d-2 2 対象とする問題 : 三次元定常熱伝導 Z x T x T=0@Z=z max y NZ T y z 定常熱伝導 + 発熱 一様な熱伝導率 直方体 T z 一辺長さの立方体 ( 六面体 ) 要素 各方向にNX NY NZ 個 境界条件 Q x, y, z 0 X NY NX
More information( )
18 10 01 ( ) 1 2018 4 1.1 2018............................... 4 1.2 2018......................... 5 2 2017 7 2.1 2017............................... 7 2.2 2017......................... 8 3 2016 9 3.1 2016...............................
More informationh23w1.dvi
24 I 24 2 8 10:00 12:30 1),. Do not open this problem booklet until the start of the examination is announced. 2) 3.. Answer the following 3 problems. Use the designated answer sheet for each problem.
More information200708_LesHouches_02.ppt
Numerical Methods for Geodynamo Simulation Akira Kageyama Earth Simulator Center, JAMSTEC, Japan Part 2 Geodynamo Simulations in a Sphere or a Spherical Shell Outline 1. Various numerical methods used
More informationはじめに
IT 1 NPO (IPEC) 55.7 29.5 Web TOEIC Nice to meet you. How are you doing? 1 type (2002 5 )66 15 1 IT Java (IZUMA, Tsuyuki) James Robinson James James James Oh, YOU are Tsuyuki! Finally, huh? What's going
More information1 # include < stdio.h> 2 # include < string.h> 3 4 int main (){ 5 char str [222]; 6 scanf ("%s", str ); 7 int n= strlen ( str ); 8 for ( int i=n -2; i
ABC066 / ARC077 writer: nuip 2017 7 1 For International Readers: English editorial starts from page 8. A : ringring a + b b + c a + c a, b, c a + b + c 1 # include < stdio.h> 2 3 int main (){ 4 int a,
More information入試の軌跡
4 y O x 4 Typed by L A TEX ε ) ) ) 6 4 ) 4 75 ) http://kumamoto.s.xrea.com/plan/.. PDF) Ctrl +L) Ctrl +) Ctrl + Ctrl + ) ) Alt + ) Alt + ) ESC. http://kumamoto.s.xrea.com/nyusi/kumadai kiseki ri i.pdf
More information. (.8.). t + t m ü(t + t) + c u(t + t) + k u(t + t) = f(t + t) () m ü f. () c u k u t + t u Taylor t 3 u(t + t) = u(t) + t! u(t) + ( t)! = u(t) + t u(
3 8. (.8.)............................................................................................3.............................................4 Nermark β..........................................
More information第7章 有限要素法のプログラミング
April 3, 2019 1 / 34 7.1 ( ) 2 Poisson 2 / 34 7.2 femfp.c [1] main( ) input( ) assem( ) ecm( ) f( ) solve( ) gs { solve( ) output( ) 3 / 34 7.3 fopen() #include FILE *fopen(char *fname, char
More informationHow to read the marks and remarks used in this parts book. Section 1 : Explanation of Code Use In MRK Column OO : Interchangeable between the new part
Reservdelskatalog MIKASA MVC-88 vibratorplatta EPOX Maskin AB Postadress Besöksadress Telefon Fax e-post Hemsida Version Box 6060 Landsvägen 1 08-754 71 60 08-754 81 00 info@epox.se www.epox.se 1,0 192
More informationOHP.dvi
0 7 4 0000 5.. 3. 4. 5. 0 0 00 Gauss PC 0 Gauss 3 Gauss Gauss 3 4 4 4 4 3 4 4 4 4 3 4 4 4 4 3 4 4 4 4 u [] u [3] u [4] u [4] P 0 = P 0 (),3,4 (,), (3,), (4,) 0,,,3,4 3 3 3 3 4 4 4 4 0 3 6 6 0 6 3 6 0 6
More information24 I ( ) 1. R 3 (i) C : x 2 + y 2 1 = 0 (ii) C : y = ± 1 x 2 ( 1 x 1) (iii) C : x = cos t, y = sin t (0 t 2π) 1.1. γ : [a, b] R n ; t γ(t) = (x
24 I 1.1.. ( ) 1. R 3 (i) C : x 2 + y 2 1 = 0 (ii) C : y = ± 1 x 2 ( 1 x 1) (iii) C : x = cos t, y = sin t (0 t 2π) 1.1. γ : [a, b] R n ; t γ(t) = (x 1 (t), x 2 (t),, x n (t)) ( ) ( ), γ : (i) x 1 (t),
More information(check matrices and minimum distances) H : a check matrix of C the minimum distance d = (the minimum # of column vectors of H which are linearly depen
Hamming (Hamming codes) c 1 # of the lines in F q c through the origin n = qc 1 q 1 Choose a direction vector h i for each line. No two vectors are colinear. A linearly dependent system of h i s consists
More informationAN 100: ISPを使用するためのガイドライン
ISP AN 100: In-System Programmability Guidelines 1998 8 ver.1.01 Application Note 100 ISP Altera Corporation Page 1 A-AN-100-01.01/J VCCINT VCCINT VCCINT Page 2 Altera Corporation IEEE Std. 1149.1 TCK
More informationuntitled
9 9. 9. 9. (FEM, nite element method) 4 9.. (element) (mesh discretization) DT LOK DT M([ ],[ ] )=[ ] DIMENSION M(,NF) DT M/,4,5,,5,,,5,6,,6,,,6,7, 4,8,9, 4,9,5,.../ DIMENSION M(4,NF) DO I=,IF- DO J=,JF
More information? FPGA FPGA FPGA : : : ? ( ) (FFT) ( ) (Localization) ? : 0. 1 2 3 0. 4 5 6 7 3 8 6 1 5 4 9 2 0. 0 5 6 0 8 8 ( ) ? : LU Ax = b LU : Ax = 211 410 221 x 1 x 2 x 3 = 1 0 0 21 1 2 1 0 0 1 2 x = LUx = b 1 31
More informationuntitled
() 2006 i Foundationpowdermakeup No.1 ii iii iv Research on selection criterion of cosmetics that use the consumer's Eras analysis Consideration change by bringing up child Fukuda Eri 1.Background, purpose,
More informationsoturon.dvi
12 Exploration Method of Various Routes with Genetic Algorithm 1010369 2001 2 5 ( Genetic Algorithm: GA ) GA 2 3 Dijkstra Dijkstra i Abstract Exploration Method of Various Routes with Genetic Algorithm
More informationJGSS統計分析セミナー2009-傾向スコアを用いた因果分析-
日本版総合的社会調査共同研究拠点研究論文集 [10] JGSS Research Seres No.7 JGSS 2009 JGSS JGSS Statstcal Analyss Semnar: Causalty Analyss based on the Propensty Score Kana MIWA JGSS Research Center Osaka Unversty of Commerce
More informationMicrosoft Word - GrCadSymp1999.doc
u u Ê É Îf ÈÉ uõòñõçí uõòñõëêi oy * ÎÏ Ó ÏÕ( ) **Ï ÓÐ ÕÖ *** ÎÏ Ó ÏÕ( ) APÑÖÕ ÑÕ { itot, inoue, furuhata} @trl.ibm.co.jp shimada@cmu.edu Automated Conversion of Triangular Mesh to Quadrilateral Mesh with
More informationAtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len(
AtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) 29 4 29 A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len(b)-1] == c[0]: print( YES ) else: print( NO ) 1 B:
More informationLM2940
1A 3 1A 3 0.5V 1V 1A 3V 1A 5V 30mA (V IN V OUT 3V) 2 (60V) * C Converted to nat2000 DTD updated with tape and reel with the new package name. SN Mil-Aero: Order Info table - moved J-15 part from WG row
More informationLM2940.fm
1A 3 0.5V 1V 1A 3V 1A 5V 30mA (V IN V OUT 3V) LM2940 * 1A Low Dropout Regulator LM2940C 1A Low Dropout Regulator LM2940 19860409 33200 24060 11800 DS008822 0.5V@I O 1A 1A P 2006 2 Updated to include LLP
More informationL C -6D Z3 L C -0D Z3 3 4 5 6 7 8 9 10 11 1 13 14 15 16 17 OIL CLINIC BAR 18 19 POWER TIMER SENSOR 0 3 1 3 1 POWER TIMER SENSOR 3 4 1 POWER TIMER SENSOR 5 11 00 6 7 1 3 4 5 8 9 30 1 3 31 1 3 1 011 1
More informationFgure : (a) precse but naccurate data. (b) accurate but mprecse data. [] Fg..(p.) Fgure : Accuracy vs Precson []p.0-0 () 05. m 0.35 m 05. ± 0.35m 05.
9 3 Error Analyss [] Danel C. Harrs, Quanttatve Chemcal Analyss, Chap.3-5. th Ed. 003. [] J. R. Taylor (, 000. An Introducton to Error Analyss, nd Ed. 997 Unv. Sc. Books) [3] 00 ( [] 973 Posson [5] 99
More information() n C + n C + n C + + n C n n (3) n C + n C + n C 4 + n C + n C 3 + n C 5 + (5) (6 ) n C + nc + 3 nc n nc n (7 ) n C + nc + 3 nc n nc n (
3 n nc k+ k + 3 () n C r n C n r nc r C r + C r ( r n ) () n C + n C + n C + + n C n n (3) n C + n C + n C 4 + n C + n C 3 + n C 5 + (4) n C n n C + n C + n C + + n C n (5) k k n C k n C k (6) n C + nc
More information1 2 3
INFORMATION FOR THE USER DRILL SELECTION CHART CARBIDE DRILLS NEXUS DRILLS DIAMOND DRILLS VP-GOLD DRILLS TDXL DRILLS EX-GOLD DRILLS V-GOLD DRILLS STEEL FRAME DRILLS HARD DRILLS V-SELECT DRILLS SPECIAL
More informationMicrosoft Word - 資料 docx
y = Asin 2πt T t t = t i i 1 n+1 i i+1 Δt t t i = Δt i 1 ( ) y i = Asin 2πt i T 29 (x, y) t ( ) x = Asin 2πmt y = Asin( 2πnt + δ ) m, n δ (x, y) m, n 30 L A x y A L x 31 plot sine curve program sine implicit
More informationBasic Math. 1 0 [ N Z Q Q c R C] 1, 2, 3,... natural numbers, N Def.(Definition) N (1) 1 N, (2) n N = n +1 N, (3) N (1), (2), n N n N (element). n/ N.
Basic Mathematics 16 4 16 3-4 (10:40-12:10) 0 1 1 2 2 2 3 (mapping) 5 4 ε-δ (ε-δ Logic) 6 5 (Potency) 9 6 (Equivalence Relation and Order) 13 7 Zorn (Axiom of Choice, Zorn s Lemma) 14 8 (Set and Topology)
More information> σ, σ j, j σ j, σ j j σ σ j σ j (t) = σ (t ) σ j (t) = σ () j(t ) n j σ, σ j R lm σ = σ j, j V (8) t σ R σ d R lm σ = σ d V (9) t Fg.. Communcaton ln
IIC-- Dstrbuted Cooperatve Atttude Control for Multple Rgd Bodes wth Communcaton Delay Yoshhro achbana, oru Namerkawa (Keo Unversty) Abstract hs paper descrbes dstrbuted cooperatve atttude consensus and
More informationkubostat7f p GLM! logistic regression as usual? N? GLM GLM doesn t work! GLM!! probabilit distribution binomial distribution : : β + β x i link functi
kubostat7f p statistaical models appeared in the class 7 (f) kubo@eeshokudaiacjp https://googl/z9cjy 7 : 7 : The development of linear models Hierarchical Baesian Model Be more flexible Generalized Linear
More information4.1 % 7.5 %
2018 (412837) 4.1 % 7.5 % Abstract Recently, various methods for improving computial performance have been proposed. One of these various methods is Multi-core. Multi-core can execute processes in parallel
More information情報活用資料
y = Asin 2πt T t t = t i i 1 n+1 i i+1 Δt t t i = Δt i 1 ( ) y i = Asin 2πt i T 21 (x, y) t ( ) x = Asin 2πmt y = Asin( 2πnt + δ ) m, n δ (x, y) m, n 22 L A x y A L x 23 ls -l gnuplot gnuplot> plot "sine.dat"
More informationRX600 & RX200シリーズ アプリケーションノート RX用仮想EEPROM
R01AN0724JU0170 Rev.1.70 MCU EEPROM RX MCU 1 RX MCU EEPROM VEE VEE API MCU MCU API RX621 RX62N RX62T RX62G RX630 RX631 RX63N RX63T RX210 R01AN0724JU0170 Rev.1.70 Page 1 of 33 1.... 3 1.1... 3 1.2... 3
More informationwaseda2010a-jukaiki1-main.dvi
November, 2 Contents 6 2 8 3 3 3 32 32 33 5 34 34 6 35 35 7 4 R 2 7 4 4 9 42 42 2 43 44 2 5 : 2 5 5 23 52 52 23 53 53 23 54 24 6 24 6 6 26 62 62 26 63 t 27 7 27 7 7 28 72 72 28 73 36) 29 8 29 8 29 82 3
More information2 2 MATHEMATICS.PDF 200-2-0 3 2 (p n ), ( ) 7 3 4 6 5 20 6 GL 2 (Z) SL 2 (Z) 27 7 29 8 SL 2 (Z) 35 9 2 40 0 2 46 48 2 2 5 3 2 2 58 4 2 6 5 2 65 6 2 67 7 2 69 2 , a 0 + a + a 2 +... b b 2 b 3 () + b n a
More informationMicrosoft Word - Win-Outlook.docx
Microsoft Office Outlook での設定方法 (IMAP および POP 編 ) How to set up with Microsoft Office Outlook (IMAP and POP) 0. 事前に https://office365.iii.kyushu-u.ac.jp/login からサインインし 以下の手順で自分の基本アドレスをメモしておいてください Sign
More informationfx-9860G Manager PLUS_J
fx-9860g J fx-9860g Manager PLUS http://edu.casio.jp k 1 k III 2 3 1. 2. 4 3. 4. 5 1. 2. 3. 4. 5. 1. 6 7 k 8 k 9 k 10 k 11 k k k 12 k k k 1 2 3 4 5 6 1 2 3 4 5 6 13 k 1 2 3 1 2 3 1 2 3 1 2 3 14 k a j.+-(),m1
More informationT rank A max{rank Q[R Q, J] t-rank T [R T, C \ J] J C} 2 ([1, p.138, Theorem 4.2.5]) A = ( ) Q rank A = min{ρ(j) γ(j) J J C} C, (5) ρ(j) = rank Q[R Q,
(ver. 4:. 2005-07-27) 1 1.1 (mixed matrix) (layered mixed matrix, LM-matrix) m n A = Q T (2m) (m n) ( ) ( ) Q I m Q à = = (1) T diag [t 1,, t m ] T rank à = m rank A (2) 1.2 [ ] B rank [B C] rank B rank
More informationIPSJ SIG Techncal Report 2. RangeBased RangeFree. 2.1 Rangebased RangeBased TDOA(Tme Dfference Of Arrval) TOA(Tme Of Arrval) TDOA TDOA Actve Bat 2) Cr
IPSJ SIG Techncal Report 1 2 2 (SOM, Self Organzng Maps) 7). Self-Organzng Localzaton for Wreless Sensor Networks on Ansotropc Topology Yuto Takashma, 1 Naotosh Adach 2 and Yasuhsa Takzawa 2 On wreless
More informationC FGIH C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
TUDSR5SET TUDSR5 C 7 8 9 ch DIGITAL CS TUNER C C C C S-A C FGIH C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
More informationA comparative study of the team strengths calculated by mathematical and statistical methods and points and winning rate of the Tokyo Big6 Baseball Le
Powered by TCPDF (www.tcpdf.org) Title 東京六大学野球リーグ戦において勝敗結果から計算する優勝チームと勝点 勝率との比較研究 Sub Title A comparative study of the team strengths calculated by mathematical and statistical methods and points and winning
More informationMicrosoft Word - 資料 (テイラー級数と数値積分).docx
δx δx n x=0 sin x = x x3 3 + x5 5 x7 7 +... x ak = (-mod(k,2))**(k/2) / fact_k ( ) = a n δ x n f x 0 + δ x a n = f ( n) ( x 0 ) n f ( x) = sin x n=0 58 I = b a ( ) f x dx ΔS = f ( x)h I = f a h h I = h
More informationDevelopement of Plastic Collocation Method Extension of Plastic Node Method by Yukio Ueda, Member Masahiko Fujikubo, Member Masahiro Miura, Member Sum
Developement of Plastic Collocation Method Extension of Plastic Node Method by Yukio Ueda, Member Masahiko Fujikubo, Member Masahiro Miura, Member Summary Previously, the authors developed the plastic
More information一般化線形 (混合) モデル (2) - ロジスティック回帰と GLMM
.. ( ) (2) GLMM kubo@ees.hokudai.ac.jp I http://goo.gl/rrhzey 2013 08 27 : 2013 08 27 08:29 kubostat2013ou2 (http://goo.gl/rrhzey) ( ) (2) 2013 08 27 1 / 74 I.1 N k.2 binomial distribution logit link function.3.4!
More informationkubostat2018d p.2 :? bod size x and fertilization f change seed number? : a statistical model for this example? i response variable seed number : { i
kubostat2018d p.1 I 2018 (d) model selection and kubo@ees.hokudai.ac.jp http://goo.gl/76c4i 2018 06 25 : 2018 06 21 17:45 1 2 3 4 :? AIC : deviance model selection misunderstanding kubostat2018d (http://goo.gl/76c4i)
More informationBS・110度CSデジタルハイビジョンチューナー P-TU1000JS取扱説明書
C S0 CS Digital Hi-Vision Tuner C C C C S0-0A TQZW99 0 C C C C 4 5 6 7 8 9 C C C C C C C C C C C C C C C C C C C C C C C 0 FGIH C 0 FGIH C C C FGIH FG IH FGIH I H FGIH FGIH 0 C C # $ IH F G 0 # $ # $
More informationLM2940/LM2940C 1A 低ドロップアウト3 端子レギュレータ
LM2940,LM2940C LM2940/LM2940C 1A Low Dropout Regulator Literature Number: JAJSBB5 LM2940/LM2940C 1A 3 LM2940/LM2940C 0.5V 1V 1A 3V 1A 5V 30mA (V IN V OUT 3V) LM2940 * 1A Low Dropout Regulator LM2940C 1A
More information28 Horizontal angle correction using straight line detection in an equirectangular image
28 Horizontal angle correction using straight line detection in an equirectangular image 1170283 2017 3 1 2 i Abstract Horizontal angle correction using straight line detection in an equirectangular image
More information24 Depth scaling of binocular stereopsis by observer s own movements
24 Depth scaling of binocular stereopsis by observer s own movements 1130313 2013 3 1 3D 3D 3D 2 2 i Abstract Depth scaling of binocular stereopsis by observer s own movements It will become more usual
More informationVisual Evaluation of Polka-dot Patterns Yoojin LEE and Nobuko NARUSE * Granduate School of Bunka Women's University, and * Faculty of Fashion Science,
Visual Evaluation of Polka-dot Patterns Yoojin LEE and Nobuko NARUSE * Granduate School of Bunka Women's University, and * Faculty of Fashion Science, Bunka Women's University, Shibuya-ku, Tokyo 151-8523
More informationNotePC 8 10cd=m 2 965cd=m 2 1.2 Note-PC Weber L,M,S { i {
12 The eect of a surrounding light to color discrimination 1010425 2001 2 5 NotePC 8 10cd=m 2 965cd=m 2 1.2 Note-PC Weber L,M,S { i { Abstract The eect of a surrounding light to color discrimination Ynka
More informationZ7000操作編_本文.indb
2 8 17 37Z700042Z7000 46Z7000 28 42 52 61 72 87 2 3 12 13 6 7 3 4 11 21 34 61 8 17 4 11 4 53 12 12 10 75 18 12 42 42 13 30 42 42 42 42 10 62 66 44 55 14 25 9 62 65 23 72 23 19 24 42 8 26 8 9 9 4 11 18
More information5 11 3 1....1 2. 5...4 (1)...5...6...7...17...22 (2)...70...71...72...77...82 (3)...85...86...87...92...97 (4)...101...102...103...112...117 (5)...121...122...123...125...128 1. 10 Web Web WG 5 4 5 ²
More informationBodenheimer, Thomas S., and Kevin Grumbach (1998) Understanding Health Policy: A Clinical Approach, 2nd ed. Appleton & Lange. The Present State of Managed Care and the Feasibility of its Application to
More informationA Nutritional Study of Anemia in Pregnancy Hematologic Characteristics in Pregnancy (Part 1) Keizo Shiraki, Fumiko Hisaoka Department of Nutrition, Sc
A Nutritional Study of Anemia in Pregnancy Hematologic Characteristics in Pregnancy (Part 1) Keizo Shiraki, Fumiko Hisaoka Department of Nutrition, School of Medicine, Tokushima University, Tokushima Fetal
More information塗装深み感の要因解析
17 Analysis of Factors for Paint Depth Feeling Takashi Wada, Mikiko Kawasumi, Taka-aki Suzuki ( ) ( ) ( ) The appearance and quality of objects are controlled by paint coatings on the surfaces of the objects.
More informationuntitled
13 Verilog HDL 16 CPU CPU IP 16 1023 2 reg[ msb: lsb] [ ]; reg [15:0] MEM [0:1023]; //16 1024 16 1 16 2 FF 1 address 8 64 `resetall `timescale 1ns/10ps module mem8(address, readdata,writedata, write, read);
More information23 Study on Generation of Sudoku Problems with Fewer Clues
23 Study on Generation of Sudoku Problems with Fewer Clues 1120254 2012 3 1 9 9 21 18 i Abstract Study on Generation of Sudoku Problems with Fewer Clues Norimasa NASU Sudoku is puzzle a kind of pencil
More informationDocuWide 2051/2051MF 補足説明書
ëêèõ . 2 3 4 5 6 7 8 9 0 2 3 4 [PLOTTER CONFIGURATION] [DocuWide 2050/205 Version 2.2.0] [SERIAL] BAUD_RATE =9600 DATA_BIT =7 STOP_BIT = PARITY =EVEN HANDSHAKE =XON/XOFF EOP_TIMEOUT_VALUE =0 OUTPUT RESPONSE
More informationgenron-3
" ( K p( pasals! ( kg / m 3 " ( K! v M V! M / V v V / M! 3 ( kg / m v ( v "! v p v # v v pd v ( J / kg p ( $ 3! % S $ ( pv" 3 ( ( 5 pv" pv R" p R!" R " ( K ( 6 ( 7 " pv pv % p % w ' p% S & $ p% v ( J /
More informationPari-gp /7/5 1 Pari-gp 3 pq
Pari-gp 3 2007/7/5 1 Pari-gp 3 pq 3 2007 7 5 Pari-gp 3 2007/7/5 2 1. pq 3 2. Pari-gp 3. p p 4. p Abel 5. 6. 7. Pari-gp 3 2007/7/5 3 pq 3 Pari-gp 3 2007/7/5 4 p q 1 (mod 9) p q 3 (3, 3) Abel 3 Pari-gp 3
More information2
8 23 26A800032A8000 31 37 42 51 2 3 23 37 10 11 51 4 26 7 28 7 8 7 9 8 5 6 7 9 8 17 7 7 7 37 10 13 12 23 21 21 8 53 8 8 8 8 1 2 3 17 11 51 51 18 23 29 69 30 39 22 22 22 22 21 56 8 9 12 53 12 56 43 35 27
More information2
8 22 19A800022A8000 30 37 42 49 2 3 22 37 10 11 49 4 24 27 7 49 7 8 7 9 8 5 6 7 9 8 16 7 7 7 37 10 11 20 22 20 20 8 51 8 8 9 17 1 2 3 16 11 49 49 17 22 28 48 29 33 21 21 21 21 20 8 10 9 28 9 53 37 36 25
More information熊本県数学問題正解
00 y O x Typed by L A TEX ε ( ) (00 ) 5 4 4 ( ) http://www.ocn.ne.jp/ oboetene/plan/. ( ) (009 ) ( ).. http://www.ocn.ne.jp/ oboetene/plan/eng.html 8 i i..................................... ( )0... (
More informationRepatriation and International Development Assistance: Is the Relief-Development Continuum Becoming in the Chronic Political Emergencies? KOIZUMI Koichi In the 1990's the main focus of the global refugee
More informationH8000操作編
8 26 35 32H800037H800042H8000 49 55 60 72 2 3 4 48 7 72 32 28 7 8 9 5 7 9 22 43 20 8 8 8 8 73 8 13 7 7 7 55 10 49 49 13 37 49 49 49 49 49 49 12 50 11 76 8 24 26 24 24 6 1 2 3 18 42 72 72 20 26 32 80 34
More informationY X X Y1 X 2644 Y1 Y2 Y1 Y3 Y1 Y1 Y1 Y2 Y3 Y2 Y3 Y1 Y1 Y2 Y3 Y1 Y2 Y3 Y1 X Lexis X Y X X2 X3 X2 Y2 Y1 Y1
2 20 I II III 1 2 392 3 4 IV Makiko Noto / 3 3 1 1 5 52 1 2 2 2 3 9 11 5 31 1037 227 7 4 1 4 Y1 1 1 5 1965 2000 302 050 2012 autumn / No.393 051 2 5 Y1 9 9 4 X X Y1 X 2644 Y1 Y2 Y1 Y3 Y1 Y1 Y1 Y2 Y3 Y2
More informationA5 PDF.pwd
DV DV DV DV DV DV 67 1 2016 5 383 DV DV DV DV DV DV DV DV DV 384 67 1 2016 5 DV DV DV NPO DV NPO NPO 67 1 2016 5 385 DV DV DV 386 67 1 2016 5 DV DV DV DV DV WHO Edleson, J. L. 1999. The overlap between
More informationInfluence of Material and Thickness of the Specimen to Stress Separation of an Infrared Stress Image Kenji MACHIDA The thickness dependency of the temperature image obtained by an infrared thermography
More informationiii 1 1 1 1................................ 1 2.......................... 3 3.............................. 5 4................................ 7 5................................ 9 6............................
More informationPowerPoint Presentation
AI Programming data mining ( Plug in Weka to Eclipse) Review of Identification Tree Run bouncing ball in Weka Run bouncing ball in Eclipse How about color? weight? rubber? Please write down their formulae.
More information[Problem D] ぐらぐら 一般に n 個の物体があり i 番目の物体の重心の x 座標を x i, 重さを w i とすると 全体の n 重心の x 座標と重さ w は x = ( x w ) / w, w = w となる i= 1 i i n i= 1 i 良さそうな方法は思いつかなかった
[Problem D] ぐらぐら 一般に n 個の物体があり 番目の物体の重心の x 座標を x, 重さを w とすると 全体の n 重心の x 座標と重さ w は x = ( x w ) / w, w = w となる = n = 良さそうな方法は思いつかなかった アイデア募集中!!! ので 少し強引に解いている 入力データの読み込みは w と h を scanf で読み込み getchar でその行の行末コードを読み込み
More informationa,, f. a e c a M V N W W c V R MN W e sin V e cos f a b a ba e b W c V e c e F af af F a a c a e be a f a F a b e f F f a b e F e ff a e F a b e e f b e f F F a R b e c e f F M N DD s n s n D s s nd s
More informationI I / 68
2013.07.04 I 2013 3 I 2013.07.04 1 / 68 I 2013.07.04 2 / 68 I 2013.07.04 3 / 68 heat1.f90 heat2.f90 /tmp/130704/heat2.f90 I 2013.07.04 4 / 68 diff heat1.f90 heat2.f90!! heat2. f 9 0! c m > NGRID! c nmax
More information95NBK-final.dvi
focus particle (scale) (scalar reading) The basic semantic function of `toritate'(designting)-particles in Japanese, which correspond to so-called `focus particles' in English, is to designate an object
More informationJOURNAL OF THE JAPANESE ASSOCIATION FOR PETROLEUM TECHNOLOGY VOL. 66, NO. 6 (Nov., 2001) (Received August 10, 2001; accepted November 9, 2001) Alterna
JOURNAL OF THE JAPANESE ASSOCIATION FOR PETROLEUM TECHNOLOGY VOL. 66, NO. 6 (Nov., 2001) (Received August 10, 2001; accepted November 9, 2001) Alternative approach using the Monte Carlo simulation to evaluate
More informationX G P G (X) G BG [X, BG] S 2 2 2 S 2 2 S 2 = { (x 1, x 2, x 3 ) R 3 x 2 1 + x 2 2 + x 2 3 = 1 } R 3 S 2 S 2 v x S 2 x x v(x) T x S 2 T x S 2 S 2 x T x S 2 = { ξ R 3 x ξ } R 3 T x S 2 S 2 x x T x S 2
More informationAdobe Media Encoder ユーザーガイド
ADOBE MEDIA ENCODER CS5 & CS5.5 http://help.adobe.com/ja_jp/legalnotices/index.html iii 1............................................................................. 1.............................................................................................................
More informationPage 1 of 6 B (The World of Mathematics) November 20, 2006 Final Exam 2006 Division: ID#: Name: 1. p, q, r (Let p, q, r are propositions. ) (10pts) (a
Page 1 of 6 B (The World of Mathematics) November 0, 006 Final Exam 006 Division: ID#: Name: 1. p, q, r (Let p, q, r are propositions. ) (a) (Decide whether the following holds by completing the truth
More information