#include <ReducedUnsteadyMSR.H>
Public Member Functions | |
reducedusMSR () | |
reducedusMSR (usmsrProblem &problem) | |
~reducedusMSR () | |
void | solveOnline (Eigen::MatrixXd vel_now, Eigen::MatrixXd temp_now, Eigen::VectorXd mu_online, int startSnap=0) |
void | reconstructAP (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
void | reconstruct_fd (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
void | reconstruct_n (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
void | reconstruct_t (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
void | reconstruct_C (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
Public Member Functions inherited from reducedMSR | |
reducedMSR () | |
reducedMSR (msrProblem &problem) | |
~reducedMSR () | |
void | solveOnline (Eigen::MatrixXd vel_now, Eigen::MatrixXd temp_now, Eigen::VectorXd mu_online) |
Method to perform an online solve using a PPE stabilisation method. | |
void | clearFields () |
Method to clear all the fields of MSR (sets the size to zero) | |
void | reconstructAP (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
Methods to reconstruct a solution from an online solve with a PPE stabilisation technique. | |
void | reconstruct_fd (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
reconstruct fluid-dynamics | |
void | reconstruct_n (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
reconstruct neutronics | |
void | reconstruct_t (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
reconstruct thermal fields | |
void | reconstruct_C (fileName folder="./ITHACAOutput/online_rec", int printevery=1) |
reconstruct temperature dependent constants | |
Public Member Functions inherited from reducedProblem | |
reducedProblem () | |
Construct Null. | |
virtual | ~reducedProblem () |
reducedProblem (reductionProblem &problem) | |
Construct with reduced Problem. | |
virtual void | solveOnline () |
Virtual Method to perform and online Solve. | |
Public Attributes | |
newton_usmsr_fd | newton_object_fd |
newton_usmsr_n | newton_object_n |
newton_usmsr_t | newton_object_t |
scalar | time |
scalar | dt |
scalar | finalTime |
scalar | tstart |
usmsrProblem * | problem |
bool | recall = false |
Public Attributes inherited from reducedMSR | |
Eigen::VectorXd | y_old |
Vector to store the previous solution during the Newton procedure. | |
Eigen::VectorXd | w_old |
Eigen::VectorXd | z_old |
Eigen::VectorXd | y |
Vector to store the solution during the Newton procedure. | |
Eigen::VectorXd | w |
Eigen::VectorXd | z |
scalar | nu |
characteristic constants of the problem | |
scalar | rho |
scalar | Pr |
scalar | Sc |
scalar | d |
scalar | m |
scalar | nsf |
scalar | a |
scalar | Keff |
scalar | iv |
scalar | l1 |
scalar | l2 |
scalar | l3 |
scalar | l4 |
scalar | l5 |
scalar | l6 |
scalar | l7 |
scalar | l8 |
scalar | b1 |
scalar | b2 |
scalar | b3 |
scalar | b4 |
scalar | b5 |
scalar | b6 |
scalar | b7 |
scalar | b8 |
scalar | btot |
scalar | cp |
scalar | dl1 |
scalar | dl2 |
scalar | dl3 |
scalar | db1 |
scalar | db2 |
scalar | db3 |
scalar | dbtot |
scalar | sp |
List< Eigen::MatrixXd > | online_solution_fd |
List of Eigen matrices to store the online solution. | |
List< Eigen::MatrixXd > | online_solution_n |
List< Eigen::MatrixXd > | online_solution_t |
List< Eigen::MatrixXd > | online_solution_C |
PtrList< volVectorField > | Umodes |
List of pointers to store the modes for each field. | |
PtrList< volScalarField > | Pmodes |
PtrList< volScalarField > | Fluxmodes |
PtrList< volScalarField > | Prec1modes |
PtrList< volScalarField > | Prec2modes |
PtrList< volScalarField > | Prec3modes |
PtrList< volScalarField > | Prec4modes |
PtrList< volScalarField > | Prec5modes |
PtrList< volScalarField > | Prec6modes |
PtrList< volScalarField > | Prec7modes |
PtrList< volScalarField > | Prec8modes |
PtrList< volScalarField > | Tmodes |
PtrList< volScalarField > | Dec1modes |
PtrList< volScalarField > | Dec2modes |
PtrList< volScalarField > | Dec3modes |
PtrList< volScalarField > | vmodes |
PtrList< volScalarField > | Dmodes |
PtrList< volScalarField > | NSFmodes |
PtrList< volScalarField > | Amodes |
PtrList< volScalarField > | SPmodes |
PtrList< volScalarField > | TXSmodes |
PtrList< volVectorField > | Usnapshots |
List of pointers to store the snapshots for each field. | |
PtrList< volScalarField > | Psnapshots |
PtrList< volScalarField > | Fluxsnapshots |
PtrList< volScalarField > | Prec1snapshots |
PtrList< volScalarField > | Prec2snapshots |
PtrList< volScalarField > | Prec3snapshots |
PtrList< volScalarField > | Prec4snapshots |
PtrList< volScalarField > | Prec5snapshots |
PtrList< volScalarField > | Prec6snapshots |
PtrList< volScalarField > | Prec7snapshots |
PtrList< volScalarField > | Prec8snapshots |
PtrList< volScalarField > | Tsnapshots |
PtrList< volScalarField > | Dec1snapshots |
PtrList< volScalarField > | Dec2snapshots |
PtrList< volScalarField > | Dec3snapshots |
PtrList< volScalarField > | vsnapshots |
PtrList< volScalarField > | Dsnapshots |
PtrList< volScalarField > | NSFsnapshots |
PtrList< volScalarField > | Asnapshots |
PtrList< volScalarField > | SPsnapshots |
PtrList< volScalarField > | TXSsnapshots |
PtrList< volVectorField > | UREC |
Recontructed fields. | |
PtrList< volScalarField > | PREC |
PtrList< volScalarField > | FLUXREC |
PtrList< volScalarField > | PREC1REC |
PtrList< volScalarField > | PREC2REC |
PtrList< volScalarField > | PREC3REC |
PtrList< volScalarField > | PREC4REC |
PtrList< volScalarField > | PREC5REC |
PtrList< volScalarField > | PREC6REC |
PtrList< volScalarField > | PREC7REC |
PtrList< volScalarField > | PREC8REC |
PtrList< volScalarField > | TREC |
PtrList< volScalarField > | DEC1REC |
PtrList< volScalarField > | DEC2REC |
PtrList< volScalarField > | DEC3REC |
PtrList< volScalarField > | POWERDENSREC |
PtrList< volScalarField > | vREC |
PtrList< volScalarField > | DREC |
PtrList< volScalarField > | NSFREC |
PtrList< volScalarField > | AREC |
PtrList< volScalarField > | SPREC |
PtrList< volScalarField > | TXSREC |
newton_msr_fd | newton_object_fd |
Newton object used to solve the non linear problem. | |
newton_msr_n | newton_object_n |
newton_msr_t | newton_object_t |
msrProblem * | problem |
Pointer to the FOM problem. | |
int | Nphi_u |
Number of modes for each field. | |
int | Nphi_p |
int | Nphi_flux |
int | Nphi_prec1 |
int | Nphi_prec2 |
int | Nphi_prec3 |
int | Nphi_prec4 |
int | Nphi_prec5 |
int | Nphi_prec6 |
int | Nphi_prec7 |
int | Nphi_prec8 |
int | Nphi_T |
int | Nphi_dec1 |
int | Nphi_dec2 |
int | Nphi_dec3 |
int | Nphi_const |
bool | recall = false |
boolean variable to check if the user wants to reconstruct all the three physics of the problem | |
int | N_BC |
Number of parametrized boundary conditions. | |
int | N_BCt |
int | count_online_solve = 1 |
Counter to count the online solutions. | |
Public Attributes inherited from reducedProblem | |
scalar | nu |
Viscosity. | |
reductionProblem * | problem |
Pointer to FOAM problem. | |
Additional Inherited Members | |
Static Public Member Functions inherited from reducedProblem | |
static Eigen::MatrixXd | solveLinearSys (List< Eigen::MatrixXd > LinSys, Eigen::MatrixXd x, Eigen::VectorXd &residual, const Eigen::MatrixXd &bc=Eigen::MatrixXd::Zero(0, 0), const std::string solverType="fullPivLu") |
Linear system solver for the online problem. | |
static Eigen::MatrixXd | solveLinearSys (List< Eigen::MatrixXd > LinSys, Eigen::MatrixXd x, Eigen::VectorXd &residual, const std::string solverType) |
Linear system solver for the online problem. | |
Protected Member Functions inherited from reducedMSR | |
void | loadConstants (msrProblem *problem) |
Method to load all the constants needed in the ROM from ///the FOM. | |
Definition at line 198 of file ReducedUnsteadyMSR.H.
reducedusMSR::reducedusMSR | ( | ) |
Definition at line 28 of file ReducedUnsteadyMSR.C.
|
explicit |
Definition at line 30 of file ReducedUnsteadyMSR.C.
|
inline |
Definition at line 203 of file ReducedUnsteadyMSR.H.
void reducedusMSR::reconstruct_C | ( | fileName | folder = "./ITHACAOutput/online_rec", |
int | printevery = 1 ) |
Definition at line 1202 of file ReducedUnsteadyMSR.C.
void reducedusMSR::reconstruct_fd | ( | fileName | folder = "./ITHACAOutput/online_rec", |
int | printevery = 1 ) |
Definition at line 959 of file ReducedUnsteadyMSR.C.
void reducedusMSR::reconstruct_n | ( | fileName | folder = "./ITHACAOutput/online_rec", |
int | printevery = 1 ) |
Definition at line 1006 of file ReducedUnsteadyMSR.C.
void reducedusMSR::reconstruct_t | ( | fileName | folder = "./ITHACAOutput/online_rec", |
int | printevery = 1 ) |
Definition at line 1124 of file ReducedUnsteadyMSR.C.
void reducedusMSR::reconstructAP | ( | fileName | folder = "./ITHACAOutput/online_rec", |
int | printevery = 1 ) |
Definition at line 948 of file ReducedUnsteadyMSR.C.
void reducedusMSR::solveOnline | ( | Eigen::MatrixXd | vel_now, |
Eigen::MatrixXd | temp_now, | ||
Eigen::VectorXd | mu_online, | ||
int | startSnap = 0 ) |
Definition at line 580 of file ReducedUnsteadyMSR.C.
scalar reducedusMSR::dt |
Definition at line 209 of file ReducedUnsteadyMSR.H.
scalar reducedusMSR::finalTime |
Definition at line 210 of file ReducedUnsteadyMSR.H.
newton_usmsr_fd reducedusMSR::newton_object_fd |
Definition at line 205 of file ReducedUnsteadyMSR.H.
newton_usmsr_n reducedusMSR::newton_object_n |
Definition at line 206 of file ReducedUnsteadyMSR.H.
newton_usmsr_t reducedusMSR::newton_object_t |
Definition at line 207 of file ReducedUnsteadyMSR.H.
usmsrProblem* reducedusMSR::problem |
Definition at line 212 of file ReducedUnsteadyMSR.H.
bool reducedusMSR::recall = false |
Definition at line 214 of file ReducedUnsteadyMSR.H.
scalar reducedusMSR::time |
Definition at line 208 of file ReducedUnsteadyMSR.H.
scalar reducedusMSR::tstart |
Definition at line 211 of file ReducedUnsteadyMSR.H.