MaterialSpeciesData< number > Struct Template Reference

Developer Documentation: MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number > Struct Template Reference
Developer Documentation
MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number > Struct Template Reference

Collection of material parameters for a specific species. More...

#include <material.hpp>

Public Member Functions

void add_parameters (dealii::ParameterHandler &prm, const unsigned species_number)
 

Public Attributes

number specific_isobaric_heat = 1000.0
 Specific isobaric heat (SI: J/(kg K))
 
number dynamic_viscosity = 1. / 1600.
 Dynamic viscosity (SI: kg/(m s))
 
number gamma = 1.4
 
number specific_gas_constant = 287.1
 Specific gas constant (SI: J/(kg K))
 
number thermal_conductivity = std::numeric_limits<number>::max()
 Thermal conductivity (SI: W/(m K))
 
EOSData< number > eos_data
 Data for the equation of state.
 
number molar_mass = std::numeric_limits<number>::max()
 Molar mass of the species.
 
std::string name = "species"
 

Private Member Functions

void add_parameters (dealii::ParameterHandler &prm)
 

Detailed Description

template<typename number>
struct MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >

Collection of material parameters for a specific species.

Member Function Documentation

◆ add_parameters() [1/2]

template<typename number >
void MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::add_parameters ( dealii::ParameterHandler &  prm)
private

Add material parameters for the species in the parameter handler without a subsection.

Parameters
prmThe parameter handler to which the parameters are added.

◆ add_parameters() [2/2]

template<typename number >
void MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::add_parameters ( dealii::ParameterHandler &  prm,
const unsigned  species_number 
)

Add material parameters for the species in the parameter handler.

Parameters
prmThe parameter handler to which the parameters are added.
species_numberThe number of the species for which the parameters are added. This is used to read the corresponding subsections for each species in the input file.
Note
For single-species simulations, the parameters can be read in with or without a subsection. For multi-species simulations, the parameters must be read in with a subsection for each species. This is done for backward compatibility with previous input files and to avoid the need to add a subsection for single-species simulations.

Member Data Documentation

◆ dynamic_viscosity

template<typename number >
number MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::dynamic_viscosity = 1. / 1600.

Dynamic viscosity (SI: kg/(m s))

◆ eos_data

template<typename number >
EOSData<number> MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::eos_data

Data for the equation of state.

◆ gamma

template<typename number >
number MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::gamma = 1.4

Ratio of specific heat (specific heat at constant pressure divided by specific heat at constant volume)

◆ molar_mass

template<typename number >
number MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::molar_mass = std::numeric_limits<number>::max()

Molar mass of the species.

◆ name

template<typename number >
std::string MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::name = "species"

◆ specific_gas_constant

template<typename number >
number MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::specific_gas_constant = 287.1

Specific gas constant (SI: J/(kg K))

◆ specific_isobaric_heat

template<typename number >
number MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::specific_isobaric_heat = 1000.0

Specific isobaric heat (SI: J/(kg K))

◆ thermal_conductivity

template<typename number >
number MeltPoolDG::CompressibleFlow::MaterialSpeciesData< number >::thermal_conductivity = std::numeric_limits<number>::max()

Thermal conductivity (SI: W/(m K))


The documentation for this struct was generated from the following files: