Loading...
Searching...
No Matches
msrProblem Class Reference

Class to implement Molten Salt Reactor multiphysics problem. More...

#include <msrProblem.H>

Inheritance diagram for msrProblem:
reductionProblem usmsrProblem msr msr

Public Member Functions

 msrProblem ()
 
 msrProblem (int argc, char *argv[])
 Construct with argc e argv.
 
 ~msrProblem ()
 
void truthSolve (List< scalar > mu_now)
 Perform the offline solution of MSR steady state problem.
 
void msrcoeff (label &NC)
 method to apply RBF interpolation procedure NC is the number of modes to adopt for construncting the basis
 
void liftSolve ()
 Perform a lift solve for the velocity field.
 
void liftSolveT ()
 Perform a lift solve for the temperature.
 
void readMSRfields ()
 Method to read all the fieds of the MSR problem in the offline folder, it also reads mu_samples matrix.
 
void readMSRfields (std::string &dir)
 
void homogenizeU ()
 Method to compute the homogenized velocity field, it also sets homboolU=true.
 
void homogenizeT ()
 Method to compute the homogenized temperature field, it also sets homboolT=true.
 
void msrgetModesSVD ()
 Method to compute the modes for all the fields in the MSR problem, if hombool==false the velocity modes are computed form Uomfield snapshost, Ufields otherwise.
 
void msrgetModesEVD ()
 Method to compute the modes for all the fields in the MSR problem, if hombool==false the velocity modes are computed form Uomfield snapshost, Ufields otherwise.
 
void projectPPE (fileName folder, label NUmodes, label NPmodes, label NFluxmodes, Eigen::VectorXi Nprecmodes, label NTmodes, Eigen::VectorXi Ndecmodes, label NCmodes)
 Project using the Poisson Equation for pressure.
 
Eigen::MatrixXd diffusive_term (label NUmodes, label NPmodes)
 sub-functions needed by projectPPE
 
Eigen::MatrixXd pressure_gradient_term (label NUmodes, label NPmodes)
 
List< Eigen::MatrixXd > convective_term (label NUmodes, label NPmodes)
 
Eigen::MatrixXd mass_term (label NUmodes, label NPmodes)
 
Eigen::MatrixXd divergence_term (label NUmodes, label NPmodes)
 continuity eq. methods:
 
List< Eigen::MatrixXd > div_momentum (label NUmodes, label NPmodes)
 
Eigen::MatrixXd laplacian_pressure (label NPmodes)
 
Eigen::MatrixXd pressure_BC1 (label NUmodes, label NPmodes)
 
List< Eigen::MatrixXd > pressure_BC2 (label NUmodes, label NPmodes)
 
Eigen::MatrixXd pressure_BC3 (label NUmodes, label NPmodes)
 
List< Eigen::MatrixXd > laplacian_flux (label NFluxmodes, label NCmodes)
 diffusion eq. methods:
 
Eigen::MatrixXd mass_flux (label NFluxmodes)
 
List< Eigen::MatrixXd > prod_flux (label NFluxmodes, label NCmodes)
 
List< Eigen::MatrixXd > abs_flux (label NFluxmodes, label NCmodes)
 
Eigen::MatrixXd prec_source (label NFluxmodes, label NPrecmodes, label family)
 
List< Eigen::MatrixXd > stream_term (label NUmodes, label NPrecmodes, label family)
 precursor eq. methods:
 
Eigen::MatrixXd prec_mass (label NPrecmodes, label family)
 
Eigen::MatrixXd laplacian_prec (label NPrecmodes, label family)
 
List< Eigen::MatrixXd > flux_source (label NFluxmodes, label NPrecmodes, label NCmodes, label family)
 
List< Eigen::MatrixXd > stream_dec (label NUmodes, label NDecmodes, label decgroup)
 decay heat eq. methods:
 
Eigen::MatrixXd dec_mass (label NDecmodes, label decgroup)
 
Eigen::MatrixXd laplacian_dec (label NDecmodes, label decgroup)
 
List< Eigen::MatrixXd > dec_fluxsource (label NFluxmodes, label NDecmodes, label NCmodes, label decgroup)
 
Eigen::MatrixXd mass_temp (label NTmodes)
 temperature eq. methods
 
List< Eigen::MatrixXd > temp_stream (label NUmodes, label NTmodes)
 
Eigen::MatrixXd laplacian_temp (label NTmodes)
 
List< Eigen::MatrixXd > temp_heatsource (label NTmodes, label NDecmodes, label NCmodes, label decgroup)
 
List< Eigen::MatrixXd > temp_XSfluxsource (label NTmodes, label NFluxmodes, label NCmodes)
 
void change_viscosity (double mu)
 method to change the viscosity in UEqn
 
void restart ()
 method to set all fields back to values in 0 folder
 
- Public Member Functions inherited from reductionProblem
 reductionProblem ()
 Construct Null.
 
 ~reductionProblem ()
 
void setParameters ()
 Set Parameters Problems.
 
void genRandPar ()
 Generate Random Numbers.
 
void genRandPar (label tsize)
 Generate Random Numbers given the dimension of the training set.
 
void genEquiPar ()
 Generate Equidistributed Numbers.
 
void truthSolve ()
 Perform a TruthSolve.
 
void assignBC (volVectorField &s, label BC_ind, Vector< double > &value)
 Assign Boundary Condition to a volVectorField.
 
void assignBC (volScalarField &s, label BC_ind, double &value)
 Assign Boundary Condition to a volScalarField.
 
void reconstructFromMatrix (PtrList< volVectorField > &rec_field2, PtrList< volVectorField > &modes, label Nmodes, Eigen::MatrixXd coeff_matrix)
 Exact reconstruction using a certain number of modes for vector list of fields and the projection coefficients (volVectorField)
 
void reconstructFromMatrix (PtrList< volScalarField > &rec_field2, PtrList< volScalarField > &modes, label Nmodes, Eigen::MatrixXd coeff_matrix)
 Exact reconstruction using a certain number of modes for vector list of fields and the projection coefficients (volScalarField)
 
template<typename T , typename G >
void assignIF (T &s, G &value)
 Assign internal field condition.
 
template<typename T >
void computeLift (T &Lfield, T &liftfield, T &omfield)
 Homogenize the snapshot matrix, it works with PtrList of volVectorField and volScalarField.
 
template<typename T >
void computeLiftT (T &Lfield, T &liftfield, T &omfield)
 Virtual function to compute the lifting function.
 
void liftSolve ()
 Virtual function to compute the lifting function for scalar field.
 
void liftSolveT ()
 
void project ()
 General projection operation.
 
void writeMu (List< scalar > mu_now)
 Write out a list of scalar corresponding to the parameters used in the truthSolve.
 
std::vector< SPLINTER::RBFSpline > getCoeffManifoldRBF (PtrList< volVectorField > snapshots, PtrList< volVectorField > &modes, word rbfBasis="GAUSSIAN")
 Constructs the parameters-coefficients manifold for vector fields, based on RBF-spline model.
 
std::vector< SPLINTER::RBFSpline > getCoeffManifoldRBF (PtrList< volScalarField > snapshots, PtrList< volScalarField > &modes, word rbfBasis="GAUSSIAN")
 Constructs the parameters-coefficients manifold for scalar fields, based on RBF-spline model.
 
std::vector< SPLINTER::BSpline > getCoeffManifoldSPL (PtrList< volVectorField > snapshots, PtrList< volVectorField > &modes, label splDeg=3)
 Constructs the parameters-coefficients manifold for vector fields, based on the B-spline model.
 
std::vector< SPLINTER::BSpline > getCoeffManifoldSPL (PtrList< volScalarField > snapshots, PtrList< volScalarField > &modes, label splDeg=3)
 Constructs the parameters-coefficients manifold for scalar fields, based on the B-spline model.
 

Public Attributes

autoPtr< Time > _runTime
 
autoPtr< fvMesh > _mesh
 
autoPtr< volVectorField > _U
 
autoPtr< surfaceScalarField > _phi
 
autoPtr< singlePhaseTransportModel > _laminarTransport
 
autoPtr< incompressible::turbulenceModel > turbulence
 
autoPtr< IOMRFZoneList > _MRF
 
autoPtr< volScalarField > _p
 
label pRefCell
 
scalar pRefValue
 
autoPtr< dimensionedScalar > _nu
 
autoPtr< dimensionedScalar > _Pr
 
autoPtr< dimensionedScalar > _Prt
 
autoPtr< dimensionedScalar > _rhoRef
 
autoPtr< volScalarField > _v
 
autoPtr< dimensionedScalar > _CpRef
 
autoPtr< dimensionedScalar > _Tref
 
autoPtr< dimensionedScalar > _TrefXS
 
autoPtr< volScalarField > _TXS
 
autoPtr< volScalarField > _p0
 Initial fields (for restart purposes)
 
autoPtr< volVectorField > _U0
 
autoPtr< surfaceScalarField > _phi0
 
autoPtr< volScalarField > _flux0
 
autoPtr< volScalarField > _prec10
 
autoPtr< volScalarField > _prec20
 
autoPtr< volScalarField > _prec30
 
autoPtr< volScalarField > _prec40
 
autoPtr< volScalarField > _prec50
 
autoPtr< volScalarField > _prec60
 
autoPtr< volScalarField > _prec70
 
autoPtr< volScalarField > _prec80
 
