Public Member Functions | |
| TurbDiffusionHyperreduction (Parameters *myParameters, bool mgPoints_0_Neighborhoods_1, T &template_HRInterpField, S &template_HRSnapshotsField, volF *&meanU, PtrList< volF > &spatialModesU) | |
| Class TurbDiffusionHyperreduction Constructor. | |
| ~TurbDiffusionHyperreduction () | |
| Class TurbDiffusionHyperreduction Destructor. | |
| void | precomputeTurbDiffusionFunctions (word &fieldToCompute) |
| Precompute and save non polynomial field. | |
| template<typename volGradF> | |
| void | computeDefTensor (volGradF tensorMeanU) |
| Compute the symmetric tensor of the velocity modes on the magic points submesh. | |
| void | common_MeanHRInterpField () |
| Compute the interpolated field's mean on the magic points submesh. | |
| void | computeTurbDiffusionHyperreduction () |
| Compute the hyperreduction by callng other methods. | |
Protected Attributes | |
| StoredParameters * | m_parameters |
| Parameter object containing main information. | |
| autoPtr< UnsteadyNSTurb > | ithacaUnsteadyNSTurb |
| Parameter object to evaluate interpolated functions. | |
| autoPtr< HyperReduction< PtrList< S > > > | ithacaHyperreduction |
| Hyperreduction objects to choose magic points. | |
| label | l_nSnapshot |
| Number of snapshot, also number of time step. | |
| label | l_startTime |
| start time of the POD decomposition | |
| label | l_nSnapshotSimulation |
| Number of Simulation snapshot, also number of time steps. | |
| word | snapshotsFolder |
| Path to snapshots, number, start and end time indices for each HR POD. If -1, set automatically by the POD class. | |
| label | POD_nSnapshot = -1 |
| label | POD_startTime = -1 |
| label | POD_endTime = -1 |
| T | template_HRInterpField |
| Interpolated field template. | |
| S | template_HRSnapshotsField |
| Snapshots field template. | |
| PtrList< volF > | f_spatialModesU |
| Pointer list of POD Modes of U. | |
| volF * | f_meanU |
| Pointer of mean of U. | |
| PtrList< S > | f_spatialModesHR |
| Eigen::MatrixXd | m_temporalModesHR |
| Eigen::MatrixXd | m_temporalModesHRSimulation |
| Eigen::MatrixXd | covMatrixHR |
| word | folder_HR |
| Export folder for HR operators. | |
| Foam::Time | runTime2 |
| Dummy Foam::Time object for mesh and submesh management. | |
| bool | mgPoints_0_Neighborhoods_1 |
| Boolean to include or not magic points' neighbourhood in the submesh 0 if only magicPoints and 1 if include magicNeighborhoods. | |
| word | HRMethod |
| word | HRInterpField |
| word | HRSnapshotsField |
| word | ECPAlgo |
| bool | interpFieldCenteredOrNot |
Definition at line 48 of file TurbDiffusionHyperreduction.H.
| template TurbDiffusionHyperreduction< volF, T, S >::TurbDiffusionHyperreduction | ( | Parameters * | myParameters, |
| bool | mgPoints_0_Neighborhoods_1, | ||
| T & | template_HRInterpField, | ||
| S & | template_HRSnapshotsField, | ||
| volF *& | meanU, | ||
| PtrList< volF > & | spatialModesU ) |
Class TurbDiffusionHyperreduction Constructor.
This class is used to perform the offline part of hyperreduction on a turbulent non-stationnary diffusion
| [in] | myParameters | StoredParameters object |
| [in] | mgPoints_0_Neighborhoods_1 | boolean Include neighboroods in submesh or not |
| [in] | template_HRInterpField | volScalarField or volVectorField Template of the interpolated field |
| [in] | template_HRInterpField | volScalarField or volVectorField Template of the snapshots field |
| [in] | meanU | volVectorField Mean of the velocity field |
| [in] | spatialModesU | PtrList<volVectorField> POD modes of the velocity field |
Definition at line 39 of file TurbDiffusionHyperreduction.C.
| template TurbDiffusionHyperreduction< volF, T, S >::~TurbDiffusionHyperreduction | ( | ) |
Class TurbDiffusionHyperreduction Destructor.
Definition at line 67 of file TurbDiffusionHyperreduction.C.
| template void TurbDiffusionHyperreduction< volF, T, S >::common_MeanHRInterpField | ( | ) |
Compute the interpolated field's mean on the magic points submesh.
Saves the result in the StoredParameters object
Definition at line 101 of file TurbDiffusionHyperreduction.C.
| template void TurbDiffusionHyperreduction< volF, T, S >::computeDefTensor | ( | volGradF | tensorMeanU | ) |
Compute the symmetric tensor of the velocity modes on the magic points submesh.
Saves the result in the StoredParameters object
Definition at line 75 of file TurbDiffusionHyperreduction.C.
| template void TurbDiffusionHyperreduction< volF, T, S >::computeTurbDiffusionHyperreduction | ( | ) |
Compute the hyperreduction by callng other methods.
Generic function working to hyperreduce any of the possible fields
Definition at line 398 of file TurbDiffusionHyperreduction.C.
| template void TurbDiffusionHyperreduction< volF, T, S >::precomputeTurbDiffusionFunctions | ( | word & | fieldToCompute | ) |
Precompute and save non polynomial field.
Precompute either the interpolated fields or the snapshot fields depending on the argument
| [in] | fieldToCompute | word Name of the field to compute |
Definition at line 119 of file TurbDiffusionHyperreduction.C.
|
protected |
Definition at line 97 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 119 of file TurbDiffusionHyperreduction.H.
|
protected |
Pointer of mean of U.
Definition at line 85 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 88 of file TurbDiffusionHyperreduction.H.
|
protected |
Pointer list of POD Modes of U.
Definition at line 82 of file TurbDiffusionHyperreduction.H.
|
protected |
Export folder for HR operators.
Definition at line 100 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 113 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 110 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 116 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 122 of file TurbDiffusionHyperreduction.H.
|
protected |
Hyperreduction objects to choose magic points.
Definition at line 58 of file TurbDiffusionHyperreduction.H.
|
protected |
Parameter object to evaluate interpolated functions.
Definition at line 55 of file TurbDiffusionHyperreduction.H.
|
protected |
Number of snapshot, also number of time step.
Definition at line 61 of file TurbDiffusionHyperreduction.H.
|
protected |
Number of Simulation snapshot, also number of time steps.
Definition at line 67 of file TurbDiffusionHyperreduction.H.
|
protected |
start time of the POD decomposition
Definition at line 64 of file TurbDiffusionHyperreduction.H.
|
protected |
Parameter object containing main information.
Definition at line 52 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 91 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 94 of file TurbDiffusionHyperreduction.H.
|
protected |
Boolean to include or not magic points' neighbourhood in the submesh 0 if only magicPoints and 1 if include magicNeighborhoods.
Definition at line 107 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 73 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 71 of file TurbDiffusionHyperreduction.H.
|
protected |
Definition at line 72 of file TurbDiffusionHyperreduction.H.
|
protected |
Dummy Foam::Time object for mesh and submesh management.
Definition at line 103 of file TurbDiffusionHyperreduction.H.
|
protected |
Path to snapshots, number, start and end time indices for each HR POD. If -1, set automatically by the POD class.
Definition at line 70 of file TurbDiffusionHyperreduction.H.
|
protected |
Interpolated field template.
Definition at line 76 of file TurbDiffusionHyperreduction.H.
|
protected |
Snapshots field template.
Definition at line 79 of file TurbDiffusionHyperreduction.H.
1.16.1