<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>