Loading...
Searching...
No Matches
sequentialIHTP Class Referenceabstract

Class to implement a full order inverse parameterized laplacian problem. More...

#include <sequentialIHTP.H>

Inheritance diagram for sequentialIHTP:
laplacianProblem reductionProblem

Public Member Functions

 sequentialIHTP (int argc, char *argv[])
 Construct with argc and argv.
void setDiffusivity (scalar _diff)
 Set diffusivity.
void setSpaceBasis (word type, scalar shapeParameter, label Npod=0)
 Define the base functions used for the parametrization of g.
void set_gParametrized (word spaceBaseFuncType, scalar shapeParameter_space)
 Set parameterized heat flux defining the basis.
volScalarField list2Field (List< scalar > list, scalar innerField=0.0)
 Convert list of boundary heat flux into field.
List< List< scalar > > interpolateWeights (List< scalar > Wold, List< scalar > Wnew)
void update_gParametrized (List< scalar > weights)
 Update the boundary condition g when g is parameterized.
void parameterizedBCoffline (bool force=0)
 Performs offline computation for the parameterized BC method, if the offline directory "".
void reconstrucT (word outputFolder)
 Reconstructs the temperature field using superposition of effects.
Eigen::VectorXd reconstrucT (Eigen::VectorXi cells)
 Reconstructs the temperature field using superposition of effects at some points at the last timestep of the offline phase.
void parameterizedBC (word folder, volScalarField initialField)
void set_valueFraction ()
 Set valueFraction list values for Robin condition.
virtual void assignDirectBC (label timeI)
 Set BC of the direct problem.
virtual void assignT0_IF (volScalarField &T0_init)=0
 Set IF of the T0 problem.
virtual void solveT0 (volScalarField initialField)
 Solve the T0 problem.
void getT0modes ()
 Compute T0 modes prome snapshots.
void projectT0 ()
 Project T0 matrices onto the reduced spaced.
void projectDirectOntoT0 ()
 Assemble the matrices to go from the gWeights to the T0 reduced space.
void pointProjectionOffline ()
 Assemble the matrix pointsProjectionMatrix to project some points on the reduced basis space.
void projectionErrorOffline ()
 Compute the L2 norm of the projection error for each Tbasis and Tad.
void T0offline (int NmagicPoints)
 Assemble all the matrices required in the online phase.
void solveAdditional ()
 Set BC and IF of the additional problem for the parameterized heat flux.
void solveDirect ()
 Solve direct problem.
virtual void readThermocouples ()
 Identifies in the mesh the cells corresponding to the termocouples locations.
Eigen::VectorXd fieldValueAtThermocouples (volScalarField &field)
 Interpolates the field value at the thermocouples points NOTE: do NOT call whe field is an element of a PtrList.
Eigen::VectorXd fieldValueAtThermocouples (PtrList< volScalarField > fieldList, label fieldI)
 Interpolates the field value at the thermocouples points Always use thisone for elementes of PtrList.
Eigen::VectorXd fieldValueAtThermocouples (PtrList< volScalarField > fieldList)
 Interpolates the field value at the thermocouples points.
void restart ()
 Restart temperature field.
void restartOffline ()
 Restart fields.
void restartT0 ()
 Restart fields.
void sampling2symulationTime ()
 Fills the vector samplingSteps which contains the timesteps at which the measurements are taken.
void parameterizedBC_postProcess (List< Eigen::MatrixXd > linSys, Eigen::VectorXd weigths, word outputFolder, label verbose=0)
void findMagicPoints (int NmagicPoints)
 Find the points at with the projection error is computed.
Public Member Functions inherited from laplacianProblem
 laplacianProblem (int argc, char *argv[])
 Construct with argc and argv.
void truthSolve (List< scalar > mu_now, word folder="./ITHACAoutput/Offline/")
 Perform a truthsolve.
void project (label Nmodes)
 Perform a projection onto the POD modes.
Public Member Functions inherited from reductionProblem
 reductionProblem ()
 Construct Null.
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

ITHACAparameterspara
autoPtr< volScalarField > _T
 Temperature field.
