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.
|
|
|
|
/**
|
|
|
|
|
* 边界条件
|
|
|
|
|
*/
|
|
|
|
|
#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:
|
|
|
|
|
// 时间模式:定常0,非定常1
|
|
|
|
|
int m_runtype = 0;
|
|
|
|
|
// 时间模式:定常0,则是迭代步数;时间模式:非定常1,则是内迭代步数
|
|
|
|
|
int m_mcyc = 1000;
|
|
|
|
|
// 步长模式 >=1
|
|
|
|
|
double m_alf0 = 1.0;
|
|
|
|
|
// 时间步长 >0
|
|
|
|
|
double m_realdt = 1.0;
|
|
|
|
|
// 时间步数 >=1
|
|
|
|
|
int m_nstep = 10;
|
|
|
|
|
// 时均统计量数据采样:0 | 1
|
|
|
|
|
int m_timeaverage = 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDATASOLVERBOUNDARYCONDITIONMANAGER_H
|