36class tutorial27_online
45 volVectorField* meanU;
47 PtrList<volVectorField> spatialModesU;
48 Eigen::MatrixXd massMatrixInv;
50 Eigen::MatrixXd temporalModesUSimulation;
52 word interpolatedField;
55 List<int> magicPoints;
56 labelList localMagicPoints;
57 Eigen::VectorXd weightAtMg;
58 std::vector<volTensorField> defTensorOfModesAtMg;
64 volScalarField* nut0=
nullptr;
65 volScalarField* delta=
nullptr;
66 volScalarField* aaa=
nullptr;
67 volScalarField* inv2aaa=
nullptr;
68 volTensorField* fullDefField=
nullptr;
69 volScalarField* bbb=
nullptr;
70 volScalarField* ccc=
nullptr;
71 volScalarField* sqrtk=
nullptr;
72 volScalarField* nut=
nullptr;
73 volVectorField* stressField=
nullptr;
74 volVectorField* meanSmagOnMagicNeighborhoods=
nullptr;
75 volScalarField* meanNutOnMagicPoints=
nullptr;
81 void evaluateApproxNut(
const Eigen::VectorXd& reducedCoeffs);
84 Eigen::VectorXd computeApproxSmagMg(
const Eigen::VectorXd& reducedCoeffs);
87 Eigen::VectorXd computeApproxNutMg(
const Eigen::VectorXd& reducedCoeffs);
90 Eigen::VectorXd predictSmagROMCoeffs(
const Eigen::VectorXd& reducedCoeffs);
93 volVectorField computeROMproj_fromCoeffs(
const Eigen::VectorXd& reducedCoeffs,
bool stressUnit=
false);
96 Eigen::VectorXd computeROMcoeffs_fromFullDim(volVectorField& f_full);
99 volVectorField computeSmagTerm_fromChronos(
const Eigen::VectorXd& reducedCoeffs);