PtrList< volScalarField > Ttime
List< PtrList< volScalarField > > Tbasis
autoPtr< volScalarField > _Tad
 Additional temperature field.
PtrList< volScalarField > Tad_time
PtrList< volScalarField > T0_time
autoPtr< fvMesh > _mesh
 Mesh.
autoPtr< simpleControl > _simple
 simpleControl
autoPtr< fv::options > _fvOptions
 fvOptions
autoPtr< Time > _runTime
 Time.
autoPtr< Time > _runTimeShort
dimensionedScalar DT
 Dummy thermal diffusivity with unitary value.
scalar diffusivity = 0.0
 Diffusivity value.
PtrList< volScalarField > T0field
 List of snapshots for the T0 solutions.
volScalarModes T0modes
 List of POD modes.
Eigen::MatrixXd T0explicitMatrix_red
 T0 reduced explicit matrix.
Eigen::MatrixXd T0implicitMatrix_red
 T0 reduced implicit matrix.
Eigen::MatrixXd Tbasis_projectionMat
 Projection of the Tbasis on the reduced space.
Eigen::VectorXd Tad_projected
 Projection of Tad on the reduced space.
List< label > magicPoints
 Magic points for the T0 projection error estimation.
Eigen::MatrixXd pointsReconstructMatrix
 Matrix that reconstruct some points into the full order space.
Eigen::MatrixXd pointTbasis_reconstructionMat
 Matrix that reconstructs the Tbasis at the magic points.
Eigen::VectorXd pointTad_reconstructed
 Reconstruction of Tsd at the magic points.
PtrList< volScalarField > projectionErrorTbasis
 L2 norm of the projection error of Tbasis on the T0 modes.
PtrList< volScalarField > projectionErrorTad
 L2 norm of the projection error of Tad on the T0 modes.
int NmodesT0 = 0
 Number of POD modes.
scalar startTime
 Time discretization (filled in the constructor).
scalar deltaTime
scalar endTime
label Ntimes
List< scalar > timeSteps
List< scalar > samplingTime
 List of times at which the measurements are acquired (this List is filled by readThermocouples()).
scalar timeSamplesDeltaT
 Time interval in between samples (read from thermocouplesDict).
scalar timeSamplesT0
 First sampling time (read from thermocouplesDict).
label timeSamplesNum
 Number of time samples (filled in createThermocouples.H).
label NtimeStepsBetweenSamples
 Number of timesteps between two samples.
label timeSampleI
 Time sample index.
label basisDeltaSample = 2
 Number of sampling steps to consider when computing offline phase.
List< label > samplingSteps
 List of timesteps at which measurements are available.
bool thermocouplesRead = 0
 1 if readThermocouples() was called, 0 elsewise
int thermocouplesNum
 Number of thermocouples.
int gBasisSize
 Number of heat flux bases (both in time and space).
double J
 Cost funtion [K^2].
Eigen::VectorXd Jlist
 List of cost funtions [K^2].
double thermalCond
 Thermal conductivity [W/(m K)].
double HTC
 Heat transfer coefficient [W/(m2 K)].
double density
 Density [kg /m3].
double specificHeat
 Specific heat capacity [J/kg/K].
word folderOffline = "./ITHACAoutput/offlineParamBC/"
 Folder where the offline solutions are saved.
label offlineTimestepsSize = 0
 Number of timestep to solve for during offline phase.
scalar offlineEndTime = 0.0
 End time for the ofline computation.
bool offlineFlag = 0
bool interpolationFlag = 0
label NtimestepsInSequence = 0
 Number of timesteps considered in each acquisition sequence.
scalar homogeneousBC = 0.0
List< scalar > homogeneousBCcoldSide
List< scalar > Tf
List< scalar > refGrad
List< scalar > valueFraction
label hotSide_ind
 Index of the hotSide patch.
label coldSide_ind
 Index of the coldSide patch.
List< List< scalar > > g
 Heat flux at hotSide.
List< List< scalar > > heatFluxSpaceBasis
 Heat flux space basis.
List< List< List< scalar > > > gBaseFunctions
 Bases of the heat flux.
label Nbasis = 0
 Number of basis.