autoPtr< volScalarField > _T0
 
autoPtr< volScalarField > _dec10
 
autoPtr< volScalarField > _dec20
 
autoPtr< volScalarField > _dec30
 
autoPtr< dimensionedScalar > _K0
 
autoPtr< volScalarField > _v0
 
autoPtr< volScalarField > _NSF0
 
autoPtr< volScalarField > _A0
 
autoPtr< volScalarField > _D0
 
autoPtr< volScalarField > _SP0
 
autoPtr< volScalarField > _TXS0
 
autoPtr< dimensionedScalar > _Keff
 
autoPtr< dimensionedScalar > _IV1
 
autoPtr< dimensionedScalar > _D1_0
 
autoPtr< volScalarField > _D
 
autoPtr< dimensionedScalar > _alfa_D1
 
autoPtr< dimensionedScalar > _A1_0
 
autoPtr< volScalarField > _A
 
autoPtr< dimensionedScalar > _alfa_A1
 
autoPtr< dimensionedScalar > _NSF1_0
 
autoPtr< volScalarField > _NSF
 
autoPtr< dimensionedScalar > _alfa_NSF1
 
autoPtr< dimensionedScalar > _SP1_0
 
autoPtr< volScalarField > _SP
 
autoPtr< dimensionedScalar > _alfa_SP1
 
autoPtr< dimensionedScalar > _lam1
 
autoPtr< dimensionedScalar > _lam2
 
autoPtr< dimensionedScalar > _lam3
 
autoPtr< dimensionedScalar > _lam4
 
autoPtr< dimensionedScalar > _lam5
 
autoPtr< dimensionedScalar > _lam6
 
autoPtr< dimensionedScalar > _lam7
 
autoPtr< dimensionedScalar > _lam8
 
autoPtr< dimensionedScalar > _beta1
 
autoPtr< dimensionedScalar > _beta2
 
autoPtr< dimensionedScalar > _beta3
 
autoPtr< dimensionedScalar > _beta4
 
autoPtr< dimensionedScalar > _beta5
 
autoPtr< dimensionedScalar > _beta6
 
autoPtr< dimensionedScalar > _beta7
 
autoPtr< dimensionedScalar > _beta8
 
autoPtr< dimensionedScalar > _betaTot
 
autoPtr< volScalarField > _flux
 
autoPtr< dimensionedScalar > _decLam1
 
autoPtr< dimensionedScalar > _decLam2
 
autoPtr< dimensionedScalar > _decLam3
 
autoPtr< dimensionedScalar > _decBeta1
 
autoPtr< dimensionedScalar > _decBeta2
 
autoPtr< dimensionedScalar > _decBeta3
 
autoPtr< dimensionedScalar > _decbetaTot
 
autoPtr< dimensionedScalar > _betaTE
 
autoPtr< volScalarField > _prec1
 
autoPtr< volScalarField > _prec2
 
autoPtr< volScalarField > _prec3
 
autoPtr< volScalarField > _prec4
 
autoPtr< volScalarField > _prec5
 
autoPtr< volScalarField > _prec6
 
autoPtr< volScalarField > _prec7
 
autoPtr< volScalarField > _prec8
 
autoPtr< dimensionedScalar > _Sc
 
autoPtr< dimensionedScalar > _Sct
 
autoPtr< volScalarField > _alphat
 
autoPtr< volScalarField > _difft
 
double tau
 
autoPtr< volScalarField > _T
 
autoPtr< volScalarField > _logT
 
autoPtr< volScalarField > _dec1
 
autoPtr< volScalarField > _dec2
 
autoPtr< volScalarField > _dec3
 
autoPtr< fv::options > _fvOptions
 fvOptions
 
autoPtr< simpleControl > _simple
 simpleControl
 
scalar tolerance
 Tolerance for the residual of the stationary problems, there is the same tolerance for velocity and pressure.
 
scalar maxIter
 Number of maximum iterations to be done for the computation of the truth solution.
 
scalar cumulativeContErr = 0
 continuity error
 
bool precInBool = false
 boolean variable to decide if apply prec inlet BC
 
label precinIndex
 indexes of inlet and outlet to adopt for precursors boundary conditions
 
label precoutIndex
 
Eigen::MatrixXd bc_prec
 matrix to store the values of precursors BC inlet conditions
 
PtrList< volScalarField > Pfield
 List of pointers used to form the pressure snapshots matrix.
 
PtrList< volVectorField > Ufield
 List of pointers used to form the velocity snapshots matrix.
 
PtrList< volScalarField > Fluxfield
 List of pointers used to form the flux snapshots matrix.
 
PtrList< volScalarField > Prec1field
 List of pointers used to form the prec1 snapshots matrix.
 
PtrList< volScalarField > Prec2field
 List of pointers used to form the prec2 snapshots matrix.
 
PtrList< volScalarField > Prec3field
 List of pointers used to form the prec3 snapshots matrix.
 
PtrList< volScalarField > Prec4field
 List of pointers used to form the prec4 snapshots matrix.
 
PtrList< volScalarField > Prec5field
 List of pointers used to form the prec5 snapshots matrix.
 
PtrList< volScalarField > Prec6field
 List of pointers used to form the prec6 snapshots matrix.
 
PtrList< volScalarField > Prec7field
 List of pointers used to form the prec7 snapshots matrix.
 
PtrList< volScalarField > Prec8field
 List of pointers used to form the prec8 snapshots matrix.
 
PtrList< volScalarField > Tfield
 List of pointers used to form the temperature snapshots matrix.
 
PtrList< volScalarField > Dec1field
 List of pointers used to form the dec1 snapshots matrix.
 
PtrList< volScalarField > Dec2field
 List of pointers used to form the dec2 snapshots matrix.
 
PtrList< volScalarField > Dec3field
 List of pointers used to form the dec3 snapshots matrix.
 
PtrList< volScalarField > PowerDensfield
 List of pointers used to form the powerDens snapshots matrix.
 
PtrList< volScalarField > vFields
 List of pointers used to form the v snapshosts matrix.
 
PtrList< volScalarField > DFields
 List of pointers used to form the D snapshosts matrix.
 
PtrList< volScalarField > NSFFields
 List of pointers used to form the NSF snapshosts matrix.
 
PtrList< volScalarField > AFields
 List of pointers used to form the A snapshosts matrix.
 
PtrList< volScalarField > SPFields
 List of pointers used to form the SP snapshosts matrix.
 
PtrList< volScalarField > TXSFields
 List of pointers used to form the SP snapshosts matrix.
 
PtrList< volScalarField > Pmodes
 List of pointers used to form the pressure modes.
 
PtrList< volVectorField > Umodes
 List of pointers used to form the velocity modes.
 
PtrList< volScalarField > Fluxmodes
 List of pointers used to form the flux modes.
 
PtrList< volScalarField > Prec1modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec2modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec3modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec4modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec5modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec6modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec7modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Prec8modes
 List of pointers used to form the prec1 modes.
 
PtrList< volScalarField > Tmodes
 List of pointers used to form the temperature modes.
 
PtrList< volScalarField > Dec1modes
 List of pointers used to form the dec1 modes.
 
PtrList< volScalarField > Dec2modes
 List of pointers used to form the dec2 modes.
 
PtrList< volScalarField > Dec3modes
 List of pointers used to form the dec3 modes.
 
PtrList< volScalarField > vmodes
 List of pointers used to form the v modes.
 
PtrList< volScalarField > Dmodes
 List of pointers used to form the D modes.
 
PtrList< volScalarField > NSFmodes
 List of pointers used to form the NSF snapshosts matrix.
 
PtrList< volScalarField > Amodes
 List of pointers used to form the A snapshosts matrix.
 
PtrList< volScalarField > SPmodes
 List of pointers used to form the SP snapshosts matrix.
 
PtrList< volScalarField > TXSmodes
 List of pointers used to form the SP snapshosts matrix.
 
Eigen::MatrixXd B_matrix
 Diffusion term.
 
Eigen::MatrixXd M_matrix
 Mass Matrix.
 
Eigen::MatrixXd K_matrix
 Gradient of pressure matrix.
 
List< Eigen::MatrixXd > C_matrix
 Non linear term.
 
Eigen::MatrixXd P_matrix
 Div of velocity.
 
Eigen::MatrixXd D_matrix
 Laplacian term PPE.
 
List< Eigen::MatrixXd > G_matrix
 Divergence of momentum PPE.
 
Eigen::MatrixXd BC1_matrix
 PPE BC1.
 
List< Eigen::MatrixXd > BC2_matrix
 PPE BC2.
 
Eigen::MatrixXd BC3_matrix
 PPE BC3.
 
List< Eigen::MatrixXd > LF_matrix
 laplacian_flux
 
Eigen::MatrixXd MF_matrix
 mass flux
 
List< Eigen::MatrixXd > PF_matrix
 production flux
 
List< Eigen::MatrixXd > AF_matrix
 absorption flux
 
ITHACAparameterspara
 
Eigen::MatrixXd PS1_matrix
 prec_source 1
 
Eigen::MatrixXd PS2_matrix
 prec_source 2
 
Eigen::MatrixXd PS3_matrix
 prec_source 3
 
Eigen::MatrixXd PS4_matrix
 prec_source 4
 
Eigen::MatrixXd PS5_matrix
 prec_source 5
 
Eigen::MatrixXd PS6_matrix
 prec_source 6
 
