MURE
Loading...
Searching...
No Matches
TempCoefCalculator.hxx
Go to the documentation of this file.
1/*
2 This file is part of MURE,
3 Copyright (C) 2007-2021 MURE developers.
4
5 MURE is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 MURE is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with MURE. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef _TCCALC_
20#define _TCCALC_
21
27#include <vector>
28#include <string>
29
31
39{
40 public :
41 TempCoefCalculator(double InitialTemp, int Nvalues = 2, double DeltaT = 100, int Nparticules = 2000, int NActivesCycles = 100, int NInactivesCycles = 30, float KeffEstimator = 1.0);
43 void Run();
44 void PrintResults(string FileName);
45 void SetTempFileName(string FileName)
46 {
47 fTempFileName = FileName;
48 }
49
50
51 private :
52 void CalculateStepTemp();
53 int CheckFuelPresence();
54
55 protected :
62 double fDeltaT;
64 vector < double > fFractions;
65 vector < double > fKeffValues;
66 vector < double > fKeffErrors;
67 vector < double > fReactivitiesValues;
68 vector < double > fTempValues;
69 vector < double > fTempCoeffValues;
70};
71
72#endif
This object performs temperature coefficient calculations for a general system.
Definition TempCoefCalculator.hxx:39
~TempCoefCalculator()
Delete standard.
void PrintResults(string FileName)
Print calculation results to a file.
Definition TempCoefCalculator.cxx:89
vector< double > fKeffErrors
Output values of MCNP Keff statistical errors.
Definition TempCoefCalculator.hxx:66
float fKeffEstimator
Expected Keff.
Definition TempCoefCalculator.hxx:61
vector< double > fTempCoeffValues
Output values of temperature coefficient.
Definition TempCoefCalculator.hxx:69
int CheckFuelPresence()
Check presence of fuel flags.
Definition TempCoefCalculator.cxx:65
double fDeltaT
Steps of fuel temperature.
Definition TempCoefCalculator.hxx:62
void CalculateStepTemp()
Calculate the temperature steps vector from fNvalues given.
Definition TempCoefCalculator.cxx:54
int fNvalues
Number of MCNP calculations (number of temperature steps)
Definition TempCoefCalculator.hxx:57
vector< double > fReactivitiesValues
Output values of reactivity.
Definition TempCoefCalculator.hxx:67
void Run()
lance the calcul
Definition TempCoefCalculator.cxx:122
vector< double > fTempValues
Output values of various temperatures.
Definition TempCoefCalculator.hxx:68
int fNInactivesCycles
Number of inactives cycles.
Definition TempCoefCalculator.hxx:60
double fInitialTemperature
Temp Coeff Calculation is made from a temperature common to all the cells fuel.
Definition TempCoefCalculator.hxx:56
vector< double > fKeffValues
Output values of MCNP criticality calculations.
Definition TempCoefCalculator.hxx:65
int fNActivesCycles
Number of actives cycles.
Definition TempCoefCalculator.hxx:59
void SetTempFileName(string FileName)
Definition TempCoefCalculator.hxx:45
int fNparticules
Number of particles.
Definition TempCoefCalculator.hxx:58
string fTempFileName
The name of MCNP tempory file name.
Definition TempCoefCalculator.hxx:63
vector< double > fFractions
Fuel temperature fractions between nominal temp and nominal temp + DeltaT.
Definition TempCoefCalculator.hxx:64

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024