label NbasisInTime = 0
 Number of basis in time.
label NbasisInSpace = 0
 Number of basis in space.
label NsamplesWindow = 0
 Number of samples considered in the offline phase.
List< scalar > gWeights
 Weights of the parameterization.
List< scalar > gWeightsOld
 Weights of the parameterization.
List< List< scalar > > gTrue
 True heat flux at hotSide [W/m2].
Eigen::VectorXd residual
 Parametrized BC.
Eigen::VectorXd addSol
Eigen::VectorXd T0_vector
Eigen::VectorXd Tcomp
Eigen::MatrixXd Theta
word timeBasisType = "None"
word linSys_solver
label TSVD_filter
scalar Tikhonov_filter
label CG_Nsteps
List< vector > thermocouplesPos
List< int > thermocouplesCellID
List< int > thermocouplesCellProc
List< Foam::vector > thermocouplesCellC
Eigen::VectorXd Tmeas
Eigen::VectorXd TmeasShort
Eigen::VectorXd Tdirect
Eigen::VectorXd Tdiff
Public Attributes inherited from laplacianProblem
PtrList< volScalarField > Tfield
 List of snapshots for the solution.
PtrList< volScalarField > Tonline
 List of snapshots for the solution.
volScalarModes Tmodes
 List of POD modes.
PtrList< fvScalarMatrix > operator_list
 List of operators.
List< scalar > theta
 Theta (coefficients of the affine expansion).
PtrList< volScalarField > nu_list
 Nu (diffusivity).
label NTmodes
 Number of modes reduced problem.
List< Eigen::MatrixXd > A_matrices
 A matrices.
Eigen::MatrixXd source
 Source vector.
autoPtr< volScalarField > _T
 Temperature field.
autoPtr< volScalarField > _S
 Source Term.
autoPtr< volScalarField > _nu
 Diffusivity.
autoPtr< fvMesh > _mesh
 Mesh.
autoPtr< Time > _runTime
 Time.
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

Detailed Description

Class to implement a full order inverse parameterized laplacian problem.

Definition at line 60 of file sequentialIHTP.H.

Constructor & Destructor Documentation

◆ sequentialIHTP() [1/2]

sequentialIHTP::sequentialIHTP ( )

Definition at line 40 of file sequentialIHTP.C.

◆ sequentialIHTP() [2/2]

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

Construct with argc and argv.

Definition at line 42 of file sequentialIHTP.C.

◆ ~sequentialIHTP()

virtual sequentialIHTP::~sequentialIHTP ( )
inlinevirtual

Definition at line 69 of file sequentialIHTP.H.

Member Function Documentation

◆ assignDirectBC()

void sequentialIHTP::assignDirectBC ( label timeI)
virtual

Set BC of the direct problem.

Definition at line 642 of file sequentialIHTP.C.

◆ fieldValueAtThermocouples() [1/3]

Eigen::VectorXd sequentialIHTP::fieldValueAtThermocouples ( PtrList< volScalarField > fieldList)

Interpolates the field value at the thermocouples points.

Parameters
[in]fieldField to read the values
[in]Vectorof field values at thermocouples points

Definition at line 1075 of file sequentialIHTP.C.

◆ fieldValueAtThermocouples() [2/3]

Eigen::VectorXd sequentialIHTP::fieldValueAtThermocouples ( PtrList< volScalarField > fieldList,
label fieldI )

Interpolates the field value at the thermocouples points Always use thisone for elementes of PtrList.

Parameters
[in]fieldField to read the values
[in]Vectorof field values at thermocouples points

Definition at line 1068 of file sequentialIHTP.C.

◆ fieldValueAtThermocouples() [3/3]

Eigen::VectorXd sequentialIHTP::fieldValueAtThermocouples ( volScalarField & field)

Interpolates the field value at the thermocouples points NOTE: do NOT call whe field is an element of a PtrList.

Parameters
[in]fieldField to read the values
[in]Vectorof field values at thermocouples points

Definition at line 1045 of file sequentialIHTP.C.

◆ findMagicPoints()

void sequentialIHTP::findMagicPoints ( int NmagicPoints)

Find the points at with the projection error is computed.