Eigen::MatrixXd PS7_matrix
 prec_source 7
 
Eigen::MatrixXd PS8_matrix
 prec_source 8
 
List< Eigen::MatrixXd > ST1_matrix
 precursor stream term-1
 
List< Eigen::MatrixXd > ST2_matrix
 precursor stream term-2
 
List< Eigen::MatrixXd > ST3_matrix
 precursor stream term-3
 
List< Eigen::MatrixXd > ST4_matrix
 precursor stream term-4
 
List< Eigen::MatrixXd > ST5_matrix
 precursor stream term-5
 
List< Eigen::MatrixXd > ST6_matrix
 precursor stream term-6
 
List< Eigen::MatrixXd > ST7_matrix
 precursor stream term-7
 
List< Eigen::MatrixXd > ST8_matrix
 precursor stream term-8
 
Eigen::MatrixXd MP1_matrix
 precursor mass term-1
 
Eigen::MatrixXd MP2_matrix
 precursor mass term-2
 
Eigen::MatrixXd MP3_matrix
 precursor mass term-3
 
Eigen::MatrixXd MP4_matrix
 precursor mass term-4
 
Eigen::MatrixXd MP5_matrix
 precursor mass term-5
 
Eigen::MatrixXd MP6_matrix
 precursor mass term-6
 
Eigen::MatrixXd MP7_matrix
 precursor mass term-7
 
Eigen::MatrixXd MP8_matrix
 precursor mass term-8
 
Eigen::MatrixXd LP1_matrix
 precursor laplacian term-1
 
Eigen::MatrixXd LP2_matrix
 precursor laplacian term-2
 
Eigen::MatrixXd LP3_matrix
 precursor laplacian term-3
 
Eigen::MatrixXd LP4_matrix
 precursor laplacian term-4
 
Eigen::MatrixXd LP5_matrix
 precursor laplacian term-5
 
Eigen::MatrixXd LP6_matrix
 precursor laplacian term-6
 
Eigen::MatrixXd LP7_matrix
 precursor laplacian term-7
 
Eigen::MatrixXd LP8_matrix
 precursor laplacian term-8
 
List< Eigen::MatrixXd > FS1_matrix
 precursor flux source term-1
 
List< Eigen::MatrixXd > FS2_matrix
 precursor flux source term-2
 
List< Eigen::MatrixXd > FS3_matrix
 precursor flux source term-3
 
List< Eigen::MatrixXd > FS4_matrix
 precursor flux source term-4
 
List< Eigen::MatrixXd > FS5_matrix
 precursor flux source term-5
 
List< Eigen::MatrixXd > FS6_matrix
 precursor flux source term-6
 
List< Eigen::MatrixXd > FS7_matrix
 precursor flux source term-7
 
List< Eigen::MatrixXd > FS8_matrix
 precursor flux source term-8
 
List< Eigen::MatrixXd > SD1_matrix
 decay heat stream term-1
 
List< Eigen::MatrixXd > SD2_matrix
 decay heat stream term-2
 
List< Eigen::MatrixXd > SD3_matrix
 decay heat stream term-3
 
Eigen::MatrixXd MD1_matrix
 decay heat mass term-1
 
Eigen::MatrixXd MD2_matrix
 decay heat mass term-2
 
Eigen::MatrixXd MD3_matrix
 decay heat mass term-3
 
Eigen::MatrixXd LD1_matrix
 decay heat laplacian term-1
 
Eigen::MatrixXd LD2_matrix
 decay heat laplacian term-2
 
Eigen::MatrixXd LD3_matrix
 decay heat laplacian term-3
 
List< Eigen::MatrixXd > DFS1_matrix
 decay heat flux source term-1
 
List< Eigen::MatrixXd > DFS2_matrix
 decay heat flux source term-2
 
List< Eigen::MatrixXd > DFS3_matrix
 decay heat flux source term-3
 
Eigen::MatrixXd TM_matrix
 temperature mass term
 
List< Eigen::MatrixXd > TS_matrix
 temperature stream term
 
Eigen::MatrixXd LT_matrix
 temperature laplacian term
 
List< Eigen::MatrixXd > TXS_matrix
 temperature flux source term TXS
 
List< Eigen::MatrixXd > THS1_matrix
 temperature decay heat source term-1
 
List< Eigen::MatrixXd > THS2_matrix
 temperature decay heat source term-2
 
List< Eigen::MatrixXd > THS3_matrix
 temperature decay heat source term-3
 
label NUmodes
 Number of modes adopted during Galerkin projection.
 
label NPmodes
 
label NFluxmodes
 
Eigen::VectorXi NPrecmodes
 
Eigen::VectorXi NDecmodes
 
label NTmodes
 
label NCmodes
 
PtrList< volVectorField > liftfield
 List of pointers used to form the list of lifting functions.
 
PtrList< volScalarField > liftfieldT
 List of pointers used to form the list of lifting functions.
 
PtrList< volVectorField > Uomfield
 List of pointers used to form the homogeneous velocity snapshots.
 
PtrList< volScalarField > Tomfield
 List of pointers used to form the homogeneous velocity snapshots.
 
bool homboolU = false
 boolean variables to check if the homogenization of U and T is performed (true) or not (false)
 
bool homboolT = false
 
std::vector< SPLINTER::DataTable * > SAMPLES_v
 
std::vector< SPLINTER::DataTable * > SAMPLES_D
 
std::vector< SPLINTER::DataTable * > SAMPLES_NSF
 
std::vector< SPLINTER::DataTable * > SAMPLES_A
 
std::vector< SPLINTER::DataTable * > SAMPLES_SP
 
std::vector< SPLINTER::DataTable * > SAMPLES_TXS
 
std::vector< SPLINTER::RBFSpline * > rbfsplines_v
 
std::vector< SPLINTER::RBFSpline * > rbfsplines_D
 
std::vector< SPLINTER::RBFSpline * > rbfsplines_NSF
 
std::vector< SPLINTER::RBFSpline * > rbfsplines_A
 
std::vector< SPLINTER::RBFSpline * > rbfsplines_SP
 
std::vector< SPLINTER::RBFSpline * > rbfsplines_TXS
 
- Public Attributes inherited from reductionProblem
label Pnumber
 Number of parameters.
 
label Tnumber
 Dimension of the training set (used only when gerating parameters without input)
 
Eigen::MatrixXd mu
 Row matrix of parameters.
 
Eigen::MatrixXd mu_range
 Range of the parameter spaces.
 
Eigen::MatrixXd mu_samples
 Matrix of parameters to be used for PODI, where each row corresponds to a sample point. In this matrix the time dimension is regarded as a parameter for unsteady problems.
 
double mu_cur
 Current value of the parameter.
 
bool podex
 Boolean variable, it is 1 if the POD has already been computed, else 0.
 
bool offline
 Boolean variable, it is 1 if the Offline phase has already been computed, else 0.
 
IOdictionary * ITHACAdict
 dictionary to store input output infos
 
autoPtr< argList > _args
 argList
 
ITHACAparallelparal
 parallel handling
 
label folderN = 1
 Counter to save intermediate steps in the correct folder, for unsteady and some stationary cases.
 
label counter = 1
 Counter used for the output of the full order solutions.
 
Eigen::MatrixXi inletIndex
 Matrix that contains informations about the inlet boundaries.
 
Eigen::MatrixXi inletPatch
 Matrix that contains informations about the inlet boundaries without specifing the direction Rows = Number of parametrized boundary conditions
Cols = 1
Example:
example.inletIndex.resize(2, 1);
example.inletIndex(0, 0) = 0;
example.inletIndex(1, 0) = 1;
Means that there are two parametrized boundary conditions of which the first row is of patch 0 and the second row of patch 1.
 
Eigen::MatrixXi inletIndexT
 

Protected Member Functions

PtrList< volScalarField > choose_group (string field, label ith)
 method to choose one field among precs & decs field can be "prec" or "dec" only if field==prec then ith can range from 1 to 8 included else ith can range from 1 to 3
 
template<typename M >
void savegroupMatrix (string nome, label n, word folder, M matrice)
 method to save matrices for precs and decs M can be an Eigen::MatrixXd or List<Eigen::MatrixXd> nome is the name of the matrix, n can vary from 1 to 8 and it appended to matrix's name to store the matrix belonging to group n folder is the folder in which the matrix is stored
 

Detailed Description

Class to implement Molten Salt Reactor multiphysics problem.

Definition at line 35 of file msrProblem.H.

Constructor & Destructor Documentation

◆ msrProblem() [1/2]

msrProblem::msrProblem ( )

Definition at line 5 of file msrProblem.C.

◆ msrProblem() [2/2]

msrProblem::msrProblem ( int argc,
char * argv[] )

Construct with argc e argv.

Definition at line 7 of file msrProblem.C.

◆ ~msrProblem()

msrProblem::~msrProblem ( )
inline

Definition at line 43 of file msrProblem.H.

Member Function Documentation

◆ abs_flux()

List< Eigen::MatrixXd > msrProblem::abs_flux ( label NFluxmodes,
label NCmodes )

Definition at line 1021 of file msrProblem.C.

◆ change_viscosity()

void msrProblem::change_viscosity ( double mu)

method to change the viscosity in UEqn

Definition at line 1782 of file msrProblem.C.

◆ choose_group()

PtrList< volScalarField > msrProblem::choose_group ( string field,
label ith )
protected

