<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin: 0;">dear the flash developers</p><p style="margin: 0;"> i am a new learner of flash. i have learned how to run the laserslab example and it runs well.</p><p style="margin: 0;">now i want to change the target configuration(show in the figure). the target is al and foams and the interface of al and foam is sinusoidal modulation.</p><p style="margin: 0;">could you give me any advices on how to achieve it</p>
<div><br></div><p class="MsoNormal"><span lang="EN-US">Yours <o:p></o:p></span></p><p style="margin: 0;">
</p><p class="MsoNormal"><span lang="EN-US">Hua Shu<o:p></o:p></span></p><p style="margin: 0;"><br></p><p style="margin: 0;"><img src="cid:32f5f4df$1$189f2ea23e8$Coremail$shuhua1979$163.com" orgwidth="607" orgheight="648" data-image="1" style="width: 607px; height: 648px; border: none;"></p><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2023-05-24 21:28:26, "Ryan Farber" <rjfarber@umich.edu> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Hi Hua Shu,<div><br></div><div>I'd suggest reading the user guide (available here: <a href="https://flash.rochester.edu/site/flashcode/user_support/">https://flash.rochester.edu/site/flashcode/user_support/</a>) which has a wealth of information.</div><div><br></div><div>To your question, you can modify your problem set up by navigating to the problem directory. For LaserSlab that's located:</div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">${FLASH_DIR}/FLASH4.7/source/Simulation/SimulationMain/LaserSlab/</span></p><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><br></div><div>Then, modify Simulation_initBlock.F90 in your preferred text editor. In particular you probably want to modify these lines:</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">if</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> (sim_initGeom == </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">"slab"</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">) </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">if</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(NDIM == </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">1</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">) </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">if</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> ( xcent(i) <= sim_</span><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(224,228,9)">target</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Height + sim_vacuumHeight .and. </span><span class="gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,215,216)">&</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>xcent(i) >= sim_vacuumHeight ) </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>species = TARG_SPEC</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">end if</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">elseif</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(NDIM == </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">2</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> .or. NDIM == </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">3</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">) </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">if</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> ( xcent(i) <= sim_</span><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(224,228,9)">target</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Radius .and. </span><span class="gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,215,216)">&</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>ycent(j) <= sim_</span><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(224,228,9)">target</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Height + sim_vacuumHeight .and. </span><span class="gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(254,215,216)">&</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>ycent(j) >= sim_vacuumHeight ) </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>species = TARG_SPEC</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">end if</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">end if</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">else</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">if</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> (</span><span class="gmail-s6" style="font-variant-ligatures:no-common-ligatures;color:rgb(50,244,241)"><b>sqrt</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(xcent(i)**</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">2</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">+ycent(j)**</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">2</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">+zcent(k)**</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(251,30,255)">2</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">)<= sim_</span><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(224,228,9)">target</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Radius) </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">then</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>species = TARG_SPEC</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">end if</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(235,239,24)">end if</span></p></div><div dir="ltr"><br></div><div>I'm not quite sure what you mean by a ripple target. Maybe instead of a spherical/cylindrical selection just add some sines and cosines?</div><div dir="ltr"><br></div><div>Best,</div><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 24, 2023 at 4:36 AM shuhua <<a href="mailto:shuhua1979@163.com">shuhua1979@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><blockquote id="m_7212392760386854766isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">dear flash developers.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">i am learning the flash software. i have download flash4.7 and have run LaserSlab, everything is ok.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">now i have a question , how can i change the target configuration ? for example a ripple target?</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">look forward to your reply </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">yours</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hua shu</blockquote></div>
</blockquote></div></blockquote></div>
</blockquote></div>