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.
AppFlow/CFDStruct/CFDStructDataManager/CFDStructDataSolverKvislMan...

91 lines
2.6 KiB
C

/**
*
*/
#ifndef CFDSTRUCTDATASOLVERKVISLLMANAGER_H
#define CFDSTRUCTDATASOLVERKVISLLMANAGER_H
#include "CFDStructDataManagerBase.h"
#include "CFDStructDataManager_global.h"
#include <QObject>
class CUIConfig;
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverKvislManager : public CFDStructDataManagerBase {
Q_OBJECT
public:
explicit CFDStructDataSolverKvislManager(QObject *parent = nullptr);
~CFDStructDataSolverKvislManager();
CUIConfig *getParamUIConfig();
void saveDataToDom(rapidjson::Document &dom);
void readDataFromDom(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();
// ----------------------------这里是生成定常选项的界面---------------------
// 生成无粘界面配置
CUIConfig *genSteadyInviscidUIConfig();
// 生成层流界面配置
CUIConfig *genSteadyLaminarUIConfig();
// 生成雷诺平均_S-A界面配置
CUIConfig *genSteadyRANSSAUIConfig();
// 生成雷诺平均_Menters's κ-ω界面配置
CUIConfig *genSteadyRANSUIMentersConfig();
// 生成雷诺平均_κ-ε界面配置
CUIConfig *genSteadyRANSKEUIConfig();
signals:
private:
// 时间模式 定常、非定常
int m_runTime = 0;
// 模型: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