VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
Airfoil2DRigid.h
Go to the documentation of this file.
1/*--------------------------------*- VM2D -*-----------------*---------------*\
2| ## ## ## ## #### ##### | | Version 1.14 |
3| ## ## ### ### ## ## ## ## | VM2D: Vortex Method | 2026/03/06 |
4| ## ## ## # ## ## ## ## | for 2D Flow Simulation *----------------*
5| #### ## ## ## ## ## | Open Source Code |
6| ## ## ## ###### ##### | https://www.github.com/vortexmethods/VM2D |
7| |
8| Copyright (C) 2017-2026 I. Marchevsky, K. Sokol, E. Ryatina, A. Kolganova |
9*-----------------------------------------------------------------------------*
10| File name: Airfoil2DRect.h |
11| Info: Source code of VM2D |
12| |
13| This file is part of VM2D. |
14| VM2D is free software: you can redistribute it and/or modify it |
15| under the terms of the GNU 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| |
19| VM2D is distributed in the hope that it will be useful, but WITHOUT |
20| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
21| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
22| for more details. |
23| |
24| You should have received a copy of the GNU General Public License |
25| along with VM2D. If not, see <http://www.gnu.org/licenses/>. |
26\*---------------------------------------------------------------------------*/
27
28
40#ifndef AIRFOILRECT_H
41#define AIRFOILRECT_H
42
43#include "Airfoil2D.h"
44
45namespace VM2D
46{
47
48 class World2D;
49
65 : public Airfoil
66 {
67 public:
68
70 AirfoilRigid(const World2D& W_, const size_t numberInPassport_)
71 :Airfoil(W_, numberInPassport_)
72 { };
73
74 AirfoilRigid(const Airfoil& afl) : Airfoil(afl) {};
75
77 virtual ~AirfoilRigid() { };
78
80 //void CalcNrmTauLen();
81
82// ///Вычисляет габаритный прямоугольник профиля
83// virtual void GetGabarits(double gap = 0.02) override;
84//
85// //далее -- реализация виртуальных функций
86// virtual void ReadFromFile(const std::string& dir) override;
87// virtual void Rotate(double alpha) override;
88// virtual void Scale(const Point2D&) override;
89// virtual void Move(const Point2D& dr) override;
90//
91// virtual std::vector<double> getA(size_t p, size_t i, const Airfoil& airfoil, size_t j) const override;
92// virtual void calcIQ(size_t p, const Airfoil& otherAirfoil, std::pair<Eigen::MatrixXd, Eigen::MatrixXd>& matrPair) const override;
93//
94// virtual bool IsPointInAirfoil(const Point2D& point) const override;
95//
96// virtual void GetDiffVelocityI0I3ToSetOfPointsAndViscousStresses(const WakeDataBase& pointsDb, std::vector<double>& domainRadius, std::vector<double>& I0, std::vector<Point2D>& I3) override;
97//#if defined(USE_CUDA)
98// virtual void GPUGetDiffVelocityI0I3ToSetOfPointsAndViscousStresses(const WakeDataBase& pointsDb, std::vector<double>& domainRadius, std::vector<double>& I0, std::vector<Point2D>& I3) override;
99//#endif
100// virtual void GetDiffVelocityI0I3ToWakeAndViscousStresses(const WakeDataBase& pointsDb, std::vector<double>& domainRadius, std::vector<double>& I0, std::vector<Point2D>& I3) override;
101//
102// virtual void GetInfluenceFromVorticesToPanel(size_t panel, const Vortex2D* ptr, ptrdiff_t count, std::vector<double>& panelRhs) const override;
103// virtual void GetInfluenceFromSourcesToPanel(size_t panel, const Vortex2D* ptr, ptrdiff_t count, std::vector<double>& panelRhs) const override;
104//
105// virtual void GetInfluenceFromSourceSheetToVortex(size_t panel, const Vortex2D& vtx, Point2D& vel) const override;
106// virtual void GetInfluenceFromVortexSheetToVortex(size_t panel, const Vortex2D& vtx, Point2D& vel) const override;
107//
108// virtual void GetInfluenceFromVInfToPanel(std::vector<double>& vInfRhs) const override;
109 };
110
111}//namespace VM2D
112
113#endif
Заголовочный файл с описанием класса Airfoil.
Абстрактный класс, определяющий обтекаемый профиль
Definition Airfoil2D.h:182
Класс, определяющий тип обтекаемого профиля
virtual ~AirfoilRigid()
Деструктор
AirfoilRigid(const World2D &W_, const size_t numberInPassport_)
Конструктор
AirfoilRigid(const Airfoil &afl)
Класс, опеделяющий текущую решаемую задачу
Definition World2D.h:74