|
|
|
|
/**
|
|
|
|
|
* 粘性模型
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef CFDSTRUCTDATASOLVERKVISLLMANAGER_H
|
|
|
|
|
#define CFDSTRUCTDATASOLVERKVISLLMANAGER_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include "CFDStructDataManager_global.h"
|
|
|
|
|
#include "CFDStructDataManagerBase.h"
|
|
|
|
|
|
|
|
|
|
class CUIConfig;
|
|
|
|
|
|
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverKvislManager : public CFDStructDataManagerBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CFDStructDataSolverKvislManager(QObject *parent = nullptr);
|
|
|
|
|
~CFDStructDataSolverKvislManager();
|
|
|
|
|
|
|
|
|
|
CUIConfig* getParamUIConfig();
|
|
|
|
|
void saveDataToDom(rapidjson::Document &dom);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 生成无粘界面配置
|
|
|
|
|
CUIConfig* genInviscidUIConfig();
|
|
|
|
|
|
|
|
|
|
// 生成层流界面配置
|
|
|
|
|
CUIConfig* genLaminarUIConfig();
|
|
|
|
|
|
|
|
|
|
// 生成雷诺平均_S-A界面配置
|
|
|
|
|
CUIConfig* genRANSSAUIConfig();
|
|
|
|
|
// 生成雷诺平均_Menters's κ-ω界面配置
|
|
|
|
|
CUIConfig* genRANSUIMentersConfig();
|
|
|
|
|
// 生成雷诺平均_κ-ε界面配置
|
|
|
|
|
CUIConfig* genRANSKEUIConfig();
|
|
|
|
|
|
|
|
|
|
// 生成分离涡模拟_S-A界面配置
|
|
|
|
|
CUIConfig* genDESSAUIConfig();
|
|
|
|
|
// 生成分离涡模拟_Menters's κ-ω界面配置
|
|
|
|
|
CUIConfig* genDESMentersUIConfig();
|
|
|
|
|
|
|
|
|
|
// 生成约束大涡模拟_S-A界面配置
|
|
|
|
|
CUIConfig* genCLESUIConfig();
|
|
|
|
|
// 生成约束大涡模拟_Menters's κ-ω界面配置
|
|
|
|
|
CUIConfig* genCLESMentersUIConfig();
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
//模型:0_无粘;1_层流;2_雷诺平均;3_分离涡模拟;4_约束大涡模拟;
|
|
|
|
|
int m_Model = 0;
|
|
|
|
|
|
|
|
|
|
//RNS模型:0_S-A(一方程);1_Menters's κ-ω(两方程);2_κ-ε(两方程);
|
|
|
|
|
int m_RNSModel = 0;
|
|
|
|
|
|
|
|
|
|
//S-A类型:0_standard;1_Edwards
|
|
|
|
|
int m_SAType = 0;
|
|
|
|
|
|
|
|
|
|
//κ-ω类型:0_standard
|
|
|
|
|
int m_kwType = 0;
|
|
|
|
|
|
|
|
|
|
//κ-ε类型:0_standard
|
|
|
|
|
int m_keType = 0;
|
|
|
|
|
|
|
|
|
|
//DES模型:0_DES;1_DDES;2_IDDES
|
|
|
|
|
int m_DESModel = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CUIConfig* m_uiConfig = nullptr;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDATASOLVERKvislLMANAGER_H
|