VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
Mechanics2DRigidImmovable.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: Mechanics2DRigidImmovable.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 MECHANICS2DRIGIDIMMOVABLE_H
41#define MECHANICS2DRIGIDIMMOVABLE_H
42
43#include "Mechanics2D.h"
44
45namespace VM2D
46{
47
48 class World2D;
49
65 public Mechanics
66 {
67 public:
72 MechanicsRigidImmovable(const World2D& W_, size_t numberInPassport_);
73
76
77
78 //далее -- реализации виртуальных функций
79 virtual void GetHydroDynamForce() override;
80 virtual Point2D VeloOfAirfoilRcm(double currTime) override;
81 virtual Point2D PositionOfAirfoilRcm(double currTime) override;
82 virtual double AngularVelocityOfAirfoil(double currTime) override;
83 virtual double AngleOfAirfoil(double currTime) override;
84
85 virtual void VeloOfAirfoilPanels(double currTime) override;
86 virtual void ReadSpecificParametersFromDictionary() override {};
87
88 virtual void Move() override {};
89 };
90
91}//namespace VM2D
92
93#endif
Заголовочный файл с описанием класса Mechanics.
Абстрактный класс, определяющий вид механической системы
Definition Mechanics2D.h:72
Класс, определяющий вид механической системы
virtual void VeloOfAirfoilPanels(double currTime) override
Вычисление скоростей начал панелей
virtual void ReadSpecificParametersFromDictionary() override
Чтение параметров конкретной механической системы
virtual Point2D PositionOfAirfoilRcm(double currTime) override
Вычисление положения центра масс профиля
virtual double AngleOfAirfoil(double currTime) override
Вычисление угла поворота профиля
virtual Point2D VeloOfAirfoilRcm(double currTime) override
Вычисление скорости центра масс профиля
virtual void Move() override
Перемещение профиля в соответствии с законом
virtual double AngularVelocityOfAirfoil(double currTime) override
Вычисление угловой скорости профиля
virtual void GetHydroDynamForce() override
Вычисление гидродинамической силы, действующей на профиль
~MechanicsRigidImmovable()
Деструктор
Класс, опеделяющий текущую решаемую задачу
Definition World2D.h:74