You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
2.8 KiB
C++
115 lines
2.8 KiB
C++
/**
|
|
* 边界条件
|
|
*/
|
|
#ifndef CFDSTRUCTDATASOLVERBOUNDARYCONDITIONEMANAGER_H
|
|
#define CFDSTRUCTDATASOLVERBOUNDARYCONDITIONEMANAGER_H
|
|
|
|
#include <CFDStructDataManagerBase.h>
|
|
#include "CFDStructDataManager_global.h"
|
|
class CUIConfig;
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverBoundaryConditionManager : public CFDStructDataManagerBase
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CFDStructDataSolverBoundaryConditionManager(QObject *parent = nullptr);
|
|
~CFDStructDataSolverBoundaryConditionManager();
|
|
|
|
CUIConfig* getParamUIConfig();
|
|
|
|
private:
|
|
// 生成界面配置 远场
|
|
CUIConfig* genFarFieldModeUIConfig();
|
|
// 生成界面配置 压强入口
|
|
CUIConfig* genPressureInletModeUIConfig();
|
|
// 生成界面配置 压强出口
|
|
CUIConfig* genPressureOutletUIConfig();
|
|
// 生成界面配置 对称
|
|
CUIConfig* genSymmetricUIConfig();
|
|
// 生成界面配置 周期
|
|
CUIConfig* genCycleUIConfig();
|
|
// 生成界面配置 壁面 绝热壁
|
|
CUIConfig* genWallAdiabaticWallUIConfig();
|
|
// 生成界面配置 壁面 绝热壁
|
|
CUIConfig* genWallIsothermalWallUIConfig();
|
|
// 生成界面配置 壁面 绝热壁
|
|
CUIConfig* genWallHotFlowWallUIConfig();
|
|
signals:
|
|
|
|
private:
|
|
|
|
// 边界名称
|
|
QString m_BoundaryName; // Boundary Name
|
|
|
|
// 所属计算域
|
|
QString m_ComputationalDomain; // Computational Domain
|
|
|
|
// 边界类型
|
|
int m_BoundaryType; // Boundary Type
|
|
|
|
|
|
|
|
// 马赫数
|
|
double m_MachNumber; // Mach Number
|
|
|
|
// 密度
|
|
double m_Density; // Density
|
|
|
|
// 温度
|
|
double m_Temperature; // Temperature
|
|
|
|
// 来流方向
|
|
double m_InflowDirection; // Inflow Direction
|
|
|
|
// 湍流粘性比
|
|
double m_TurbulentViscosityRatio; // Turbulent Viscosity Ratio
|
|
|
|
// 湍流强度
|
|
double m_TurbulentIntensity; // Turbulent Intensity
|
|
|
|
// 总压
|
|
double m_TotalPressure; // Total Pressure
|
|
|
|
// 总温
|
|
double m_TotalTemperature; // Total Temperature
|
|
|
|
// 静压
|
|
double m_StaticPressure; // Static Pressure
|
|
|
|
// 来流方向
|
|
double m_InflowDirection; // Inflow Directionn
|
|
|
|
|
|
// 配对名称
|
|
double m_PairingName; // Pairing Name
|
|
|
|
// 对应面
|
|
int m_CorrespondingSurface; // Corresponding Surface
|
|
|
|
// 周期类型
|
|
int m_PeriodicType; // Periodic Type
|
|
|
|
// 平移距离
|
|
QString m_TranslationDistance; // Translation Distance
|
|
|
|
// 旋转中心
|
|
QString m_RotationCenter; // Rotation Center
|
|
|
|
// 转轴方向
|
|
QString m_RotationAxisDirection; // Rotation Axis Direction
|
|
|
|
// 旋转角
|
|
QString m_RotationAngle; // Rotation Angle
|
|
|
|
// 壁面类型
|
|
std::string m_WallType; // Wall Type
|
|
|
|
// 壁面温度
|
|
double m_WallTemperature; // Wall Temperature
|
|
|
|
// 壁面热流
|
|
double m_WallHeatFlux; // Wall Heat Flux
|
|
};
|
|
|
|
#endif // CFDSTRUCTDATASOLVERBOUNDARYCONDITIONMANAGER_H
|