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/CFDStructDataSolverInitiali...

75 lines
1.7 KiB
C++

/**
* 初始化
*/
#ifndef CFDSTRUCTDATASOLVERINITIALIZATIONEMANAGER_H
#define CFDSTRUCTDATASOLVERINITIALIZATIONEMANAGER_H
#include <CFDStructDataManagerBase.h>
#include "CFDStructDataManager_global.h"
class CUIConfig;
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataSolverInitializationManager : public CFDStructDataManagerBase {
Q_OBJECT
public:
explicit CFDStructDataSolverInitializationManager(QObject* parent = nullptr);
~CFDStructDataSolverInitializationManager();
CUIConfig* getParamUIConfig();
void saveDataToDom(rapidjson::Document& dom);
void readDataFromDom(rapidjson::Document& dom);
private:
// 生成界面配置 柱坐标系
CUIConfig* genCylindricalUIConfig();
// 生成界面配置 笛卡尔坐标系
CUIConfig* genCartesianUIConfig();
signals:
private:
// 参考值取自
int m_ReferenceValuesFrom = 0; // Reference Values From
//坐标系
int m_CoordinateSystem = 0;
// 密度
double m_Density; // Density
// // μ速度
// double m_MuVelocity; // Mu Velocity
// // v速度
// double m_VVelocity; // V Velocity
// // w速度
// double m_WVelocity; // W Velocity
// 压强
double m_Pressure; // Pressure
// 湍流粘性比
double m_TurbulentViscosityRatio; // Turbulent Viscosity Ratio
// 湍流强度
double m_TurbulentIntensity; // Turbulent Intensity
//展向速度vr
double m_Vr = 0;
//周向速度Vtheta
double m_Vtheta = 0;
// 轴向速度Vz
double m_Vz = 0;
//笛卡尔坐标系,三轴方向速度
double m_Vx = 0;
double m_Vy = 0;
// double m_Vz = 0;
};
#endif // CFDSTRUCTDATASOLVERINITIALIZATIONEMANAGER_H