Loading...
Searching...
No Matches
ReducedUnsteadyNSExplicit.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ██╗████████╗██╗ ██╗ █████╗ ██████╗ █████╗ ███████╗██╗ ██╗
3 ██║╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔══██╗ ██╔════╝██║ ██║
4 ██║ ██║ ███████║███████║██║ ███████║█████╗█████╗ ██║ ██║
5 ██║ ██║ ██╔══██║██╔══██║██║ ██╔══██║╚════╝██╔══╝ ╚██╗ ██╔╝
6 ██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ╚████╔╝
7 ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═══╝
8
9 * In real Time Highly Advanced Computational Applications for Finite Volumes
10 * Copyright (C) 2020 by the ITHACA-FV authors
11-------------------------------------------------------------------------------
12License
13 This file is part of ITHACA-FV
14 ITHACA-FV is free software: you can redistribute it and/or modify
15 it under the terms of the GNU Lesser General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18 ITHACA-FV is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU Lesser General Public License for more details.
22 You should have received a copy of the GNU Lesser General Public License
23 along with ITHACA-FV. If not, see <http://www.gnu.org/licenses/>.
24Class
25 reducedProblem
26Description
27 A reduced problem for the unsteady NS equations
28SourceFiles
29 ReducedUnsteadyNSExplicit.C
30\*---------------------------------------------------------------------------*/
31
36
37#ifndef ReducedUnsteadyNSExplicit_H
38#define ReducedUnsteadyNSExplicit_H
39
40#include "fvCFD.H"
41#include "IOmanip.H"
42#include "ReducedSteadyNS.H"
43#include "ReducedUnsteadyNS.H"
44#include "UnsteadyNSExplicit.H"
45#include "unsteadyNS.H"
46#include <Eigen/Dense>
47#include <unsupported/Eigen/NonLinearOptimization>
48#include <unsupported/Eigen/NumericalDiff>
49
50/*---------------------------------------------------------------------------*\
51 Class reducedProblem Declaration
52\*---------------------------------------------------------------------------*/
53
55
57{
58 private:
59
60 public:
61 // Constructors
69
71
74
75 // Functions
76
85 void solveOnline(Eigen::MatrixXd vel_now, label startSnap = 0);
86
93 void reconstruct(bool exportFields = false,
94 fileName folder = "./online_rec");
95
96
97};
98
99
100// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101
102
103
104#endif
105
Header file of the reducedSteadyNS class.
Header file of the reducedUnsteadyNS class.
Header file of the UnsteadyNSExplicit class.
Class where it is implemented a reduced problem for the unsteady Navier-stokes problem.
void reconstruct(bool exportFields=false, fileName folder="./online_rec")
Method to reconstruct the solutions from an online solve with a supremizer stabilisation technique.
UnsteadyNSExplicit * problem
Pointer to the FOM problem.
Implementation of a parametrized full order unsteady NS problem and preparation of the the reduced ...
virtual void solveOnline()
Virtual Method to perform and online Solve.
Eigen::MatrixXd vel_now
Online inlet velocity vector.
Class where it is implemented a reduced problem for the unsteady Navier-stokes problem.
Header file of the unsteadyNS class.