moltres
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NuclearMaterial Class Reference

#include <NuclearMaterial.h>

Inheritance diagram for NuclearMaterial:
[legend]

Public Types

enum  INTERPOLATOR {
  BICUBIC , SPLINE , MONOTONE_CUBIC , LINEAR ,
  NONE , LSQ
}
 

Public Member Functions

 NuclearMaterial (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 
static MooseEnum interpTypes ()
 

Protected Member Functions

virtual void dummyComputeQpProperties ()
 
virtual void splineComputeQpProperties ()
 
virtual void monotoneCubicComputeQpProperties ()
 
virtual void linearComputeQpProperties ()
 
virtual void preComputeQpProperties ()
 

Protected Attributes

const VariableValue & _temperature
 
unsigned int _num_groups
 
unsigned int _num_precursor_groups
 
MaterialProperty< std::vector< Real > > & _remxs
 
MaterialProperty< std::vector< Real > > & _fissxs
 
MaterialProperty< std::vector< Real > > & _nsf
 
MaterialProperty< std::vector< Real > > & _fisse
 
MaterialProperty< std::vector< Real > > & _diffcoef
 
MaterialProperty< std::vector< Real > > & _recipvel
 
MaterialProperty< std::vector< Real > > & _chi_t
 
MaterialProperty< std::vector< Real > > & _chi_p
 
MaterialProperty< std::vector< Real > > & _chi_d
 
MaterialProperty< std::vector< Real > > & _gtransfxs
 
MaterialProperty< std::vector< Real > > & _beta_eff
 
MaterialProperty< Real > & _beta
 
MaterialProperty< std::vector< Real > > & _decay_constant
 
MaterialProperty< std::vector< Real > > & _d_remxs_d_temp
 
MaterialProperty< std::vector< Real > > & _d_fissxs_d_temp
 
MaterialProperty< std::vector< Real > > & _d_nsf_d_temp
 
MaterialProperty< std::vector< Real > > & _d_fisse_d_temp
 
MaterialProperty< std::vector< Real > > & _d_diffcoef_d_temp
 
MaterialProperty< std::vector< Real > > & _d_recipvel_d_temp
 
MaterialProperty< std::vector< Real > > & _d_chi_t_d_temp
 
MaterialProperty< std::vector< Real > > & _d_chi_p_d_temp
 
MaterialProperty< std::vector< Real > > & _d_chi_d_d_temp
 
MaterialProperty< std::vector< Real > > & _d_gtransfxs_d_temp
 
MaterialProperty< std::vector< Real > > & _d_beta_eff_d_temp
 
MaterialProperty< Real > & _d_beta_d_temp
 
MaterialProperty< std::vector< Real > > & _d_decay_constant_d_temp
 
MooseEnum _interp_type
 
std::vector< std::string > _xsec_names
 
std::map< std::string, std::vector< std::vector< Real > > > _xsec_map
 
std::map< std::string, std::vector< SplineInterpolation > > _xsec_spline_interpolators
 
std::map< std::string, std::vector< MonotoneCubicInterpolation > > _xsec_monotone_cubic_interpolators
 
std::map< std::string, std::vector< LinearInterpolation > > _xsec_linear_interpolators
 
std::map< std::string, std::vector< BicubicSplineInterpolation > > _xsec_bicubic_spline_interpolators
 
std::map< std::string, int > _vec_lengths
 
std::vector< double > _XsTemperature
 
std::vector< std::vector< Real > > _remxs_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _fissxs_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _nubar_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _nsf_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _fisse_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _diffcoeff_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _recipvel_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _chi_t_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _chi_p_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _chi_d_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _gtransfxs_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _beta_eff_consts = std::vector<std::vector<Real>>(2)
 
std::vector< std::vector< Real > > _decay_constants_consts = std::vector<std::vector<Real>>(2)
 

Detailed Description

This class hinges on the interp_type chosen by the user. The user can choose from the following interpolation types:

"normal interpolations" bicubic_spline : used when cross section is a function of two different temperatures (say fuel and moderator). Performs bicubic spline interpolation. Example input property table: property_file_dir/msr2g_Th_U_two_mat_homogenization_fuel_interp_NSF.txt spline : cubic spline interpolation for single temperature. Example input property table: property_file_dir/newt_msre_fuel_NSF.txt monotone_cubic : monotone cubic interpolation for single temperature. Same input property table structure as spline linear : linear interpolation for single temperature. Same input property table structure as spline

"special interpolations" none : no interpolation is done. The cross section value for each group is read from the first temperature row in the interpolation table least_squares : user should have performed a linear least squares fit on cross section data and should supply interpolation table with each row corresponding to energy group. Each row should have two columns corresponding to 'a' and 'b' where xsec(T) = a * T + b

Member Enumeration Documentation

◆ INTERPOLATOR

Enumerator
BICUBIC 
SPLINE 
MONOTONE_CUBIC 
LINEAR 
NONE 
LSQ 

Constructor & Destructor Documentation

◆ NuclearMaterial()

NuclearMaterial::NuclearMaterial ( const InputParameters &  parameters)

Member Function Documentation

◆ dummyComputeQpProperties()

void NuclearMaterial::dummyComputeQpProperties ( )
protectedvirtual

◆ interpTypes()

static MooseEnum NuclearMaterial::interpTypes ( )
inlinestatic

◆ linearComputeQpProperties()

void NuclearMaterial::linearComputeQpProperties ( )
protectedvirtual

◆ monotoneCubicComputeQpProperties()

void NuclearMaterial::monotoneCubicComputeQpProperties ( )
protectedvirtual

◆ preComputeQpProperties()

void NuclearMaterial::preComputeQpProperties ( )
protectedvirtual

◆ splineComputeQpProperties()

void NuclearMaterial::splineComputeQpProperties ( )
protectedvirtual

◆ validParams()

InputParameters NuclearMaterial::validParams ( )
static

Member Data Documentation

◆ _beta

MaterialProperty<Real>& NuclearMaterial::_beta
protected

◆ _beta_eff

MaterialProperty<std::vector<Real> >& NuclearMaterial::_beta_eff
protected

◆ _beta_eff_consts

std::vector<std::vector<Real> > NuclearMaterial::_beta_eff_consts = std::vector<std::vector<Real>>(2)
protected

◆ _chi_d

MaterialProperty<std::vector<Real> >& NuclearMaterial::_chi_d
protected

◆ _chi_d_consts

std::vector<std::vector<Real> > NuclearMaterial::_chi_d_consts = std::vector<std::vector<Real>>(2)
protected

◆ _chi_p

MaterialProperty<std::vector<Real> >& NuclearMaterial::_chi_p
protected

◆ _chi_p_consts

std::vector<std::vector<Real> > NuclearMaterial::_chi_p_consts = std::vector<std::vector<Real>>(2)
protected

◆ _chi_t

MaterialProperty<std::vector<Real> >& NuclearMaterial::_chi_t
protected

◆ _chi_t_consts

std::vector<std::vector<Real> > NuclearMaterial::_chi_t_consts = std::vector<std::vector<Real>>(2)
protected

◆ _d_beta_d_temp

MaterialProperty<Real>& NuclearMaterial::_d_beta_d_temp
protected

◆ _d_beta_eff_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_beta_eff_d_temp
protected

◆ _d_chi_d_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_chi_d_d_temp
protected

◆ _d_chi_p_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_chi_p_d_temp
protected

◆ _d_chi_t_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_chi_t_d_temp
protected

◆ _d_decay_constant_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_decay_constant_d_temp
protected

◆ _d_diffcoef_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_diffcoef_d_temp
protected

◆ _d_fisse_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_fisse_d_temp
protected

◆ _d_fissxs_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_fissxs_d_temp
protected

◆ _d_gtransfxs_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_gtransfxs_d_temp
protected

◆ _d_nsf_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_nsf_d_temp
protected

◆ _d_recipvel_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_recipvel_d_temp
protected

◆ _d_remxs_d_temp

MaterialProperty<std::vector<Real> >& NuclearMaterial::_d_remxs_d_temp
protected

◆ _decay_constant

MaterialProperty<std::vector<Real> >& NuclearMaterial::_decay_constant
protected

◆ _decay_constants_consts

std::vector<std::vector<Real> > NuclearMaterial::_decay_constants_consts = std::vector<std::vector<Real>>(2)
protected

◆ _diffcoef

MaterialProperty<std::vector<Real> >& NuclearMaterial::_diffcoef
protected

◆ _diffcoeff_consts

std::vector<std::vector<Real> > NuclearMaterial::_diffcoeff_consts = std::vector<std::vector<Real>>(2)
protected

◆ _fisse

MaterialProperty<std::vector<Real> >& NuclearMaterial::_fisse
protected

◆ _fisse_consts

std::vector<std::vector<Real> > NuclearMaterial::_fisse_consts = std::vector<std::vector<Real>>(2)
protected

◆ _fissxs

MaterialProperty<std::vector<Real> >& NuclearMaterial::_fissxs
protected

◆ _fissxs_consts

std::vector<std::vector<Real> > NuclearMaterial::_fissxs_consts = std::vector<std::vector<Real>>(2)
protected

◆ _gtransfxs

MaterialProperty<std::vector<Real> >& NuclearMaterial::_gtransfxs
protected

◆ _gtransfxs_consts

std::vector<std::vector<Real> > NuclearMaterial::_gtransfxs_consts = std::vector<std::vector<Real>>(2)
protected

◆ _interp_type

MooseEnum NuclearMaterial::_interp_type
protected

◆ _nsf

MaterialProperty<std::vector<Real> >& NuclearMaterial::_nsf
protected

◆ _nsf_consts

std::vector<std::vector<Real> > NuclearMaterial::_nsf_consts = std::vector<std::vector<Real>>(2)
protected

◆ _nubar_consts

std::vector<std::vector<Real> > NuclearMaterial::_nubar_consts = std::vector<std::vector<Real>>(2)
protected

◆ _num_groups

unsigned int NuclearMaterial::_num_groups
protected

◆ _num_precursor_groups

unsigned int NuclearMaterial::_num_precursor_groups
protected

◆ _recipvel

MaterialProperty<std::vector<Real> >& NuclearMaterial::_recipvel
protected

◆ _recipvel_consts

std::vector<std::vector<Real> > NuclearMaterial::_recipvel_consts = std::vector<std::vector<Real>>(2)
protected

◆ _remxs

MaterialProperty<std::vector<Real> >& NuclearMaterial::_remxs
protected

◆ _remxs_consts

std::vector<std::vector<Real> > NuclearMaterial::_remxs_consts = std::vector<std::vector<Real>>(2)
protected

◆ _temperature

const VariableValue& NuclearMaterial::_temperature
protected

◆ _vec_lengths

std::map<std::string, int> NuclearMaterial::_vec_lengths
protected

◆ _xsec_bicubic_spline_interpolators

std::map<std::string, std::vector<BicubicSplineInterpolation> > NuclearMaterial::_xsec_bicubic_spline_interpolators
protected

◆ _xsec_linear_interpolators

std::map<std::string, std::vector<LinearInterpolation> > NuclearMaterial::_xsec_linear_interpolators
protected

◆ _xsec_map

std::map<std::string, std::vector<std::vector<Real> > > NuclearMaterial::_xsec_map
protected

◆ _xsec_monotone_cubic_interpolators

std::map<std::string, std::vector<MonotoneCubicInterpolation> > NuclearMaterial::_xsec_monotone_cubic_interpolators
protected

◆ _xsec_names

std::vector<std::string> NuclearMaterial::_xsec_names
protected
Initial value:
{"REMXS",
"FISSXS",
"NSF",
"FISSE",
"DIFFCOEF",
"RECIPVEL",
"CHI_T",
"CHI_P",
"CHI_D",
"GTRANSFXS",
"BETA_EFF",
"DECAY_CONSTANT"}

◆ _xsec_spline_interpolators

std::map<std::string, std::vector<SplineInterpolation> > NuclearMaterial::_xsec_spline_interpolators
protected

◆ _XsTemperature

std::vector<double> NuclearMaterial::_XsTemperature
protected

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