<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi Antoine,<div><br></div><div>This ed_cellNele is set in ed_blockData1DRec.F90, so perhaps you could edit this routine to use your FOAM_VAR.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 3, 2021 at 11:12 AM Antoine Gintrand <<a href="mailto:antoine.gintrand@gmail.com">antoine.gintrand@gmail.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 dir="ltr"><div>Dear flash users,<br></div><div><br></div><div>I have a question regarding the file ed_traceBlockRays1DRec.F90</div><div>where the energy deposition is performed in 1D.</div><div><br></div><div>I have implemented a new variable in a new physical module</div><div>to take into account the fact that my material has a foam </div><div>structure with a new variable solnData(FOAM_VAR,i,j,k)</div><div>and I want to use it to change the absorption of the cell </div><div>in the energy deposition according to </div><div>the value of this new variable state of the cell.</div><div><br></div><div>So, I want to know how the electron numerical density Nele (for example)</div><div>is used in
ed_traceBlockRays1DRec.F90 in order to do the same with </div><div>my new variable FOAM.</div><div><br></div><div>I can see that at some point we use in this file ed_cellNele ( i, 1, 1)</div><div>where i is the position of the cell crossed by the ray.</div><div>This array
ed_cellNele comes from the EnergyDeposition_data.F90 file.</div><div>if I print it during the simulation it shows the right value of the electron density.</div><div><br></div><div>However I do not understand how this variable takes the value from </div><div>the density solnData(DENS_VAR,i,j,k) of the cell ? In other words, I would like </div><div>to know where in the code we do something like
ed_cellNele = ???</div><div><br></div><div>Thank you so much for any suggestions,</div><div><br></div><div>Best regards,</div><div><br></div><div>Antoine</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Eddie Hansen, PhD<br>Postdoctoral Associate</div><div>University of Rochester</div><div>607-341-6126 | Flash Center</div></div></div>