[FLASH-USERS] Simple 1D LaserSlab

Thibault Goudal thibault.goudal at u-bordeaux.fr
Tue Dec 15 04:59:23 EST 2020


Hello once again, 

To correct the previous mail, the setup was actually correct for running a perfect gas. 
In a multiTemp model, the perfect gas equation I wrote down was innacurate. 
The equation should take into account the contribution of both populations: 

(assuming that the effect of Trad is negligible) 

With this corrected formula, the output pressure and the calculated one match perfectly. 

Still, I would like to run my case with a 1-Temperature model. 

Sorry for the previous mail, no problem with the .par inputs for a perfect gas. 

Thibault G 


De: "Thibault Goudal" <thibault.goudal at u-bordeaux.fr> 
À: "flash-users" <flash-users at flash.uchicago.edu> 
Envoyé: Lundi 14 Décembre 2020 23:14:49 
Objet: Simple 1D LaserSlab 

Hi everyone, 
I would like to benchmark with FLASH an analytical code I've just developed with some hypotheses. Here is the plot: 
I would like to run a 1D cartesian LaserSlab example with a monoatomic perfect gas without any radiative effect and a 1-Temperature model (Ti=Te, very simple) 

I tried to keep the "basic" laserSlab example: 

I. setup line : 

./setup -auto LaserSlab -1d -nxb=16 +hdf5typeio species=cham,targ +laser +uhd3t +mtmmmt 
(I would like to keep two species so I think that +mtmmmt is essential even in 1T, +uhd3t is maybe not what I want to use in the 1Temp case) 



II. Specific parameters in .par : 

rt_useMGD = .false. 
useOpacity = .false. 
diff_useRadDiffusion = .false. 

#EOS section 
ms_targgamma = 1.666667 
eos_targEosType = "eos_gam" 


I compare the output pressure from the code and the one given by the perfect gas relation formed with the temperature: 


I cannot identify the two pressures. 
I concluded that what I set as a perfect gas in the flash.par was maybe not that perfect... 

Do you have any idea of such a behaviour? 

Thanks 




-- 
Thibault Goudal 
PhD Student CEA 
CELIA CNRS UMR5107 laboratory 
+33664160842 
thibault.goudal at u-bordeaux.fr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20201215/229eb5fd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1272933
Type: image/png
Size: 1055 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20201215/229eb5fd/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 152782
Type: image/png
Size: 1734 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20201215/229eb5fd/attachment-0003.png>


More information about the flash-users mailing list