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.
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
/**
|
|
* 参考量
|
|
* 无量纲化
|
|
*/
|
|
#ifndef CFDSTRUCTDATASOLVERREFERENCEQUANTITYEMANAGER_H
|
|
#define CFDSTRUCTDATASOLVERREFERENCEQUANTITYEMANAGER_H
|
|
|
|
#include "CFDStructDataManager_global.h"
|
|
#include <CFDStructDataManagerBase.h>
|
|
class CUIConfig;
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverReferenceQuantityManager : public CFDStructDataManagerBase {
|
|
Q_OBJECT
|
|
public:
|
|
explicit CFDStructDataSolverReferenceQuantityManager(QObject *parent = nullptr);
|
|
~CFDStructDataSolverReferenceQuantityManager();
|
|
|
|
CUIConfig *getParamUIConfig();
|
|
void saveDataToDom(rapidjson::Document &dom);
|
|
|
|
private:
|
|
// 生成界面配置
|
|
CUIConfig *genUIConfig();
|
|
signals:
|
|
|
|
private:
|
|
// 参考值取自
|
|
int m_ReferenceValuesFrom; // Reference Values From
|
|
|
|
// 压强
|
|
double m_Pressure; // Pressure
|
|
|
|
// 温度
|
|
double m_Temperature; // Temperature
|
|
|
|
// 长度
|
|
double m_Length; // Length
|
|
|
|
// 面积
|
|
double m_Area; // Area
|
|
|
|
// 力矩矩心
|
|
QString m_TorqueCenterOfMoment = 0;
|
|
};
|
|
|
|
#endif // CFDSTRUCTDATASOLVERREFERENCEQUANTITYEMANAGER_H
|