-
Notifications
You must be signed in to change notification settings - Fork 26
Esther Hydrocode Tutorial
User tutorial / information for the hydrocode simulations package of Simex, currently utilising the Esther 1-D hydrocode program (that can be obtained upon request).
- Introduction
- Parameters
- How to create a new experiment
The Esther hydrocode SIMEX package consists of the following python scripts:
- Calculators/EstherExperimentConstruction.py
- Calculators/EstherPhotonMatterInteractor.py
- Parameters/EstherPhotonMatterInteractorParameters.py
- Utilities/RadHydroAnalysis.py
- Utilities/hydro_txt_to_opmd.py
The current version allows the creation of simple target configurations, as described above. The parameters can be set for the first time using the EstherExperimentConstruction.py calculator, which calls upon the parameters class to create the Esther input file.
The materials currently available are listed below with their long name; the long name must be used when setting the material choice (e.g. sample="Iron").
- Aluminium
- Berylium
- CH
- Chromium
- Cobalt
- Copper
- Diamond
- Gold
- Iron
- Iron2*
- Kapton
- Lead
- LiF
- Magnesium
- Molybdenum
- Mylar
- Nickel
- Quartz
- Silicon
- SiliconOxide
- Silver
- Tantalum
- Tin
- Titanium
- Tungsten
- Vanadium
- Water
*2 sesame EOS tables exist for iron.
Parameters are set using the EstherPhotonMatterInteractorParameters.py class
parameters = EstherPhotonMatterInteractorParameters(
number_of_layers={2,3}
ablator={“CH”,”Diamond”,”Kapton”,”Aluminium”}
ablator_thickness={20,50}
sample=”Iron”{Choose from list above}
sample_thickness={4,25}
window={None,”LiF”,”Quartz”}
window_thickness={50,500}
laser_wavelength={1064,527}
laser_pulse={“Flat”,”Ramp”}
laser_pulse_duration={4,20}
laser_intensity={0.1,10}
run_time={5,20}
delta_time={0.01,0.05}
)
An experiment constructor class EstherExperimentConstruction.py exists to store parameters for reuse in iterations of code. This allows quick changes to certain parameters and each input file is saved to user folder.
simName = "Fe-example"
experiment = EstherExperimentConstruction(parameters=parameters,
esther_sims_path=self._simdir,sim_name=simName)
The self._simdir must be set at the start and should contain the root folder for simulation storage.
The EstherExperimentConstruction.py then calls the EstherPhotonMatterInteractor.py class, which serializes and saves all the relevant input files.