;new NNTUl$
J69B1Yi
;restore therm_model.sav B.ar!*X
a(|,KWHn
;model mohr ;本构模型 QP={b+8
;model th_iso =AVr<kP
k4!z;Yq
def get_znum ;获取单元总数 mcm8|@Y{
cpJ(77e
znt=zone_head 5a^b{=#Y
loop while znt # null l6y*SW5+
znum=znum+1 c)Ep<W<r1
znt=z_next(znt) =L F9im
end_loop %.mHV7c)%
qs
0'}>
end OLh QS_D
get_znum
B Sc5@;
C0#"U f
Ip&Q'"HYj
def weibull_dis ;weibull分布 _N2tf/C&=
8r-'m%l
znt=zone_head *0!IHr"fn
loop while znt # null KU5|~1t 4
weibull_young=((-ln(urand))^(1.0/emod_weib_m))*ex_young ;弹性模量weibull分布 ,K 1X/),
weibull_thexp=((-ln(urand))^(1.0/exth_weib_m))*ex_thexp ;热膨胀系数weibull分布 bPhb d
2[e^mm&.
;----------某个量不变化时候时候-------------- TxDzGC
weibull_young=18.0000e9 ;弹性模量不变化 |j>fsk~
;weibull_thexp=4.6200e-5 ;膨胀系数不变化 !-<PV
;------------------------------------- ]$xN`O4W{
P+s-{vv{0
bulk_mod=weibull_young/3.0/(1.0-2*p_rat) qR>"r"Fq
shear_mod=weibull_young/2.0/(1.0+p_rat) hnp-x3
@,%IVKg\
z_prop(znt,'bulk')=bulk_mod ;给每个单元赋参数 `GQ'yv
z_prop(znt,'shear')=shear_mod /'WIgP
^a?H"
z_prop(znt,'thexp')=weibull_thexp *E1 v
tiHP?N U
z_gnum=z_gnum+1 _6/q.
Ua](o H
table(1,z_gnum)=weibull_young +~] :oj
table(2,z_gnum)=weibull_thexp ")?NCun>
#fTPo:*t
znt=z_next(znt) 0//B+.#
end_loop P3u,)P&
end ,f2tG+P
M>kk"tyM
;-------------------均匀系数、尺度参数、变异系数------------------ }ki}J >j|f
;------------------弹性模量-------------------------- ;~
,<8
;1.5,19.94018,0.6790---2.0,20.31144,0.5228---4.0,19.85878,0.2805---8.0,19.11437,0.1882 dXvp-oi
;15, 18.63933,0.0810---20 18.489980.0625---40, 18.25188,0.0306---100,18.10319,0.0130 RbA.%~jjx*
/N?vVp
set emod_weib_m=1.5 ;弹摸均匀系数 @ApX43U(
set ex_young=19.94018e9 ;尺度参数 A=a~ [vre
set p_rat=0.3 ;泊松比 g XThdNU4G
'D1Sm&M2%e
;--------------------膨胀系数----------------------- IP
e"9xb
;1.5,5.11798,0.6790---2.0,5.21327,0.5228---4.0,5.09709,0.2805---8.0,4.90602,0.1882 4Bc<
;15, 4.78409,0.0810---20 4.74576,0.0625---40, 4.68465,0.0306---100,4.64648,0.0130 u{>_Pb
YnLwBJ 2i
set exth_weib_m=1.5 ;膨胀系数均匀系数 WG\gf\= I
set ex_thexp=5.11798e-5 ;尺度参数 5J 0Sc
)VoQ/ch<
'
+*,|;?
weibull_dis