method to choose one field among precs & decs field can be "prec" or "dec" only if field==prec then ith can range from 1 to 8 included else ith can range from 1 to 3

Definition at line 1584 of file msrProblem.C.

◆ convective_term()

List< Eigen::MatrixXd > msrProblem::convective_term ( label NUmodes,
label NPmodes )

Definition at line 585 of file msrProblem.C.

◆ dec_fluxsource()

List< Eigen::MatrixXd > msrProblem::dec_fluxsource ( label NFluxmodes,
label NDecmodes,
label NCmodes,
label decgroup )

Definition at line 1303 of file msrProblem.C.

◆ dec_mass()

Eigen::MatrixXd msrProblem::dec_mass ( label NDecmodes,
label decgroup )

Definition at line 1259 of file msrProblem.C.

◆ diffusive_term()

Eigen::MatrixXd msrProblem::diffusive_term ( label NUmodes,
label NPmodes )

sub-functions needed by projectPPE

momentum eq. methods:

Definition at line 507 of file msrProblem.C.

◆ div_momentum()

List< Eigen::MatrixXd > msrProblem::div_momentum ( label NUmodes,
label NPmodes )

Definition at line 712 of file msrProblem.C.

◆ divergence_term()

Eigen::MatrixXd msrProblem::divergence_term ( label NUmodes,
label NPmodes )

continuity eq. methods:

Definition at line 672 of file msrProblem.C.

◆ flux_source()

List< Eigen::MatrixXd > msrProblem::flux_source ( label NFluxmodes,
label NPrecmodes,
label NCmodes,
label family )

Definition at line 1170 of file msrProblem.C.

◆ homogenizeT()

void msrProblem::homogenizeT ( )

Method to compute the homogenized temperature field, it also sets homboolT=true.

Definition at line 1658 of file msrProblem.C.

◆ homogenizeU()

void msrProblem::homogenizeU ( )

Method to compute the homogenized velocity field, it also sets homboolU=true.

Definition at line 1652 of file msrProblem.C.

◆ laplacian_dec()

Eigen::MatrixXd msrProblem::laplacian_dec ( label NDecmodes,
label decgroup )

Definition at line 1281 of file msrProblem.C.

◆ laplacian_flux()

List< Eigen::MatrixXd > msrProblem::laplacian_flux ( label NFluxmodes,
label NCmodes )

diffusion eq. methods:

Definition at line 937 of file msrProblem.C.

◆ laplacian_prec()

Eigen::MatrixXd msrProblem::laplacian_prec ( label NPrecmodes,
label family )

Definition at line 1149 of file msrProblem.C.

◆ laplacian_pressure()

Eigen::MatrixXd msrProblem::laplacian_pressure ( label NPmodes)

Definition at line 760 of file msrProblem.C.

◆ laplacian_temp()

Eigen::MatrixXd msrProblem::laplacian_temp ( label NTmodes)

Definition at line 1446 of file msrProblem.C.

◆ liftSolve()

void msrProblem::liftSolve ( )

Perform a lift solve for the velocity field.

Definition at line 291 of file msrProblem.C.

◆ liftSolveT()

void msrProblem::liftSolveT ( )

Perform a lift solve for the temperature.

Definition at line 1929 of file msrProblem.C.

◆ mass_flux()

Eigen::MatrixXd msrProblem::mass_flux ( label NFluxmodes)

Definition at line 969 of file msrProblem.C.

◆ mass_temp()

Eigen::MatrixXd msrProblem::mass_temp ( label NTmodes)

temperature eq. methods

Definition at line 1339 of file msrProblem.C.

◆ mass_term()

Eigen::MatrixXd msrProblem::mass_term ( label NUmodes,
label NPmodes )

Definition at line 633 of file msrProblem.C.

◆ msrcoeff()

void msrProblem::msrcoeff ( label & NC)

method to apply RBF interpolation procedure NC is the number of modes to adopt for construncting the basis

Definition at line 1794 of file msrProblem.C.

◆ msrgetModesEVD()

void msrProblem::msrgetModesEVD ( )

Method to compute the modes for all the fields in the MSR problem, if hombool==false the velocity modes are computed form Uomfield snapshost, Ufields otherwise.

Same for temperature field as regards homboolT. Number of modes are specified in ITHACAdict file, if not set, 10 is used. EigenValue Decomposition method

Definition at line 223 of file msrProblem.C.

◆ msrgetModesSVD()

void msrProblem::msrgetModesSVD ( )

Method to compute the modes for all the fields in the MSR problem, if hombool==false the velocity modes are computed form Uomfield snapshost, Ufields otherwise.

Same for temperature field as regards homboolT. Number of modes are specified in ITHACAdict file, if not set, 10 is used. Singular Value Decomposition method

Definition at line 151 of file msrProblem.C.

◆ prec_mass()

Eigen::MatrixXd msrProblem::prec_mass ( label NPrecmodes,
label family )

Definition at line 1128 of file msrProblem.C.

◆ prec_source()

Eigen::MatrixXd msrProblem::prec_source ( label NFluxmodes,
label NPrecmodes,
label family )

Definition at line 1052 of file msrProblem.C.

◆ pressure_BC1()

Eigen::MatrixXd msrProblem::pressure_BC1 ( label NUmodes,
label NPmodes )

Definition at line 781 of file msrProblem.C.

◆ pressure_BC2()

List< Eigen::MatrixXd > msrProblem::pressure_BC2 ( label NUmodes,
label NPmodes )

Definition at line 828 of file msrProblem.C.

◆ pressure_BC3()

Eigen::MatrixXd msrProblem::pressure_BC3 ( label NUmodes,
label NPmodes )

Definition at line 885 of file msrProblem.C.

◆ pressure_gradient_term()

Eigen::MatrixXd msrProblem::pressure_gradient_term ( label NUmodes,
label NPmodes )

Definition at line 546 of file msrProblem.C.

◆ prod_flux()

List< Eigen::MatrixXd > msrProblem::prod_flux ( label NFluxmodes,
label NCmodes )

Definition at line 990 of file msrProblem.C.

◆ projectPPE()

void msrProblem::projectPPE ( fileName folder,
label NUmodes,
label NPmodes,
label NFluxmodes,
Eigen::VectorXi Nprecmodes,
label NTmodes,
Eigen::VectorXi Ndecmodes,
label NCmodes )

Project using the Poisson Equation for pressure.

Parameters
[in]folderThe folder used to save the reduced matrices.
[in]NUmodesThe number of velocity modes.
[in]NPmodesThe number of pressure modes.
[in]NFluxmodesThe number of flux modes.
[in]NprecmodesThe number of precursors modes. Nprecmodes.size() must be 8
[in]NFluxmodesThe number of temperature modes.
[in]NprecmodesThe number of decay heat modes. Ndecmodes.size() must be 3
[in]NFluxmodesThe number of temperature changing constants modes. (see file updateConstants.H)

Definition at line 395 of file msrProblem.C.

◆ readMSRfields() [1/2]

void msrProblem::readMSRfields ( )

Method to read all the fieds of the MSR problem in the offline folder, it also reads mu_samples matrix.

First method reads from standard "Offline" folder second one reads from folder specified by the user, solutions for mu.col(0), mu.col(1), mu.col(2), etc... are sought in dir/0, dir/1, dir/2, etc...

Definition at line 1664 of file msrProblem.C.

◆ readMSRfields() [2/2]

void msrProblem::readMSRfields ( std::string & dir)

Definition at line 1716 of file msrProblem.C.

◆ restart()

void msrProblem::restart ( )

method to set all fields back to values in 0 folder

Definition at line 2015 of file msrProblem.C.

◆ savegroupMatrix()

template<typename M >
void msrProblem::savegroupMatrix ( string nome,
label n,
word folder,
M matrice )
protected

method to save matrices for precs and decs M can be an Eigen::MatrixXd or List<Eigen::MatrixXd> nome is the name of the matrix, n can vary from 1 to 8 and it appended to matrix's name to store the matrix belonging to group n folder is the folder in which the matrix is stored

Definition at line 1645 of file msrProblem.C.

◆ stream_dec()

List< Eigen::MatrixXd > msrProblem::stream_dec ( label NUmodes,
label NDecmodes,
label decgroup )

decay heat eq. methods:

Definition at line 1208 of file msrProblem.C.

◆ stream_term()

List< Eigen::MatrixXd > msrProblem::stream_term ( label NUmodes,
label NPrecmodes,
label family )

precursor eq. methods:

Definition at line 1077 of file msrProblem.C.

◆ temp_heatsource()

List< Eigen::MatrixXd > msrProblem::temp_heatsource ( label NTmodes,
label NDecmodes,
label NCmodes,
label decgroup )

Definition at line 1534 of file msrProblem.C.

◆ temp_stream()

List< Eigen::MatrixXd > msrProblem::temp_stream ( label NUmodes,
label NTmodes )

Definition at line 1377 of file msrProblem.C.

◆ temp_XSfluxsource()

List< Eigen::MatrixXd > msrProblem::temp_XSfluxsource ( label NTmodes,
label NFluxmodes,
label NCmodes )

Definition at line 1485 of file msrProblem.C.

◆ truthSolve()

void msrProblem::truthSolve ( List< scalar > mu_now)

Perform the offline solution of MSR steady state problem.

Definition at line 44 of file msrProblem.C.

Member Data Documentation

