<div dir="ltr">Dear Nitish,<div><br></div><div>I've used viscosity in FLASH via the Diffuse/DiffuseFluxBased/Diffuse_visc.F90 routine, which modifies the fluxes out of the Riemann solver and before the conservative update (with the split PPM hydro solver, but it should hopefully work with other solvers too). The viscosity is input via the materialProperties/Viscosity module. It has worked quite well for me after some customization to the problem at hand (e.g., viscous fluxes at boundaries, which you need to set by hand, etc.). </div><div><br></div><div>Best,</div><div><br></div><div>Rodrigo</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 11, 2020 at 7:01 PM Acharya, Nitish <<a href="mailto:nachary2@ur.rochester.edu">nachary2@ur.rochester.edu</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 style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:11pt">Hi everyone,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:11pt">I figured FLASH solves only the non-viscous Euler equations for simulating HED experiments. I plan to solve a complete Navier Stokes Equation for a Laserslab problem by
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255);display:inline">
explicitly </span>defining a constant viscosity coefficient for materials. From what I understand, I might have to add a viscous term in the momentum equation and modify the hydro unit in FLASH. How convenient is it to implement this? What should be the general
approach to add this extra term in the hydro solver? I would really appreciate any sort of help here?</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:11pt">Thanks,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:11pt">Nitish</span></div>
<div>
<div id="gmail-m_-3036118920277058870Signature">
<div>
<div id="gmail-m_-3036118920277058870divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">---------------------------</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Nitish Acharya</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">PhD Student</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Department of Mechanical Engineering</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">University of Rochester</span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>