Definition at line 1241 of file sequentialIHTP.C.

◆ getT0modes()

void sequentialIHTP::getT0modes ( )

Compute T0 modes prome snapshots.

Definition at line 722 of file sequentialIHTP.C.

◆ interpolateWeights()

List< List< scalar > > sequentialIHTP::interpolateWeights ( List< scalar > Wold,
List< scalar > Wnew )
Parameters
[in]

Definition at line 284 of file sequentialIHTP.C.

◆ list2Field()

volScalarField sequentialIHTP::list2Field ( List< scalar > list,
scalar innerField = 0.0 )

Convert list of boundary heat flux into field.

Definition at line 358 of file sequentialIHTP.C.

◆ parameterizedBC()

void sequentialIHTP::parameterizedBC ( word folder,
volScalarField initialField )

Definition at line 533 of file sequentialIHTP.C.

◆ parameterizedBC_postProcess()

void sequentialIHTP::parameterizedBC_postProcess ( List< Eigen::MatrixXd > linSys,
Eigen::VectorXd weigths,
word outputFolder,
label verbose = 0 )

Definition at line 1198 of file sequentialIHTP.C.

◆ parameterizedBCoffline()

void sequentialIHTP::parameterizedBCoffline ( bool force = 0)

Performs offline computation for the parameterized BC method, if the offline directory "".

/ITHACAoutputs/offlineParamBC" exists, it reads the solution from there

Parameters
[in]forceIf 1, force the offline phase to be computed

Saving basis

Definition at line 378 of file sequentialIHTP.C.

◆ pointProjectionOffline()

void sequentialIHTP::pointProjectionOffline ( )

Assemble the matrix pointsProjectionMatrix to project some points on the reduced basis space.

Definition at line 797 of file sequentialIHTP.C.

◆ projectDirectOntoT0()

void sequentialIHTP::projectDirectOntoT0 ( )

Assemble the matrices to go from the gWeights to the T0 reduced space.

Creation of the matrices to project direct solution at the last timestep onto the T0 reduced space

Definition at line 775 of file sequentialIHTP.C.

◆ projectionErrorOffline()

void sequentialIHTP::projectionErrorOffline ( )

Compute the L2 norm of the projection error for each Tbasis and Tad.

I compute the L2 norm of the Tbasis and Tad perpendicular to the projection

Definition at line 814 of file sequentialIHTP.C.

◆ projectT0()

void sequentialIHTP::projectT0 ( )

Project T0 matrices onto the reduced spaced.

Definition at line 738 of file sequentialIHTP.C.

◆ readThermocouples()

void sequentialIHTP::readThermocouples ( )
virtual

Identifies in the mesh the cells corresponding to the termocouples locations.

Definition at line 988 of file sequentialIHTP.C.

◆ reconstrucT() [1/2]

Eigen::VectorXd sequentialIHTP::reconstrucT ( Eigen::VectorXi cells)

Reconstructs the temperature field using superposition of effects at some points at the last timestep of the offline phase.

Parameters
[in]cellsCells IDs at which the field is reconstructed

Definition at line 514 of file sequentialIHTP.C.

◆ reconstrucT() [2/2]

void sequentialIHTP::reconstrucT ( word outputFolder)

Reconstructs the temperature field using superposition of effects.

Definition at line 470 of file sequentialIHTP.C.

◆ restart()

void sequentialIHTP::restart ( )

Restart temperature field.

Definition at line 1112 of file sequentialIHTP.C.

◆ restartOffline()

void sequentialIHTP::restartOffline ( )

Restart fields.

Definition at line 1145 of file sequentialIHTP.C.

◆ restartT0()

void sequentialIHTP::restartT0 ( )

Restart fields.

Definition at line 1156 of file sequentialIHTP.C.

◆ sampling2symulationTime()

void sequentialIHTP::sampling2symulationTime ( )

Fills the vector samplingSteps which contains the timesteps at which the measurements are taken.

Definition at line 1167 of file sequentialIHTP.C.

◆ set_gParametrized()

void sequentialIHTP::set_gParametrized ( word spaceBaseFuncType,
scalar shapeParameter_space )

