This source allows the user to read in data from a SESAME table and then compute energy, pressure, density, temperature and conductivity. SESAME tables can be obtained from Los Alamos National Laboratory (SESAME link). Alternatively the SESAME format can be used to create your own tables. Tables specify an equation of state (EOS) for energy, pressure, conductivities and opacity as a function of temperature and density. To solve for temperature or density as a function of the EOS table value an inverse operation must be applied. This operation holds the input temperature or density constant and assumes the EOS table data is a monotonic function of the dependent variables (density and temperature). If these assumptions do not hold, incorrect results may be produced.
A note on units. Units in USim are all MKS units. However, the SESAME tables use alternative units. These units are converted to MKS by USim. This is important if one writes their own SESAME tables. The ability to specify custom unit conversion factors is available as an optional input.
Before running any case using the SESAME EOS tables, it is prudent to make basic sanity checks by running a modified version of the verifyEOSTable example with the specific SESAME table that is intended for use.
filename
(string, required)operations
(string vector, required)The operation(s) to be performed. The standard direct operation is “computeEOSTableFromTemperatureAndDensity” where “EOSTable” is computed from the SESAME tables and should be replaced by one of the following values (the first word of each option should be used, the remainder offers a brief description and the default units after conversion):
Tables 301, and 303-306, which are decomposed into energy, freeenergy and pressure above are described as follows:
To compute an inverse operation, simply permute the string to be “computeTemperatureFromEOSTableAndDensity” or “computeDensityFromTemperatureAndEOSTable”. The input is not case sensitive.
materialID
(int, required)useParticleDensity
(int, optional)speciesMass
(float, optional)fixRanges
(int vector, options)logInterpolation
(int vector, optional)densityConversionCoefficient
(float, optional)temperatureConversionCoefficient
(float, optional)conversionCoefficients
(float vector, optional)in
(string vector, required)
input variables
(nodalArray, 1-component each, 2 required)The specific input variables and order depend on the operations input option. For direct EOS evaluation, the input variables should be in = [temperature, density]. The order is critical where temperature must be the first input and density must be the second input. For inverse operations, the temperature, if an input, must be the first input and the density, if an input, must be the second input. The EOS input should be placed in the correspondingly empty input location. Inputs are of type nodalArray with one component each.
out
(string vector, required)
output variables
(nodalArray, 1-component each, required)The number of out variables should be the same as the number of entries into the list of operations. The result of each operation will be placed into the corresponding output variable, respectively. Outputs are of type nodalArray with one component each.
<Updater computeEOS>
kind=equation2d
onGrid=domain
in=[temperature, density]
out=[energy, pressure]
<Equation thisGas>
kind=sesameVariables
filename=sesame.ses
materialID=58501
operations=["compute301EnergyFromDensityAndTemperature", \
"compute301PressureFromDensityAndTemperature"]
</Equation>
</Updater>