[FLASH-USERS] Setting of average atomic mass

Hansen, Eddie ehansen at pas.rochester.edu
Thu Jun 2 11:30:29 EDT 2022


Try commenting out or removing these lines from the Config:
REQUIRES physics/Eos/EosMain/Gamma
REQUIRES Multispecies

Redo ./setup with ‘+mtmmmt’ in your setup command, and re-compile. Then those A, Z, and Gamma parameters should work for all your species.

--
Eddie Hansen
Research Scientist
Flash Center for Computational Science

From: flash-users <flash-users-bounces at flash.rochester.edu> on behalf of pchang <pchang at mail.ncku.edu.tw>
Date: Thursday, June 2, 2022 at 10:18 AM
To: Andy Sha Liao <andy at f.energy>
Cc: flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
Subject: Re: [FLASH-USERS] Setting of average atomic mass

Hi Andy,

I tried to follow LaserSlab example and I can create three materials "CDN", "GasR", "GasB". In the log file, I do see the Multifluid database contents.

Initially defined values of species:
Name     Index          Total   Positive  Neutral   Negative  bind Ener Gamma   eosType
cdn         13       2.70E+01  1.30E+01 -9.99E+02 -9.99E+02 -9.99E+02  1.40E+00   321
gasb        14       4.00E+00  2.00E+00 -9.99E+02 -9.99E+02 -9.99E+02  1.67E+00   321
gasr        15       4.00E+00  2.00E+00 -9.99E+02 -9.99E+02 -9.99E+02  1.67E+00   321

In the export file, I also have three materials occupying at the right locations. However, I found that it still uses the global "gamma", not ms_CDNGamma, ms_GasBGamma, ms_GasRGamma. Also, it still uses A=1 for calculating the pressure from given density and temperature.

In the Config file, I have:

REQUIRES physics/Hydro
REQUIRES physics/Eos/EosMain/Gamma
REQUIRES Multispecies

I couldn't figure out why the ms_CDNA, ms_GasBA, and ms_GasRA are not used in the program. Any suggestions? Thank you.

Best,

Po-Yu
Andy Sha Liao 於 2022/5/30 下午 09:46 寫道:
Po-Yu Chang,


I recommend that you study the LaserSlab example and then build your simulations from that example.

LaserSlab uses the Multispecies unit where you can set materials, e.g., argon, so you can study how they interact to apply to your own problem.


Andy




On Sun, May 29, 2022 at 1:35 PM Po-Yu Chang <pchang at mail.ncku.edu.tw<mailto:pchang at mail.ncku.edu.tw>> wrote:
Hi all,

I am simulating a pure hydrodynamic problem at this point. Therefore, I
modified the example "FlatPlate" for my simulations. In that example, I
specified the pressure and the density of the gas. Then, the temperature
is calculated somewhere in the program. I found that the average atomic
mass is A=1. However, I would like to simulate an Argon gas, i.e., A=40,
but I couldn't find a place to define the average atomic mass. Do anyone
know how I can define the average atomic mass? Thank you.

Cheers,

Po-Yu

--
Po-Yu Chang
Assistant Professor
Institute of Space and Plasma Sciences (ISAPS)
National Cheng Kung University (NCKU)
No.1, University Road,
Tainan City 70101, Taiwan
(TEL) +886-6-2757575 ext. 65916
pchang at mail.ncku.edu.tw<mailto:pchang at mail.ncku.edu.tw>
http://capst.ncku.edu.tw/PGS/

_______________________________________________
flash-users mailing list
flash-users at flash.rochester.edu<mailto:flash-users at flash.rochester.edu>

For list info, including unsubscribe:
https://flash.rochester.edu/mailman/listinfo/flash-users

--

Po-Yu Chang

Assistant Professor

Institute of Space and Plasma Sciences (ISAPS)

National Cheng Kung University (NCKU)

No.1, University Road,

Tainan City 70101, Taiwan

(TEL) +886-6-2757575 ext. 65916

pchang at mail.ncku.edu.tw<mailto:pchang at mail.ncku.edu.tw>

http://capst.ncku.edu.tw/PGS/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20220602/6deade76/attachment.htm>


More information about the flash-users mailing list