Set parameterized heat flux defining the basis.

Definition at line 252 of file sequentialIHTP.C.

◆ set_valueFraction()

void sequentialIHTP::set_valueFraction ( )

Set valueFraction list values for Robin condition.

Definition at line 627 of file sequentialIHTP.C.

◆ setDiffusivity()

void sequentialIHTP::setDiffusivity ( scalar _diff)

Set diffusivity.

Definition at line 102 of file sequentialIHTP.C.

◆ setSpaceBasis()

void sequentialIHTP::setSpaceBasis ( word type,
scalar shapeParameter,
label Npod = 0 )

Define the base functions used for the parametrization of g.

###################Kabir: Export radius and the location of those selected thermocouples

###################Kabir: Export radius and the location of those selected thermocouples ###################Kabir: Export the heatFluxSpaceBasis data in order to plot the reconstructed heat flux, ITHACAoutput/projection/HeatFluxSpaceRBF

Definition at line 107 of file sequentialIHTP.C.

◆ solveAdditional()

void sequentialIHTP::solveAdditional ( )

Set BC and IF of the additional problem for the parameterized heat flux.

Definition at line 867 of file sequentialIHTP.C.

◆ solveDirect()

void sequentialIHTP::solveDirect ( )

Solve direct problem.

Definition at line 937 of file sequentialIHTP.C.

◆ solveT0()

void sequentialIHTP::solveT0 ( volScalarField initialField)
virtual

Solve the T0 problem.

Definition at line 664 of file sequentialIHTP.C.

◆ T0offline()

void sequentialIHTP::T0offline ( int NmagicPoints)

Assemble all the matrices required in the online phase.

Definition at line 857 of file sequentialIHTP.C.

◆ update_gParametrized()

void sequentialIHTP::update_gParametrized ( List< scalar > weights)

Update the boundary condition g when g is parameterized.

Parameters
[in]weigthsNew values of the weights of the basis functions

Definition at line 308 of file sequentialIHTP.C.

Member Data Documentation

◆ _fvOptions

autoPtr<fv::options> sequentialIHTP::_fvOptions

fvOptions

Definition at line 91 of file sequentialIHTP.H.

◆ _mesh

autoPtr<fvMesh> sequentialIHTP::_mesh
mutable

Mesh.

Definition at line 85 of file sequentialIHTP.H.

◆ _runTime

autoPtr<Time> sequentialIHTP::_runTime

Time.

Definition at line 94 of file sequentialIHTP.H.

◆ _runTimeShort

autoPtr<Time> sequentialIHTP::_runTimeShort

Definition at line 95 of file sequentialIHTP.H.

◆ _simple

autoPtr<simpleControl> sequentialIHTP::_simple

simpleControl

Definition at line 88 of file sequentialIHTP.H.

◆ _T

autoPtr<volScalarField> sequentialIHTP::_T

Temperature field.

Definition at line 75 of file sequentialIHTP.H.

◆ _Tad

autoPtr<volScalarField> sequentialIHTP::_Tad

Additional temperature field.

Definition at line 80 of file sequentialIHTP.H.

◆ addSol

Eigen::VectorXd sequentialIHTP::addSol

Definition at line 261 of file sequentialIHTP.H.

◆ basisDeltaSample

label sequentialIHTP::basisDeltaSample = 2

Number of sampling steps to consider when computing offline phase.

Definition at line 170 of file sequentialIHTP.H.

◆ CG_Nsteps

label sequentialIHTP::CG_Nsteps

Definition at line 270 of file sequentialIHTP.H.

◆ coldSide_ind

label sequentialIHTP::coldSide_ind

Index of the coldSide patch.

Definition at line 227 of file sequentialIHTP.H.

◆ deltaTime

scalar sequentialIHTP::deltaTime

Definition at line 145 of file sequentialIHTP.H.

◆ density

double sequentialIHTP::density

Density [kg /m3].

Definition at line 197 of file sequentialIHTP.H.

◆ diffusivity

scalar sequentialIHTP::diffusivity = 0.0

Diffusivity value.

Definition at line 101 of file sequentialIHTP.H.

◆ DT