◆ _A

autoPtr<volScalarField> msrProblem::_A

Definition at line 106 of file msrProblem.H.

◆ _A0

autoPtr<volScalarField> msrProblem::_A0

Definition at line 92 of file msrProblem.H.

◆ _A1_0

autoPtr<dimensionedScalar> msrProblem::_A1_0

Definition at line 105 of file msrProblem.H.

◆ _alfa_A1

autoPtr<dimensionedScalar> msrProblem::_alfa_A1

Definition at line 107 of file msrProblem.H.

◆ _alfa_D1

autoPtr<dimensionedScalar> msrProblem::_alfa_D1

Definition at line 104 of file msrProblem.H.

◆ _alfa_NSF1

autoPtr<dimensionedScalar> msrProblem::_alfa_NSF1

Definition at line 110 of file msrProblem.H.

◆ _alfa_SP1

autoPtr<dimensionedScalar> msrProblem::_alfa_SP1

Definition at line 113 of file msrProblem.H.

◆ _alphat

autoPtr<volScalarField> msrProblem::_alphat

Definition at line 150 of file msrProblem.H.

◆ _beta1

autoPtr<dimensionedScalar> msrProblem::_beta1

Definition at line 122 of file msrProblem.H.

◆ _beta2

autoPtr<dimensionedScalar> msrProblem::_beta2

Definition at line 123 of file msrProblem.H.

◆ _beta3

autoPtr<dimensionedScalar> msrProblem::_beta3

Definition at line 124 of file msrProblem.H.

◆ _beta4

autoPtr<dimensionedScalar> msrProblem::_beta4

Definition at line 125 of file msrProblem.H.

◆ _beta5

autoPtr<dimensionedScalar> msrProblem::_beta5

Definition at line 126 of file msrProblem.H.

◆ _beta6

autoPtr<dimensionedScalar> msrProblem::_beta6

Definition at line 127 of file msrProblem.H.

◆ _beta7

autoPtr<dimensionedScalar> msrProblem::_beta7

Definition at line 128 of file msrProblem.H.

◆ _beta8

autoPtr<dimensionedScalar> msrProblem::_beta8

Definition at line 129 of file msrProblem.H.

◆ _betaTE

autoPtr<dimensionedScalar> msrProblem::_betaTE

Definition at line 139 of file msrProblem.H.

◆ _betaTot

autoPtr<dimensionedScalar> msrProblem::_betaTot

Definition at line 130 of file msrProblem.H.

◆ _CpRef

autoPtr<dimensionedScalar> msrProblem::_CpRef

Definition at line 68 of file msrProblem.H.

◆ _D

autoPtr<volScalarField> msrProblem::_D

Definition at line 103 of file msrProblem.H.

◆ _D0

autoPtr<volScalarField> msrProblem::_D0

Definition at line 93 of file msrProblem.H.

◆ _D1_0

autoPtr<dimensionedScalar> msrProblem::_D1_0

Definition at line 102 of file msrProblem.H.

◆ _dec1

autoPtr<volScalarField> msrProblem::_dec1

Definition at line 161 of file msrProblem.H.

◆ _dec10

autoPtr<volScalarField> msrProblem::_dec10

Definition at line 86 of file msrProblem.H.

◆ _dec2

autoPtr<volScalarField> msrProblem::_dec2

Definition at line 162 of file msrProblem.H.

◆ _dec20

autoPtr<volScalarField> msrProblem::_dec20

Definition at line 87 of file msrProblem.H.

◆ _dec3

autoPtr<volScalarField> msrProblem::_dec3

Definition at line 163 of file msrProblem.H.

◆ _dec30

autoPtr<volScalarField> msrProblem::_dec30

Definition at line 88 of file msrProblem.H.

◆ _decBeta1

autoPtr<dimensionedScalar> msrProblem::_decBeta1

Definition at line 135 of file msrProblem.H.

◆ _decBeta2

autoPtr<dimensionedScalar> msrProblem::_decBeta2

Definition at line 136 of file msrProblem.H.

◆ _decBeta3

autoPtr<dimensionedScalar> msrProblem::_decBeta3

Definition at line 137 of file msrProblem.H.

◆ _decbetaTot

autoPtr<dimensionedScalar> msrProblem::_decbetaTot

Definition at line 138 of file msrProblem.H.

◆ _decLam1

autoPtr<dimensionedScalar> msrProblem::_decLam1

Definition at line 132 of file msrProblem.H.

◆ _decLam2

autoPtr<dimensionedScalar> msrProblem::_decLam2

Definition at line 133 of file msrProblem.H.

◆ _decLam3

autoPtr<dimensionedScalar> msrProblem::_decLam3

Definition at line 134 of file msrProblem.H.

◆ _difft

autoPtr<volScalarField> msrProblem::_difft

Definition at line 151 of file msrProblem.H.

◆ _flux

autoPtr<volScalarField> msrProblem::_flux

Definition at line 131 of file msrProblem.H.

◆ _flux0

autoPtr<volScalarField> msrProblem::_flux0

Definition at line 76 of file msrProblem.H.

◆ _fvOptions

autoPtr<fv::options> msrProblem::_fvOptions

fvOptions

Definition at line 168 of file msrProblem.H.

◆ _IV1

autoPtr<dimensionedScalar> msrProblem::_IV1

Definition at line 101 of file msrProblem.H.

◆ _K0

autoPtr<dimensionedScalar> msrProblem::_K0

Definition at line 89 of file msrProblem.H.

◆ _Keff

autoPtr<dimensionedScalar> msrProblem::_Keff

Definition at line 100 of file msrProblem.H.

◆ _lam1

autoPtr<dimensionedScalar> msrProblem::_lam1

Definition at line 114 of file msrProblem.H.

◆ _lam2

autoPtr<dimensionedScalar> msrProblem::_lam2

Definition at line 115 of file msrProblem.H.

◆ _lam3

autoPtr<dimensionedScalar> msrProblem::_lam3

Definition at line 116 of file msrProblem.H.

◆ _lam4

autoPtr<dimensionedScalar> msrProblem::_lam4

Definition at line 117 of file msrProblem.H.

◆ _lam5

autoPtr<dimensionedScalar> msrProblem::_lam5

Definition at line 118 of file msrProblem.H.

◆ _lam6

autoPtr<dimensionedScalar> msrProblem::_lam6

Definition at line 119 of file msrProblem.H.

◆ _lam7

autoPtr<dimensionedScalar> msrProblem::_lam7

Definition at line 120 of file msrProblem.H.

◆ _lam8

autoPtr<dimensionedScalar> msrProblem::_lam8

Definition at line 121 of file msrProblem.H.

◆ _laminarTransport

autoPtr<singlePhaseTransportModel> msrProblem::_laminarTransport

Definition at line 57 of file msrProblem.H.

◆ _logT

autoPtr<volScalarField> msrProblem::_logT

Definition at line 160 of file msrProblem.H.

◆ _mesh

autoPtr<fvMesh> msrProblem::_mesh
mutable

Definition at line 51 of file msrProblem.H.

◆ _MRF

autoPtr<IOMRFZoneList> msrProblem::_MRF

Definition at line 59 of file msrProblem.H.

◆ _NSF

autoPtr<volScalarField> msrProblem::_NSF

Definition at line 109 of file msrProblem.H.

◆ _NSF0

autoPtr<volScalarField> msrProblem::_NSF0

Definition at line 91 of file msrProblem.H.

◆ _NSF1_0

autoPtr<dimensionedScalar> msrProblem::_NSF1_0

Definition at line 108 of file msrProblem.H.

◆ _nu

autoPtr<dimensionedScalar> msrProblem::_nu

Definition at line 63 of file msrProblem.H.

◆ _p

autoPtr<volScalarField> msrProblem::_p

Definition at line 60 of file msrProblem.H.

◆ _p0

autoPtr<volScalarField> msrProblem::_p0

Initial fields (for restart purposes)

Definition at line 73 of file msrProblem.H.

◆ _phi

autoPtr<surfaceScalarField> msrProblem::_phi

Definition at line 56 of file msrProblem.H.

◆ _phi0

autoPtr<surfaceScalarField> msrProblem::_phi0

Definition at line 75 of file msrProblem.H.

◆ _Pr

autoPtr<dimensionedScalar> msrProblem::_Pr

Definition at line 64 of file msrProblem.H.

◆ _prec1

autoPtr<volScalarField> msrProblem::_prec1

Definition at line 140 of file msrProblem.H.

◆ _prec10

autoPtr<volScalarField> msrProblem::_prec10

Definition at line 77 of file msrProblem.H.

◆ _prec2

autoPtr<volScalarField> msrProblem::_prec2

Definition at line 141 of file msrProblem.H.

◆ _prec20

autoPtr<volScalarField> msrProblem::_prec20

Definition at line 78 of file msrProblem.H.

◆ _prec3

autoPtr<volScalarField> msrProblem::_prec3

Definition at line 142 of file msrProblem.H.

◆ _prec30

autoPtr<volScalarField> msrProblem::_prec30

Definition at line 79 of file msrProblem.H.

◆ _prec4

autoPtr<volScalarField> msrProblem::_prec4

Definition at line 143 of file msrProblem.H.

◆ _prec40

autoPtr<volScalarField> msrProblem::_prec40

Definition at line 80 of file msrProblem.H.

◆ _prec5

