<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin:0;"></p><p style="margin:0in;font-size:11.0pt" lang="en-US"><span style="font-family: "Microsoft Yahei";">Dear FLASH users,</span></p><p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">When
simulating the laserslab case, I wanted to simulate the interaction between 2D spherical and laser. So, I modified the
following code in simulation_initBlock.F90.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> if (sim_initGeom == "slab") then</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> if(NDIM == 1) then</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> if ( xcent(i) <=
sim_targetHeight + sim_vacuumHeight .and. &</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> xcent(i) >=
sim_vacuumHeight ) then</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> species = TARG_SPEC</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> end if </span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> elseif(NDIM == 2 .or. NDIM == 3)
then</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> if ( xcent(i) <=
sim_targetRadius .and. &</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> ycent(j) <=
sim_targetHeight + sim_vacuumHeight .and. &</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> ycent(j) >=
sim_vacuumHeight ) then</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> species = TARG_SPEC</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> end if</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> end if</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> else</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> if (sqrt((xcent(i)-sim_targetHeight)**2+(ycent(j)-sim_vacuumHeight)**2)<=
sim_targetRadius) then</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> species = TARG_SPEC</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> end if</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> end if</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">The
variables "sim_targetHeight" and "sim_vacuumHeight" correspond to the center position of the 2D
spherical, and I defined them in flash.par as follows.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">##############################</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"># #</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"># INITIAL CONDITIONS #</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"># #</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">##############################</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">sim_initGeom ==
"sphere"</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">sim_targetRadius =
20.0e-04</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">sim_targetHeight =
20.0e-04</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">sim_vacuumHeight =
60.0e-04</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> </span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">However,
when inspecting the results, I noticed that the expected circular shape did not
appear in the domain; the laser simply passed through. Does anyone know how I
can modify this, or could someone advise me on how to simulate the interaction
between 2D spherical and laser?
Any suggestion helps.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";"> </span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt" lang="en-US"><span style="font-family: "Microsoft Yahei";">Shen</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt" lang="en-US"><span style="font-family: "Microsoft Yahei";">--</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt" lang="en-US"><span style="font-family: "Microsoft Yahei";">Shen
WenHao</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11.0pt"><span style="font-family: "Microsoft Yahei";">University of the
Chinese Academy of Sciences</span></p><br></div>