dimensionedScalar sequentialIHTP::DT

Dummy thermal diffusivity with unitary value.

Definition at line 98 of file sequentialIHTP.H.

◆ endTime

scalar sequentialIHTP::endTime

Definition at line 146 of file sequentialIHTP.H.

◆ folderOffline

word sequentialIHTP::folderOffline = "./ITHACAoutput/offlineParamBC/"

Folder where the offline solutions are saved.

Definition at line 203 of file sequentialIHTP.H.

◆ g

List<List<scalar> > sequentialIHTP::g

Heat flux at hotSide.

Definition at line 230 of file sequentialIHTP.H.

◆ gBaseFunctions

List<List<List<scalar> > > sequentialIHTP::gBaseFunctions

Bases of the heat flux.

Definition at line 236 of file sequentialIHTP.H.

◆ gBasisSize

int sequentialIHTP::gBasisSize

Number of heat flux bases (both in time and space).

Definition at line 182 of file sequentialIHTP.H.

◆ gTrue

List<List<scalar> > sequentialIHTP::gTrue

True heat flux at hotSide [W/m2].

Definition at line 257 of file sequentialIHTP.H.

◆ gWeights

List<scalar> sequentialIHTP::gWeights

Weights of the parameterization.

Definition at line 251 of file sequentialIHTP.H.

◆ gWeightsOld

List<scalar> sequentialIHTP::gWeightsOld

Weights of the parameterization.

Definition at line 254 of file sequentialIHTP.H.

◆ heatFluxSpaceBasis

List<List<scalar> > sequentialIHTP::heatFluxSpaceBasis

Heat flux space basis.

Definition at line 233 of file sequentialIHTP.H.

◆ homogeneousBC

scalar sequentialIHTP::homogeneousBC = 0.0

Definition at line 217 of file sequentialIHTP.H.

◆ homogeneousBCcoldSide

List<scalar> sequentialIHTP::homogeneousBCcoldSide

Definition at line 218 of file sequentialIHTP.H.

◆ hotSide_ind

label sequentialIHTP::hotSide_ind

Index of the hotSide patch.

Definition at line 224 of file sequentialIHTP.H.

◆ HTC

double sequentialIHTP::HTC

Heat transfer coefficient [W/(m2 K)].

Definition at line 194 of file sequentialIHTP.H.

◆ interpolationFlag

bool sequentialIHTP::interpolationFlag = 0

Definition at line 212 of file sequentialIHTP.H.

◆ J

double sequentialIHTP::J

Cost funtion [K^2].

Definition at line 185 of file sequentialIHTP.H.

◆ Jlist

Eigen::VectorXd sequentialIHTP::Jlist

List of cost funtions [K^2].

Definition at line 188 of file sequentialIHTP.H.

◆ linSys_solver

word sequentialIHTP::linSys_solver

Definition at line 267 of file sequentialIHTP.H.

◆ magicPoints

List<label> sequentialIHTP::magicPoints

Magic points for the T0 projection error estimation.

Definition at line 122 of file sequentialIHTP.H.

◆ Nbasis

label sequentialIHTP::Nbasis = 0

Number of basis.

Definition at line 239 of file sequentialIHTP.H.

◆ NbasisInSpace

label sequentialIHTP::NbasisInSpace = 0

Number of basis in space.

Definition at line 245 of file sequentialIHTP.H.

◆ NbasisInTime

label sequentialIHTP::NbasisInTime = 0

Number of basis in time.

Definition at line 242 of file sequentialIHTP.H.

◆ NmodesT0

int sequentialIHTP::NmodesT0 = 0

Number of POD modes.

Definition at line 141 of file sequentialIHTP.H.

◆ NsamplesWindow

label sequentialIHTP::NsamplesWindow = 0

Number of samples considered in the offline phase.

Definition at line 248 of file sequentialIHTP.H.

◆ Ntimes

label sequentialIHTP::Ntimes

Definition at line 147 of file sequentialIHTP.H.

◆ NtimeStepsBetweenSamples

label sequentialIHTP::NtimeStepsBetweenSamples

Number of timesteps between two samples.

Definition at line 164 of file sequentialIHTP.H.