autoPtr<volScalarField> msrProblem::_prec5

Definition at line 144 of file msrProblem.H.

◆ _prec50

autoPtr<volScalarField> msrProblem::_prec50

Definition at line 81 of file msrProblem.H.

◆ _prec6

autoPtr<volScalarField> msrProblem::_prec6

Definition at line 145 of file msrProblem.H.

◆ _prec60

autoPtr<volScalarField> msrProblem::_prec60

Definition at line 82 of file msrProblem.H.

◆ _prec7

autoPtr<volScalarField> msrProblem::_prec7

Definition at line 146 of file msrProblem.H.

◆ _prec70

autoPtr<volScalarField> msrProblem::_prec70

Definition at line 83 of file msrProblem.H.

◆ _prec8

autoPtr<volScalarField> msrProblem::_prec8

Definition at line 147 of file msrProblem.H.

◆ _prec80

autoPtr<volScalarField> msrProblem::_prec80

Definition at line 84 of file msrProblem.H.

◆ _Prt

autoPtr<dimensionedScalar> msrProblem::_Prt

Definition at line 65 of file msrProblem.H.

◆ _rhoRef

autoPtr<dimensionedScalar> msrProblem::_rhoRef

Definition at line 66 of file msrProblem.H.

◆ _runTime

autoPtr<Time> msrProblem::_runTime

Definition at line 47 of file msrProblem.H.

◆ _Sc

autoPtr<dimensionedScalar> msrProblem::_Sc

Definition at line 148 of file msrProblem.H.

◆ _Sct

autoPtr<dimensionedScalar> msrProblem::_Sct

Definition at line 149 of file msrProblem.H.

◆ _simple

autoPtr<simpleControl> msrProblem::_simple

simpleControl

Definition at line 173 of file msrProblem.H.

◆ _SP

autoPtr<volScalarField> msrProblem::_SP

Definition at line 112 of file msrProblem.H.

◆ _SP0

autoPtr<volScalarField> msrProblem::_SP0

Definition at line 94 of file msrProblem.H.

◆ _SP1_0

autoPtr<dimensionedScalar> msrProblem::_SP1_0

Definition at line 111 of file msrProblem.H.

◆ _T

autoPtr<volScalarField> msrProblem::_T

Definition at line 159 of file msrProblem.H.

◆ _T0

autoPtr<volScalarField> msrProblem::_T0

Definition at line 85 of file msrProblem.H.

◆ _Tref

autoPtr<dimensionedScalar> msrProblem::_Tref

Definition at line 69 of file msrProblem.H.

◆ _TrefXS

autoPtr<dimensionedScalar> msrProblem::_TrefXS

Definition at line 70 of file msrProblem.H.

◆ _TXS

autoPtr<volScalarField> msrProblem::_TXS

Definition at line 71 of file msrProblem.H.

◆ _TXS0

autoPtr<volScalarField> msrProblem::_TXS0

Definition at line 95 of file msrProblem.H.

◆ _U

autoPtr<volVectorField> msrProblem::_U

Definition at line 55 of file msrProblem.H.

◆ _U0

autoPtr<volVectorField> msrProblem::_U0

Definition at line 74 of file msrProblem.H.

◆ _v

autoPtr<volScalarField> msrProblem::_v

Definition at line 67 of file msrProblem.H.

◆ _v0

autoPtr<volScalarField> msrProblem::_v0

Definition at line 90 of file msrProblem.H.

◆ AF_matrix

List<Eigen::MatrixXd> msrProblem::AF_matrix

absorption flux

Definition at line 368 of file msrProblem.H.

◆ AFields

PtrList<volScalarField> msrProblem::AFields

List of pointers used to form the A snapshosts matrix.

Definition at line 252 of file msrProblem.H.

◆ Amodes

PtrList<volScalarField> msrProblem::Amodes

List of pointers used to form the A snapshosts matrix.

Definition at line 315 of file msrProblem.H.

◆ B_matrix

Eigen::MatrixXd msrProblem::B_matrix

Diffusion term.

Definition at line 329 of file msrProblem.H.

◆ BC1_matrix

Eigen::MatrixXd msrProblem::BC1_matrix

PPE BC1.

Definition at line 350 of file msrProblem.H.

◆ BC2_matrix

List<Eigen::MatrixXd> msrProblem::BC2_matrix

PPE BC2.

Definition at line 353 of file msrProblem.H.

◆ BC3_matrix

Eigen::MatrixXd msrProblem::BC3_matrix

PPE BC3.

Definition at line 356 of file msrProblem.H.

◆ bc_prec

Eigen::MatrixXd msrProblem::bc_prec

matrix to store the values of precursors BC inlet conditions

Definition at line 187 of file msrProblem.H.

◆ C_matrix

List<Eigen::MatrixXd> msrProblem::C_matrix

Non linear term.

Definition at line 338 of file msrProblem.H.

◆ cumulativeContErr

scalar msrProblem::cumulativeContErr = 0

continuity error

Definition at line 179 of file msrProblem.H.

◆ D_matrix

Eigen::MatrixXd msrProblem::D_matrix

Laplacian term PPE.

Definition at line 344 of file msrProblem.H.

◆ Dec1field

PtrList<volScalarField> msrProblem::Dec1field

List of pointers used to form the dec1 snapshots matrix.

Definition at line 231 of file msrProblem.H.

◆ Dec1modes

PtrList<volScalarField> msrProblem::Dec1modes

List of pointers used to form the dec1 modes.

Definition at line 297 of file msrProblem.H.

◆ Dec2field

PtrList<volScalarField> msrProblem::Dec2field

List of pointers used to form the dec2 snapshots matrix.

Definition at line 234 of file msrProblem.H.

◆ Dec2modes

PtrList<volScalarField> msrProblem::Dec2modes

List of pointers used to form the dec2 modes.

Definition at line 300 of file msrProblem.H.

◆ Dec3field

PtrList<volScalarField> msrProblem::Dec3field

List of pointers used to form the dec3 snapshots matrix.

Definition at line 237 of file msrProblem.H.

◆ Dec3modes

PtrList<volScalarField> msrProblem::Dec3modes

List of pointers used to form the dec3 modes.

Definition at line 303 of file msrProblem.H.

◆ DFields

PtrList<volScalarField> msrProblem::DFields

List of pointers used to form the D snapshosts matrix.

Definition at line 246 of file msrProblem.H.

◆ DFS1_matrix

List<Eigen::MatrixXd> msrProblem::DFS1_matrix

decay heat flux source term-1

Definition at line 476 of file msrProblem.H.

◆ DFS2_matrix

List<Eigen::MatrixXd> msrProblem::DFS2_matrix

decay heat flux source term-2

Definition at line 478 of file msrProblem.H.

◆ DFS3_matrix

List<Eigen::MatrixXd> msrProblem::DFS3_matrix

decay heat flux source term-3

Definition at line 480 of file msrProblem.H.

◆ Dmodes

PtrList<volScalarField> msrProblem::Dmodes

List of pointers used to form the D modes.

Definition at line 309 of file msrProblem.H.

◆ Fluxfield

PtrList<volScalarField> msrProblem::Fluxfield

List of pointers used to form the flux snapshots matrix.

Definition at line 201 of file msrProblem.H.

◆ Fluxmodes

PtrList<volScalarField> msrProblem::Fluxmodes

List of pointers used to form the flux modes.

Definition at line 267 of file msrProblem.H.

◆ FS1_matrix

List<Eigen::MatrixXd> msrProblem::FS1_matrix

precursor flux source term-1

Definition at line 438 of file msrProblem.H.

◆ FS2_matrix

List<Eigen::MatrixXd> msrProblem::FS2_matrix

precursor flux source term-2

Definition at line 440 of file msrProblem.H.

◆ FS3_matrix

List<Eigen::MatrixXd> msrProblem::FS3_matrix

precursor flux source term-3

Definition at line 442 of file msrProblem.H.

◆ FS4_matrix

List<Eigen::MatrixXd> msrProblem::FS4_matrix

precursor flux source term-4

Definition at line 444 of file msrProblem.H.

◆ FS5_matrix

List<Eigen::MatrixXd> msrProblem::FS5_matrix

precursor flux source term-5

Definition at line 446 of file msrProblem.H.

◆ FS6_matrix

List<Eigen::MatrixXd> msrProblem::FS6_matrix

precursor flux source term-6

Definition at line 448 of file msrProblem.H.

◆ FS7_matrix

List<Eigen::MatrixXd> msrProblem::FS7_matrix

precursor flux source term-7

Definition at line 450 of file msrProblem.H.

◆ FS8_matrix

List<Eigen::MatrixXd> msrProblem::FS8_matrix

precursor flux source term-8

Definition at line 452 of file msrProblem.H.

◆ G_matrix

List<Eigen::MatrixXd> msrProblem::G_matrix

Divergence of momentum PPE.

Definition at line 347 of file msrProblem.H.

◆ homboolT

bool msrProblem::homboolT = false

Definition at line 523 of file msrProblem.H.

◆ homboolU

bool msrProblem::homboolU = false

boolean variables to check if the homogenization of U and T is performed (true) or not (false)

Definition at line 522 of file msrProblem.H.

◆ K_matrix

Eigen::MatrixXd msrProblem::K_matrix

Gradient of pressure matrix.

Definition at line 335 of file msrProblem.H.

◆ LD1_matrix

Eigen::MatrixXd msrProblem::LD1_matrix

