40#include "singlePhaseTransportModel.H"
41#include "turbulentTransportModel.H"
42#include "pisoControl.H"
44#include "IOporosityModelList.H"
45#include "IOMRFZoneList.H"
46#include "fixedFluxPressureFvPatchScalarField.H"
102 autoPtr<volScalarField>
_T;
105 autoPtr<volScalarField>
_T0;
111 autoPtr<dimensionedScalar>
_DT;
114 autoPtr<dimensionedScalar>
_nu;
void truthSolve()
Perform a TruthSolve.
label NPmodes
Number of pressure modes used for the projection.
label NUmodes
Number of velocity modes used for the projection.
label NSUPmodes
Number of supremizer modes used for the projection.
Implementation of a parametrized full order unsteady NS problem weakly coupled with the energy equat...
PtrList< volVectorField > UModesWeighted
List of pointers used to form the Weighted nested-POD modes for velocity field.
Eigen::MatrixXd Y_matrix
Gradient of pressure matrix.
scalar pRefValue
Reference pressure value.
PtrList< volScalarField > Tfield
List of pointers used to form the temperature snapshots matrix.
List< Eigen::MatrixXd > convective_term_temperature(label NUmodes, label NTmodes, label NSUPmodes)
Convective Term for Temperature.
unsteadyNST()
Constructors.
List< Eigen::MatrixXd > Q_matrix
Non linear term.
PtrList< volScalarField > NUTModesWeighted
List of pointers used to form the Weighted nested-POD modes for nut-field.
scalar maxDeltaT
maxDeltaT
PtrList< volScalarField > liftfieldT
List of pointers used to form the list of the temperature lifting functions.
PtrList< volScalarField > Tomfield
List of pointers used to form the homogeneous temperature snapshots.
scalar timeStep
Time step of the simulation.
void projectSUP(fileName folder, label NUmodes, label NPmodes, label NTmodes, label NSUPmodes)
Specific variable for the unstationary case.
bool checkWrite(Time &timeObject)
Function to check if the solution must be exported.
autoPtr< Time > _runTime
Time.
label NTmodes
Number of temperature modes used for the projection.
scalar finalTime
Final time (final time of the simulation and consequently of the acquisition of the snapshots)
Eigen::MatrixXd diffusive_term_temperature(label NUmodes, label NTmodes, label NSUPmodes)
Diffusive Term for Temperature.
PtrList< volScalarField > PModesWeighted
List of pointers used to form the Weighted nested-POD modes for pressure field.
autoPtr< dimensionedScalar > _nu
dimensionedScalar nu;
Eigen::MatrixXd mass_term_temperature(label NUmodes, label NTmodes, label NSUPmodes)
Mass Term for Temperature.
scalar nextWrite
Auxiliary variable to store the next writing instant.
scalar startTime
Start Time (initial time to start storing the snapshots)
autoPtr< volScalarField > _T
Temperature field.
autoPtr< pisoControl > _piso
pisoControl
bool adjustTimeStep
adjustTimeStep
scalar writeEvery
Time step of the writing procedure.
void liftSolve()
Perform a lift solve for velocity field.
Eigen::MatrixXd MT_matrix
Mass Matrix T.
autoPtr< dimensionedScalar > _DT
dimensionedScalar DT;
label pRefCell
Reference pressure cell.
autoPtr< fvMesh > _mesh
Mesh.
PtrList< volScalarField > Tmodes
List of pointers used to form the temperature modes.
PtrList< volScalarField > TModesWeighted
List of pointers used to form the Weighted nested-POD modes for temperature field.
PtrList< volScalarField > L_T_modes
List of pointers containing the lift for temperature and the temperature field.
autoPtr< volScalarField > _T0
Initial Temperature field (for restart purposes)
void liftSolveT()
Perform a lift solve for temperature field.
Implementation of a parametrized full order unsteady NS problem and preparation of the the reduced ...
Header file of the unsteadyNS class.