◆ NtimestepsInSequence

label sequentialIHTP::NtimestepsInSequence = 0

Number of timesteps considered in each acquisition sequence.

Definition at line 215 of file sequentialIHTP.H.

◆ offlineEndTime

scalar sequentialIHTP::offlineEndTime = 0.0

End time for the ofline computation.

Definition at line 209 of file sequentialIHTP.H.

◆ offlineFlag

bool sequentialIHTP::offlineFlag = 0

Definition at line 211 of file sequentialIHTP.H.

◆ offlineTimestepsSize

label sequentialIHTP::offlineTimestepsSize = 0

Number of timestep to solve for during offline phase.

Definition at line 206 of file sequentialIHTP.H.

◆ para

ITHACAparameters* sequentialIHTP::para

Definition at line 71 of file sequentialIHTP.H.

◆ pointsReconstructMatrix

Eigen::MatrixXd sequentialIHTP::pointsReconstructMatrix

Matrix that reconstruct some points into the full order space.

Definition at line 125 of file sequentialIHTP.H.

◆ pointTad_reconstructed

Eigen::VectorXd sequentialIHTP::pointTad_reconstructed

Reconstruction of Tsd at the magic points.

Definition at line 131 of file sequentialIHTP.H.

◆ pointTbasis_reconstructionMat

Eigen::MatrixXd sequentialIHTP::pointTbasis_reconstructionMat

Matrix that reconstructs the Tbasis at the magic points.

Definition at line 128 of file sequentialIHTP.H.

◆ projectionErrorTad

PtrList<volScalarField> sequentialIHTP::projectionErrorTad

L2 norm of the projection error of Tad on the T0 modes.

Definition at line 138 of file sequentialIHTP.H.

◆ projectionErrorTbasis

PtrList<volScalarField> sequentialIHTP::projectionErrorTbasis

L2 norm of the projection error of Tbasis on the T0 modes.

Definition at line 134 of file sequentialIHTP.H.

◆ refGrad

List<scalar> sequentialIHTP::refGrad

Definition at line 220 of file sequentialIHTP.H.

◆ residual

Eigen::VectorXd sequentialIHTP::residual

Parametrized BC.

Definition at line 260 of file sequentialIHTP.H.

◆ samplingSteps

List<label> sequentialIHTP::samplingSteps

List of timesteps at which measurements are available.

Definition at line 173 of file sequentialIHTP.H.

◆ samplingTime

List<scalar> sequentialIHTP::samplingTime

List of times at which the measurements are acquired (this List is filled by readThermocouples()).

Definition at line 152 of file sequentialIHTP.H.

◆ specificHeat

double sequentialIHTP::specificHeat

Specific heat capacity [J/kg/K].

Definition at line 200 of file sequentialIHTP.H.

◆ startTime

scalar sequentialIHTP::startTime

Time discretization (filled in the constructor).

Definition at line 144 of file sequentialIHTP.H.

◆ T0_time

PtrList<volScalarField> sequentialIHTP::T0_time

Definition at line 82 of file sequentialIHTP.H.

◆ T0_vector

Eigen::VectorXd sequentialIHTP::T0_vector

Definition at line 262 of file sequentialIHTP.H.

◆ T0explicitMatrix_red

Eigen::MatrixXd sequentialIHTP::T0explicitMatrix_red

T0 reduced explicit matrix.

Definition at line 110 of file sequentialIHTP.H.

◆ T0field

PtrList<volScalarField> sequentialIHTP::T0field

List of snapshots for the T0 solutions.

Definition at line 104 of file sequentialIHTP.H.

◆ T0implicitMatrix_red

Eigen::MatrixXd sequentialIHTP::T0implicitMatrix_red

T0 reduced implicit matrix.

Definition at line 113 of file sequentialIHTP.H.

◆ T0modes

volScalarModes sequentialIHTP::T0modes

List of POD modes.

Definition at line 107 of file sequentialIHTP.H.

◆ Tad_projected

Eigen::VectorXd sequentialIHTP::Tad_projected

Projection of Tad on the reduced space.

Definition at line 119 of file sequentialIHTP.H.