decay heat laplacian term-1

Definition at line 470 of file msrProblem.H.

◆ LD2_matrix

Eigen::MatrixXd msrProblem::LD2_matrix

decay heat laplacian term-2

Definition at line 472 of file msrProblem.H.

◆ LD3_matrix

Eigen::MatrixXd msrProblem::LD3_matrix

decay heat laplacian term-3

Definition at line 474 of file msrProblem.H.

◆ LF_matrix

List<Eigen::MatrixXd> msrProblem::LF_matrix

laplacian_flux

Definition at line 362 of file msrProblem.H.

◆ liftfield

PtrList<volVectorField> msrProblem::liftfield

List of pointers used to form the list of lifting functions.

Definition at line 513 of file msrProblem.H.

◆ liftfieldT

PtrList<volScalarField> msrProblem::liftfieldT

List of pointers used to form the list of lifting functions.

Definition at line 515 of file msrProblem.H.

◆ LP1_matrix

Eigen::MatrixXd msrProblem::LP1_matrix

precursor laplacian term-1

Definition at line 422 of file msrProblem.H.

◆ LP2_matrix

Eigen::MatrixXd msrProblem::LP2_matrix

precursor laplacian term-2

Definition at line 424 of file msrProblem.H.

◆ LP3_matrix

Eigen::MatrixXd msrProblem::LP3_matrix

precursor laplacian term-3

Definition at line 426 of file msrProblem.H.

◆ LP4_matrix

Eigen::MatrixXd msrProblem::LP4_matrix

precursor laplacian term-4

Definition at line 428 of file msrProblem.H.

◆ LP5_matrix

Eigen::MatrixXd msrProblem::LP5_matrix

precursor laplacian term-5

Definition at line 430 of file msrProblem.H.

◆ LP6_matrix

Eigen::MatrixXd msrProblem::LP6_matrix

precursor laplacian term-6

Definition at line 432 of file msrProblem.H.

◆ LP7_matrix

Eigen::MatrixXd msrProblem::LP7_matrix

precursor laplacian term-7

Definition at line 434 of file msrProblem.H.

◆ LP8_matrix

Eigen::MatrixXd msrProblem::LP8_matrix

precursor laplacian term-8

Definition at line 436 of file msrProblem.H.

◆ LT_matrix

Eigen::MatrixXd msrProblem::LT_matrix

temperature laplacian term

Definition at line 487 of file msrProblem.H.

◆ M_matrix

Eigen::MatrixXd msrProblem::M_matrix

Mass Matrix.

Definition at line 332 of file msrProblem.H.

◆ maxIter

scalar msrProblem::maxIter

Number of maximum iterations to be done for the computation of the truth solution.

Definition at line 177 of file msrProblem.H.

◆ MD1_matrix

Eigen::MatrixXd msrProblem::MD1_matrix

decay heat mass term-1

Definition at line 464 of file msrProblem.H.

◆ MD2_matrix

Eigen::MatrixXd msrProblem::MD2_matrix

decay heat mass term-2

Definition at line 466 of file msrProblem.H.

◆ MD3_matrix

Eigen::MatrixXd msrProblem::MD3_matrix

decay heat mass term-3

Definition at line 468 of file msrProblem.H.

◆ MF_matrix

Eigen::MatrixXd msrProblem::MF_matrix

mass flux

Definition at line 364 of file msrProblem.H.

◆ MP1_matrix

Eigen::MatrixXd msrProblem::MP1_matrix

precursor mass term-1

Definition at line 406 of file msrProblem.H.

◆ MP2_matrix

Eigen::MatrixXd msrProblem::MP2_matrix

precursor mass term-2

Definition at line 408 of file msrProblem.H.

◆ MP3_matrix

Eigen::MatrixXd msrProblem::MP3_matrix

precursor mass term-3

Definition at line 410 of file msrProblem.H.

◆ MP4_matrix

Eigen::MatrixXd msrProblem::MP4_matrix

precursor mass term-4

Definition at line 412 of file msrProblem.H.

◆ MP5_matrix

Eigen::MatrixXd msrProblem::MP5_matrix

precursor mass term-5

Definition at line 414 of file msrProblem.H.

◆ MP6_matrix

Eigen::MatrixXd msrProblem::MP6_matrix

precursor mass term-6

Definition at line 416 of file msrProblem.H.

◆ MP7_matrix

Eigen::MatrixXd msrProblem::MP7_matrix

precursor mass term-7

Definition at line 418 of file msrProblem.H.

◆ MP8_matrix

Eigen::MatrixXd msrProblem::MP8_matrix

precursor mass term-8

Definition at line 420 of file msrProblem.H.

◆ NCmodes

label msrProblem::NCmodes

Definition at line 506 of file msrProblem.H.

◆ NDecmodes

Eigen::VectorXi msrProblem::NDecmodes

Definition at line 504 of file msrProblem.H.

◆ NFluxmodes

label msrProblem::NFluxmodes

Definition at line 502 of file msrProblem.H.

◆ NPmodes

label msrProblem::NPmodes

Definition at line 501 of file msrProblem.H.

◆ NPrecmodes

Eigen::VectorXi msrProblem::NPrecmodes

Definition at line 503 of file msrProblem.H.

◆ NSFFields

PtrList<volScalarField> msrProblem::NSFFields

List of pointers used to form the NSF snapshosts matrix.

Definition at line 249 of file msrProblem.H.

◆ NSFmodes

PtrList<volScalarField> msrProblem::NSFmodes

List of pointers used to form the NSF snapshosts matrix.

Definition at line 312 of file msrProblem.H.

◆ NTmodes

label msrProblem::NTmodes

Definition at line 505 of file msrProblem.H.

◆ NUmodes

label msrProblem::NUmodes

Number of modes adopted during Galerkin projection.

Definition at line 500 of file msrProblem.H.

◆ P_matrix

Eigen::MatrixXd msrProblem::P_matrix

Div of velocity.

Definition at line 341 of file msrProblem.H.

◆ para

ITHACAparameters* msrProblem::para

Definition at line 370 of file msrProblem.H.

◆ PF_matrix

List<Eigen::MatrixXd> msrProblem::PF_matrix

production flux

Definition at line 366 of file msrProblem.H.

◆ Pfield

PtrList<volScalarField> msrProblem::Pfield

List of pointers used to form the pressure snapshots matrix.

Definition at line 195 of file msrProblem.H.

◆ Pmodes

PtrList<volScalarField> msrProblem::Pmodes

List of pointers used to form the pressure modes.

Definition at line 261 of file msrProblem.H.

◆ PowerDensfield

PtrList<volScalarField> msrProblem::PowerDensfield

List of pointers used to form the powerDens snapshots matrix.

Definition at line 240 of file msrProblem.H.

◆ Prec1field

PtrList<volScalarField> msrProblem::Prec1field

List of pointers used to form the prec1 snapshots matrix.

Definition at line 204 of file msrProblem.H.

◆ Prec1modes

PtrList<volScalarField> msrProblem::Prec1modes

List of pointers used to form the prec1 modes.

Definition at line 270 of file msrProblem.H.

◆ Prec2field

PtrList<volScalarField> msrProblem::Prec2field

List of pointers used to form the prec2 snapshots matrix.

Definition at line 207 of file msrProblem.H.

◆ Prec2modes

PtrList<volScalarField> msrProblem::Prec2modes

List of pointers used to form the prec1 modes.

Definition at line 273 of file msrProblem.H.

◆ Prec3field

PtrList<volScalarField> msrProblem::Prec3field

List of pointers used to form the prec3 snapshots matrix.

Definition at line 210 of file msrProblem.H.

◆ Prec3modes

PtrList<volScalarField> msrProblem::Prec3modes

List of pointers used to form the prec1 modes.

Definition at line 276 of file msrProblem.H.

◆ Prec4field

PtrList<volScalarField> msrProblem::Prec4field

List of pointers used to form the prec4 snapshots matrix.

Definition at line 213 of file msrProblem.H.

◆ Prec4modes

PtrList<volScalarField> msrProblem::Prec4modes

List of pointers used to form the prec1 modes.

Definition at line 279 of file msrProblem.H.

◆ Prec5field

PtrList<volScalarField> msrProblem::Prec5field

List of pointers used to form the prec5 snapshots matrix.

Definition at line 216 of file msrProblem.H.

◆ Prec5modes

PtrList<volScalarField> msrProblem::Prec5modes

List of pointers used to form the prec1 modes.

Definition at line 282 of file msrProblem.H.

◆ Prec6field

PtrList<volScalarField> msrProblem::Prec6field

List of pointers used to form the prec6 snapshots matrix.

Definition at line 219 of file msrProblem.H.

◆ Prec6modes

PtrList<volScalarField> msrProblem::Prec6modes

List of pointers used to form the prec1 modes.

Definition at line 285 of file msrProblem.H.

◆ Prec7field

PtrList<volScalarField> msrProblem::Prec7field

List of pointers used to form the prec7 snapshots matrix.

Definition at line 222 of file msrProblem.H.

◆ Prec7modes

PtrList<volScalarField> msrProblem::Prec7modes

List of pointers used to form the prec1 modes.

Definition at line 288 of file msrProblem.H.

◆ Prec8field

PtrList<volScalarField> msrProblem::Prec8field

List of pointers used to form the prec8 snapshots matrix.

Definition at line 225 of file msrProblem.H.

