Class System

Inheritance Relationships

Base Type

Class Documentation

class System : public virtual Material

Class derived from Material to include the properties that depend on both the fission gas and the fuel matrix.

Author

G. Zullo

Author

F. Bastien

Public Functions

void setRestructuredMatrix(bool y)

Sets the matrix restructuring status.

Parameters:

y – True if the matrix is restructured, false otherwise.

bool getRestructuredMatrix()

Gets the restructuring status of the matrix.

Returns:

True if the matrix is restructured, false otherwise.

void setYield(double y)

Sets the cumulative yield of the fission gas.

Parameters:

y – Yield to set (atoms per fission).

double getYield()

Gets the cumulative yield of the fission gas.

Returns:

Yield of the gas (atoms per fission).

void setRadiusInLattice(double r)

Sets the radius of the fission gas atom in the matrix lattice.

Parameters:

r – Radius to set (meters).

double getRadiusInLattice()

Gets the radius of the fission gas atom in the matrix lattice.

Returns:

Radius of the gas atom (meters).

void setGas(Gas g)

Sets the name of the gas.

Parameters:

n – Name of the gas to set.

Gas getGas()
std::string getGasName()

Gets the name of the gas.

Returns:

Name of the gas.

void setMatrix(Matrix m)

Sets the name of the matrix.

Parameters:

n – Name of the matrix to set.

Matrix getMatrix()
std::string getMatrixName()

Gets the name of the matrix.

Returns:

Name of the matrix.

double getVolumeInLattice()

Gets the volume occupied by the gas in the matrix.

Returns:

Volume occupied by the gas.

void setVolumeInLattice(double v)

Sets the volume occupied by the gas in the matrix.

Parameters:

v – Volume to set.

void setBubbleDiffusivity(int input_value, SciantixArray<SciantixVariable> &sciantix_variable, SciantixArray<SciantixVariable> &history_variable, SciantixArray<Matrix> &matrices)

Sets the diffusivity of bubbles within the matrix based on input values.

Parameters:

input_value – The model selection index for bubble diffusivity.

double getBubbleDiffusivity()

Retrieves the diffusivity of bubbles within the matrix.

Returns:

The current bubble diffusivity.

void setHeliumDiffusivity(int input_value, SciantixArray<SciantixVariable> &history_variable)

Sets the helium diffusivity within the matrix based on the selected model. The intra-granular helium diffusivity within the fuel grain is set according to the input_variable iHeDiffusivity.

Parameters:

input_value – The model selection index for helium diffusivity.

double getHeliumDiffusivity()

Retrieves the helium diffusivity within the matrix.

Returns:

The current helium diffusivity.

void setFissionGasDiffusivity(int input_value, SciantixArray<SciantixVariable> &sciantix_variable, SciantixArray<SciantixVariable> &history_variable, SciantixArray<InputVariable> &scaling_factors)

Sets the diffusivity of fission gases within the matrix based on the selected model. The intra-granular fission gas (xenon and krypton) diffusivity within the fuel grain is set according to the input_variable iFissionGasDiffusivity.

Parameters:

input_value – The model selection index for fission gas diffusivity.

double getFissionGasDiffusivity()

Retrieves the diffusivity of fission gases within the matrix.

Returns:

The current fission gas diffusivity.

void setHenryConstant(double h)

Sets the Henry’s constant value.

Parameters:

h – The new value for Henry’s constant.

double getHenryConstant()

Retrieves the Henry’s constant value.

Returns:

The current value of Henry’s constant.

void setResolutionRate(int input_value, SciantixArray<SciantixVariable> &sciantix_variable, SciantixArray<SciantixVariable> &history_variable, SciantixArray<InputVariable> &scaling_factors, SciantixArray<Matrix> &matrices)

Sets the resolution rate for isotopes from nanobubbles in the matrix. The helium intra-granular resolution rate is set according to the input_variable iResolutionRate.

Parameters:

input_value – The model selection index for setting the resolution rate.

double getResolutionRate()

Retrieves the resolution rate for isotopes from nanobubbles in the matrix.

Returns:

The current resolution rate.

void setTrappingRate(int input_value, SciantixArray<SciantixVariable> &sciantix_variable, SciantixArray<InputVariable> &scaling_factors)

Sets the trapping rate for isotopes in nanobubbles within the matrix. The krypton intra-granular trapping rate is set according to the input_variable iTrappingRate.

Parameters:

input_value – The model selection index for setting the trapping rate.

double getTrappingRate()

Retrieves the trapping rate for isotopes in nanobubbles within the matrix.

Returns:

The current trapping rate.

void setNucleationRate(int input_value, SciantixArray<SciantixVariable> &history_variable, SciantixArray<InputVariable> &scaling_factors)

Sets the nucleation rate based on the selected model. Evaluation of the nucleation rate of intragranular gas bubble inside the UO2 matrix.

Parameters:

input_value – The model selection index for nucleation rate.

double getNucleationRate()

Retrieves the nucleation rate.

Returns:

The current nucleation rate.

void setPoreNucleationRate(double t)

Sets the pore nucleation rate.

Parameters:

t – The new pore nucleation rate.

double getPoreNucleationRate()

Retrieves the pore nucleation rate.

Returns:

The current pore nucleation rate.

void setProductionRate(int input_value, SciantixArray<SciantixVariable> &history_variable, SciantixArray<InputVariable> &input_variable, SciantixArray<SciantixVariable> &sciantix_variable, SciantixArray<InputVariable> &scaling_factors)

Sets the production rate based on the selected model.

Parameters:

input_value – The model selection index for setting the production rate.

double getProductionRate()

Member function to get the production rate of the sciantix_system.

Returns:

The current production rate.

inline System()

Default constructor for the System class.

inline ~System()

Destructor for the System class.

Protected Attributes

std::string reference
std::string name
double yield
double radius_in_lattice
double volume_in_lattice
double diffusivity
double bubble_diffusivity
double henry_constant
double resolution_rate
double trapping_rate
double nucleation_rate
double pore_nucleation_rate
std::vector<double> modes
double production_rate
bool restructured_matrix
Gas gas
Matrix matrix