◆ Tad_time

PtrList<volScalarField> sequentialIHTP::Tad_time

Definition at line 81 of file sequentialIHTP.H.

◆ Tbasis

List<PtrList<volScalarField> > sequentialIHTP::Tbasis

Definition at line 77 of file sequentialIHTP.H.

◆ Tbasis_projectionMat

Eigen::MatrixXd sequentialIHTP::Tbasis_projectionMat

Projection of the Tbasis on the reduced space.

Definition at line 116 of file sequentialIHTP.H.

◆ Tcomp

Eigen::VectorXd sequentialIHTP::Tcomp

Definition at line 263 of file sequentialIHTP.H.

◆ Tdiff

Eigen::VectorXd sequentialIHTP::Tdiff

Definition at line 280 of file sequentialIHTP.H.

◆ Tdirect

Eigen::VectorXd sequentialIHTP::Tdirect

Definition at line 279 of file sequentialIHTP.H.

◆ Tf

List<scalar> sequentialIHTP::Tf

Definition at line 219 of file sequentialIHTP.H.

◆ thermalCond

double sequentialIHTP::thermalCond

Thermal conductivity [W/(m K)].

Definition at line 191 of file sequentialIHTP.H.

◆ thermocouplesCellC

List<Foam::vector> sequentialIHTP::thermocouplesCellC

Definition at line 275 of file sequentialIHTP.H.

◆ thermocouplesCellID

List<int> sequentialIHTP::thermocouplesCellID

Definition at line 273 of file sequentialIHTP.H.

◆ thermocouplesCellProc

List<int> sequentialIHTP::thermocouplesCellProc

Definition at line 274 of file sequentialIHTP.H.

◆ thermocouplesNum

int sequentialIHTP::thermocouplesNum

Number of thermocouples.

Definition at line 179 of file sequentialIHTP.H.

◆ thermocouplesPos

List<vector> sequentialIHTP::thermocouplesPos

Definition at line 272 of file sequentialIHTP.H.

◆ thermocouplesRead

bool sequentialIHTP::thermocouplesRead = 0

1 if readThermocouples() was called, 0 elsewise

Definition at line 176 of file sequentialIHTP.H.

◆ Theta

Eigen::MatrixXd sequentialIHTP::Theta

Definition at line 264 of file sequentialIHTP.H.

◆ Tikhonov_filter

scalar sequentialIHTP::Tikhonov_filter

Definition at line 269 of file sequentialIHTP.H.

◆ timeBasisType

word sequentialIHTP::timeBasisType = "None"

Definition at line 265 of file sequentialIHTP.H.

◆ timeSampleI

label sequentialIHTP::timeSampleI

Time sample index.

Definition at line 167 of file sequentialIHTP.H.

◆ timeSamplesDeltaT

scalar sequentialIHTP::timeSamplesDeltaT

Time interval in between samples (read from thermocouplesDict).

Definition at line 155 of file sequentialIHTP.H.

◆ timeSamplesNum

label sequentialIHTP::timeSamplesNum

Number of time samples (filled in createThermocouples.H).

Definition at line 161 of file sequentialIHTP.H.

◆ timeSamplesT0

scalar sequentialIHTP::timeSamplesT0

First sampling time (read from thermocouplesDict).

Definition at line 158 of file sequentialIHTP.H.

◆ timeSteps

List<scalar> sequentialIHTP::timeSteps

Definition at line 148 of file sequentialIHTP.H.

◆ Tmeas

Eigen::VectorXd sequentialIHTP::Tmeas

Definition at line 276 of file sequentialIHTP.H.

◆ TmeasShort

Eigen::VectorXd sequentialIHTP::TmeasShort

Definition at line 278 of file sequentialIHTP.H.

◆ TSVD_filter

label sequentialIHTP::TSVD_filter

Definition at line 268 of file sequentialIHTP.H.

◆ Ttime

PtrList<volScalarField> sequentialIHTP::Ttime

Definition at line 76 of file sequentialIHTP.H.

◆ valueFraction

List<scalar> sequentialIHTP::valueFraction

Definition at line 221 of file sequentialIHTP.H.


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