37#ifndef HyperReducedCompressibleUnSteadyNS_H
38#define HyperReducedCompressibleUnSteadyNS_H
43#include "UnsteadyProblem.H"
88 fileName folder =
"./ITHACAoutput/Online/");
116 Eigen::SparseMatrix<double>& S,
118 List<label>& MagicPoints,
119 Eigen::MatrixXd&
Modes);
127 volScalarModes Emodes, Pmodes;
129 scalar startTime = 0.0;
130 scalar finalTime = 0.0;
131 scalar timeStep = 0.0;
132 scalar writeEvery = timeStep;
133 scalar nextWrite = 0.0;
136 PtrList<volVectorField> Ufield;
141 volScalarModes nutModes;
Header file of the CompressibleUnSteadyPimple class.
Header file of the ITHACAutilities namespace.
Header file of the Modes class.
Header file of the reducedSteadyNS class.
Header file of the reducedProblem class.
Implementation of a parametrized full order Compressible UnSteady Pimple and preparation of the the...
HyperReducedCompressibleUnSteadyNS()
Construct Null.
std::tuple< Eigen::MatrixXd, Eigen::VectorXd > HyperReducedSys(Eigen::SparseMatrix< double > &S, Eigen::VectorXd &se, List< label > &MagicPoints, Eigen::MatrixXd &Modes)
It assembles the reduced oeprators using the modes.
bool checkWrite(Time &timeObject)
Method to check and write solutions.
Eigen::MatrixXd vel_now
Imposed boundary conditions.
void setOnlineVelocity(Eigen::MatrixXd vel)
It checks if the number of imposed boundary conditions is correct and set the inlet velocity equal to...
Eigen::MatrixXd projGradModP
Projected gradient of the pressure modes.
void SolveHyperReducedSys(int NmodesUproj, int NmodesPproj, int NmodesEproj, fileName folder="./ITHACAoutput/Online/")
Method to perform an online solve using a PPE stabilisation method.
PtrList< volScalarField > Pfield
List to save the solutions.
void projectReducedOperators(int NmodesUproj, int NmodesPproj, int NmodesEproj)
It assembles the reduced oeprators using the modes.
CompressibleUnSteadyRhoPimple * problem
Full problem.
volVectorModes Umodes
velocity modes.
Implementation of a container class derived from PtrList.
ReducedCompressibleSteadyNS()
Construct Null.