<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div><font size="4">Hello Flash users</font></div><div><font size="4">I implemented a problem in flash about mhd (Annex Torrilhon) from BrioWu files.</font><span style="font-size: 16pt;">. I thought I had to just change the <i>flash.par</i> and <i>config.par</i> files, however the graphics only converged to the exact solution when I made the following changes (in bold) :</span></div><div><font size="4"><br><br><b>Simulation_init Line 93-98</b><br></font><div><font size="4">elseif (NDIM .eq. 2) then</font><span style="font-size: 16pt;"> </span></div><div><font size="4"> <i> </i></font><span style="color: rgb(38, 114, 236); font-size: 16pt;">!sim_ycos = sqrt(1. - sim_xcos*sim_xcos) ! </span><b style="color: rgb(38, 114, 236); font-size: large;">CONFIG ORIGINAL</b><span style="color: rgb(38, 114, 236); font-size: 16pt;"> </span></div><div><font size="4" color="#2672ec"> !sim_zcos = 0.! <b>CONFIG ORIGINAL</b></font></div></div><div><div><font size="4"> <b>sim_ycos =0. </b></font></div><div><font size="4"><b> sim_zcos = 1.</b></font></div></div><div><br></div><div><br></div><div><font size="4"><b>Simulation_initBlock Line 141-146</b></font></div><div><div><font size="4">!Initialize cells to the left of the initial shock.</font></div><div><font size="4"> if (xxR .le. lposn) then</font></div><div><font size="4"> solnData(DENS_VAR,i,j,k) = sim_rhoLeft</font></div><div><font size="4"> solnData(PRES_VAR,i,j,k) = sim_pLeft</font></div><div><font size="4"> solnData(VELX_VAR,i,j,k) = sim_uLeft * sim_xcos</font></div><div><span style="color: rgb(38, 114, 236); font-size: 16pt;"> </span><font size="4"><span style="color: rgb(38, 114, 236);"> </span></font><font color="#2672ec" style="font-size: large;"> solnData(VELY_VAR,i,j,k) = sim_vLeft * sim_ycos ! <b>CONFIG ORIGINAL</b></font></div><div><font color="#2672ec" size="4"><b> </b></font><font size="4"><b>solnData(VELY_VAR,i,j,k) = sim_vLeft</b></font></div><div><font size="4"> solnData(VELZ_VAR,i,j,k) = sim_wLeft * sim_zcos</font></div></div><div><br></div><div><br></div><div><br></div><div><div><font size="4">Someone had any problems like that? It is normal to have to change the configuration in simulation_init and simulation_initblock files to implement new problems?</font></div><div><font size="4"><br></font></div><div><font size="4">This may be a bug in Flash?</font></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div> </div></body>
</html>