◆ Prec8modes

PtrList<volScalarField> msrProblem::Prec8modes

List of pointers used to form the prec1 modes.

Definition at line 291 of file msrProblem.H.

◆ precInBool

bool msrProblem::precInBool = false

boolean variable to decide if apply prec inlet BC

Definition at line 182 of file msrProblem.H.

◆ precinIndex

label msrProblem::precinIndex

indexes of inlet and outlet to adopt for precursors boundary conditions

Definition at line 184 of file msrProblem.H.

◆ precoutIndex

label msrProblem::precoutIndex

Definition at line 185 of file msrProblem.H.

◆ pRefCell

label msrProblem::pRefCell

Definition at line 61 of file msrProblem.H.

◆ pRefValue

scalar msrProblem::pRefValue

Definition at line 62 of file msrProblem.H.

◆ PS1_matrix

Eigen::MatrixXd msrProblem::PS1_matrix

prec_source 1

Definition at line 373 of file msrProblem.H.

◆ PS2_matrix

Eigen::MatrixXd msrProblem::PS2_matrix

prec_source 2

Definition at line 375 of file msrProblem.H.

◆ PS3_matrix

Eigen::MatrixXd msrProblem::PS3_matrix

prec_source 3

Definition at line 377 of file msrProblem.H.

◆ PS4_matrix

Eigen::MatrixXd msrProblem::PS4_matrix

prec_source 4

Definition at line 379 of file msrProblem.H.

◆ PS5_matrix

Eigen::MatrixXd msrProblem::PS5_matrix

prec_source 5

Definition at line 381 of file msrProblem.H.

◆ PS6_matrix

Eigen::MatrixXd msrProblem::PS6_matrix

prec_source 6

Definition at line 383 of file msrProblem.H.

◆ PS7_matrix

Eigen::MatrixXd msrProblem::PS7_matrix

prec_source 7

Definition at line 385 of file msrProblem.H.

◆ PS8_matrix

Eigen::MatrixXd msrProblem::PS8_matrix

prec_source 8

Definition at line 387 of file msrProblem.H.

◆ rbfsplines_A

std::vector<SPLINTER::RBFSpline*> msrProblem::rbfsplines_A

Definition at line 548 of file msrProblem.H.

◆ rbfsplines_D

std::vector<SPLINTER::RBFSpline*> msrProblem::rbfsplines_D

Definition at line 544 of file msrProblem.H.

◆ rbfsplines_NSF

std::vector<SPLINTER::RBFSpline*> msrProblem::rbfsplines_NSF

Definition at line 546 of file msrProblem.H.

◆ rbfsplines_SP

std::vector<SPLINTER::RBFSpline*> msrProblem::rbfsplines_SP

Definition at line 550 of file msrProblem.H.

◆ rbfsplines_TXS

std::vector<SPLINTER::RBFSpline*> msrProblem::rbfsplines_TXS

Definition at line 552 of file msrProblem.H.

◆ rbfsplines_v

std::vector<SPLINTER::RBFSpline*> msrProblem::rbfsplines_v

Definition at line 542 of file msrProblem.H.

◆ SAMPLES_A

std::vector<SPLINTER::DataTable*> msrProblem::SAMPLES_A

Definition at line 536 of file msrProblem.H.

◆ SAMPLES_D

std::vector<SPLINTER::DataTable*> msrProblem::SAMPLES_D

Definition at line 532 of file msrProblem.H.

◆ SAMPLES_NSF

std::vector<SPLINTER::DataTable*> msrProblem::SAMPLES_NSF

Definition at line 534 of file msrProblem.H.

◆ SAMPLES_SP

std::vector<SPLINTER::DataTable*> msrProblem::SAMPLES_SP

Definition at line 538 of file msrProblem.H.

◆ SAMPLES_TXS

std::vector<SPLINTER::DataTable*> msrProblem::SAMPLES_TXS

Definition at line 540 of file msrProblem.H.

◆ SAMPLES_v

std::vector<SPLINTER::DataTable*> msrProblem::SAMPLES_v

Definition at line 530 of file msrProblem.H.

◆ SD1_matrix

List<Eigen::MatrixXd> msrProblem::SD1_matrix

decay heat stream term-1

Definition at line 458 of file msrProblem.H.

◆ SD2_matrix

List<Eigen::MatrixXd> msrProblem::SD2_matrix

decay heat stream term-2

Definition at line 460 of file msrProblem.H.

◆ SD3_matrix

List<Eigen::MatrixXd> msrProblem::SD3_matrix

decay heat stream term-3

Definition at line 462 of file msrProblem.H.

◆ SPFields

PtrList<volScalarField> msrProblem::SPFields

List of pointers used to form the SP snapshosts matrix.

Definition at line 255 of file msrProblem.H.

◆ SPmodes

PtrList<volScalarField> msrProblem::SPmodes

List of pointers used to form the SP snapshosts matrix.

Definition at line 318 of file msrProblem.H.

◆ ST1_matrix

List<Eigen::MatrixXd> msrProblem::ST1_matrix

precursor stream term-1

Definition at line 390 of file msrProblem.H.

◆ ST2_matrix

List<Eigen::MatrixXd> msrProblem::ST2_matrix

precursor stream term-2

Definition at line 392 of file msrProblem.H.

◆ ST3_matrix

List<Eigen::MatrixXd> msrProblem::ST3_matrix

precursor stream term-3

Definition at line 394 of file msrProblem.H.

◆ ST4_matrix

List<Eigen::MatrixXd> msrProblem::ST4_matrix

precursor stream term-4

Definition at line 396 of file msrProblem.H.

◆ ST5_matrix

List<Eigen::MatrixXd> msrProblem::ST5_matrix

precursor stream term-5

Definition at line 398 of file msrProblem.H.

◆ ST6_matrix

List<Eigen::MatrixXd> msrProblem::ST6_matrix

precursor stream term-6

Definition at line 400 of file msrProblem.H.

◆ ST7_matrix

List<Eigen::MatrixXd> msrProblem::ST7_matrix

precursor stream term-7

Definition at line 402 of file msrProblem.H.

◆ ST8_matrix

List<Eigen::MatrixXd> msrProblem::ST8_matrix

precursor stream term-8

Definition at line 404 of file msrProblem.H.

◆ tau

double msrProblem::tau

Definition at line 154 of file msrProblem.H.

◆ Tfield

PtrList<volScalarField> msrProblem::Tfield

List of pointers used to form the temperature snapshots matrix.

Definition at line 228 of file msrProblem.H.

◆ THS1_matrix

List<Eigen::MatrixXd> msrProblem::THS1_matrix

temperature decay heat source term-1

Definition at line 491 of file msrProblem.H.

◆ THS2_matrix

List<Eigen::MatrixXd> msrProblem::THS2_matrix

temperature decay heat source term-2

Definition at line 493 of file msrProblem.H.

◆ THS3_matrix

List<Eigen::MatrixXd> msrProblem::THS3_matrix

temperature decay heat source term-3

Definition at line 495 of file msrProblem.H.

◆ TM_matrix

Eigen::MatrixXd msrProblem::TM_matrix

temperature mass term

Definition at line 483 of file msrProblem.H.

◆ Tmodes

PtrList<volScalarField> msrProblem::Tmodes

List of pointers used to form the temperature modes.

Definition at line 294 of file msrProblem.H.

◆ tolerance

scalar msrProblem::tolerance

Tolerance for the residual of the stationary problems, there is the same tolerance for velocity and pressure.

Definition at line 175 of file msrProblem.H.

◆ Tomfield

PtrList<volScalarField> msrProblem::Tomfield

List of pointers used to form the homogeneous velocity snapshots.

Definition at line 519 of file msrProblem.H.

◆ TS_matrix

List<Eigen::MatrixXd> msrProblem::TS_matrix

temperature stream term

Definition at line 485 of file msrProblem.H.

◆ turbulence

autoPtr<incompressible::turbulenceModel> msrProblem::turbulence

Definition at line 58 of file msrProblem.H.

◆ TXS_matrix

List<Eigen::MatrixXd> msrProblem::TXS_matrix

temperature flux source term TXS

Definition at line 489 of file msrProblem.H.

◆ TXSFields

PtrList<volScalarField> msrProblem::TXSFields

List of pointers used to form the SP snapshosts matrix.

Definition at line 258 of file msrProblem.H.

◆ TXSmodes

PtrList<volScalarField> msrProblem::TXSmodes

List of pointers used to form the SP snapshosts matrix.

Definition at line 321 of file msrProblem.H.

◆ Ufield

PtrList<volVectorField> msrProblem::Ufield

List of pointers used to form the velocity snapshots matrix.

Definition at line 198 of file msrProblem.H.

◆ Umodes

PtrList<volVectorField> msrProblem::Umodes

List of pointers used to form the velocity modes.

Definition at line 264 of file msrProblem.H.

◆ Uomfield

PtrList<volVectorField> msrProblem::Uomfield

List of pointers used to form the homogeneous velocity snapshots.

Definition at line 517 of file msrProblem.H.

◆ vFields

PtrList<volScalarField> msrProblem::vFields

List of pointers used to form the v snapshosts matrix.

Definition at line 243 of file msrProblem.H.

◆ vmodes

PtrList<volScalarField> msrProblem::vmodes

List of pointers used to form the v modes.

Definition at line 306 of file msrProblem.H.


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