(* N>YSXh`W`y
Demo for program"RP Fiber Power": thulium-doped fiber laser, 2A@oa9
pumped at 790 nm. Across-relaxation process allows for efficient 'I+M*Iy
population of theupper laser level. A?lR[`'u\
*) !(* *)注释语句 [ dVBsi
AaxQBTB
diagram shown: 1,2,3,4,5 !指定输出图表 Al6%RFt
; 1: "Powersvs. Position" !分号是注释;光纤长度对功率的影响 AD<>)(
; 2:"Variation of the Pump Power" !泵浦光功率变化对信号输出功率的影响 {]8|\CcY?
; 3:"Variation of the Fiber Length"!信号输出功率vs 光纤长度的变化,仿真最佳光纤长度 P(Rl/eyRM
; 4:"Transverse Profiles" !横向分布,横坐标为半径位置 RQ[/s
lg
; 5:"Transition Cross-sections" !不同波长的跃迁横截面,横坐标波长,纵坐标为横截面 P*?| E@;s`
`JDZR:bMaT
include"Units.inc" !读取“Units.inc”文件中内容 %Vltc4QU
eGg6wd
include"Tm-silicate.inc" !读取光谱数据 p`A2^FS)
n.a2%,|v
; Basic fiberparameters: !定义基本光纤参数 QwpX3
k6
L_f := 4 { fiberlength } !光纤长度 ;`Xm?N
No_z_steps := 50 {no steps along the fiber } !光纤步长,大括号{ }是注释,相当于备注 Y$"m*0
r_co := 6 um { coreradius } !纤芯半径 $z*"@
N_Tm := 100e24 { Tmdoping concentration } !纤芯Tm离子掺杂浓度
s@"|o3BX
Ssz;d&93
; Parameters of thechannels: !定义光信道 mF~]P8
l_p := 790 nm {pump wavelength } !泵浦光波长790nm |n tWMm:(
dir_p := forward {pump direction (forward or backward) } !前向泵浦 xR%NiYNQz
P_pump_in := 5 {input pump power } !输入泵浦功率5W r<n:o7
w_p := 50 um {radius of pump cladding } !包层泵浦相应的半径 50um w{dRf!b69
I_p(r) := (r <=w_p) { pump intensity profile } !泵浦光强度分布 Y DHP-0?
loss_p := 0 {parasitic losses of pump wave } !泵浦光寄生损耗为0 EATVce]T
0fBwy/:
l_s := 1940 nm {signal wavelength } !信号光波长1940nm R_g(6l"3R^
w_s := 7 um !信号光的半径 5yK#;!:h
I_s(r) := exp(-2 *(r / w_s)^2) !信号光的高斯强度分布 vX6JjE!
loss_s := 0 !信号光寄生损耗为0 Ri`6X_xU
L[9Kh&