Package pulse.problem.schemes.rte
Class BlackbodySpectrum
- java.lang.Object
-
- pulse.problem.schemes.rte.BlackbodySpectrum
-
- All Implemented Interfaces:
Serializable
public class BlackbodySpectrum extends Object implements Serializable
Contains methods for calculating the integral spectral characteristics of a black body with a specific spatial temperature profile. The latter is managed using aUnivariateFunctionpreviously generated with aSplineInterpolator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlackbodySpectrum(NonlinearProblem p)Creates aBlackbodySpectrum.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleemissivePower(double reducedTemperature)Calculates the emissive power.org.apache.commons.math3.analysis.UnivariateFunctiongetInterpolation()doublepowerAt(double x)Calculates the emissive power at the given coordinate.doubleradiance(double reducedTemperature)doubleradianceAt(double x)Calculates the spectral radiance, which is equal to the spectral power divided by π, at the given coordinate.voidsetInterpolation(org.apache.commons.math3.analysis.UnivariateFunction interpolation)Sets a new function for the spatial temperature profile.StringtoString()
-
-
-
Constructor Detail
-
BlackbodySpectrum
public BlackbodySpectrum(NonlinearProblem p)
Creates aBlackbodySpectrum. Calculates the reduction factor , which is needed for calculations of the maximum heating. Note the interpolation needs to be set- Parameters:
p- a problem statement
-
-
Method Detail
-
emissivePower
public double emissivePower(double reducedTemperature)
Calculates the emissive power. This is equal to , where θ is the reduced temperature.- Parameters:
reducedTemperature- the dimensionless reduced temperature- Returns:
- the amount of emissive power
-
radianceAt
public double radianceAt(double x)
Calculates the spectral radiance, which is equal to the spectral power divided by π, at the given coordinate.- Parameters:
x- the geometric coordinate at which calculation should be performed- Returns:
- the spectral radiance at
x
-
powerAt
public double powerAt(double x)
Calculates the emissive power at the given coordinate.- Parameters:
x- the geometric coordinate inside the sample- Returns:
- the local emissive power value
-
setInterpolation
public void setInterpolation(org.apache.commons.math3.analysis.UnivariateFunction interpolation)
Sets a new function for the spatial temperature profile. The function is generally constructed using aSplineInterpolator- Parameters:
interpolation-
-
getInterpolation
public org.apache.commons.math3.analysis.UnivariateFunction getInterpolation()
-
radiance
public final double radiance(double reducedTemperature)
-
-