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.
|
|
|
|
#ifndef CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
|
|
|
|
|
#define CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
class CUIConfig;
|
|
|
|
|
|
|
|
|
|
class CFDStructDataSolverTimeModeManager : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CFDStructDataSolverTimeModeManager(QObject *parent = nullptr);
|
|
|
|
|
~CFDStructDataSolverTimeModeManager();
|
|
|
|
|
|
|
|
|
|
CUIConfig* getParamUIConfig();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 生成定常的界面配置
|
|
|
|
|
CUIConfig* genSteadyModeUIConfig();
|
|
|
|
|
// 生成非定常的截面配置
|
|
|
|
|
CUIConfig* genUnsteadyModeUIConfig();
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// 鏃堕棿妯″紡
|
|
|
|
|
int m_runtype = 0;
|
|
|
|
|
// 杩唬姝ユ暟锛>=1锛屽畾甯告椂锛氳凯浠f鏁帮紝闈炲畾甯革細鍐呰凯浠f鏁 int m_mcyc = 1000;
|
|
|
|
|
// 姝ラ暱妯″紡锛屽浐瀹氾紝涓嶅彲淇敼
|
|
|
|
|
double m_alf0 = 1.0;
|
|
|
|
|
// 鏃堕棿姝ラ暱锛0
|
|
|
|
|
double m_realdt = 1.0;
|
|
|
|
|
// 鏃堕棿姝ユ暟锛=1
|
|
|
|
|
double m_nstep = 10;
|
|
|
|
|
// 鏃跺潎缁熻閲忔暟鎹噰鏍0,1
|
|
|
|
|
int m_timeaverage = 0;
|
|
|
|
|
|
|
|
|
|
CUIConfig* m_uiConfig;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CFDSTRUCTDATASOLVERTIMEMODEMANAGER_H
|