|
|
|
/**
|
|
|
|
* 求解器-基本模型
|
|
|
|
*/
|
|
|
|
#ifndef CFDSTRUCTDATASOLVERBASICMODELMANAGER_H
|
|
|
|
#define CFDSTRUCTDATASOLVERBASICMODELMANAGER_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "CFDStruct/CFDStructDataManager/CFDStructDataManagerBase.h"
|
|
|
|
#include "CFDStructDataManager_global.h"
|
|
|
|
class CUIConfig;
|
|
|
|
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverBasicModelManager : public CFDStructDataManagerBase
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit CFDStructDataSolverBasicModelManager(QObject *parent = nullptr);
|
|
|
|
~CFDStructDataSolverBasicModelManager();
|
|
|
|
|
|
|
|
CUIConfig* getParamUIConfig();
|
|
|
|
void saveDataToDom(rapidjson::Document &dom);
|
|
|
|
|
|
|
|
void readDataFromDom(rapidjson::Document &dom);
|
|
|
|
|
|
|
|
private:
|
|
|
|
// 生成流体属性关闭界面配置
|
|
|
|
CUIConfig* genFluidPropertiesOffUIConfig();
|
|
|
|
// 生成流体属性开启界面配置
|
|
|
|
CUIConfig* genFluidPropertiesOnUIConfig();
|
|
|
|
signals:
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
//流动模型:外流0;内流1;多级叶轮机械2
|
|
|
|
int m_FlowModel = 0;
|
|
|
|
|
|
|
|
//重叠网格:不勾选0;勾选1
|
|
|
|
int m_OverlayNetwork = 0;
|
|
|
|
|
|
|
|
//流体属性:关闭0;开启1
|
|
|
|
int m_FluidProperties = 0;
|
|
|
|
|
|
|
|
//气体成分
|
|
|
|
QString m_GasComposition = "";
|
|
|
|
|
|
|
|
// 气体常数
|
|
|
|
double m_Rgasmean = 0;
|
|
|
|
|
|
|
|
// 比热比
|
|
|
|
double m_Gmean = 0;
|
|
|
|
|
|
|
|
// 层流普朗特数
|
|
|
|
double m_Prlmean = 0;
|
|
|
|
|
|
|
|
// 湍流普朗特数
|
|
|
|
double m_Prtmean = 0;
|
|
|
|
|
|
|
|
|
|
|
|
CUIConfig* m_uiConfig = nullptr;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDATASOLVERBASICMODELMANAGER_H
|