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.
70 lines
2.4 KiB
C++
70 lines
2.4 KiB
C++
#ifndef CFDSTRUCTDATAMANAGER_H
|
|
#define CFDSTRUCTDATAMANAGER_H
|
|
|
|
#include "CFDStructDataManager_global.h"
|
|
#include "CFDStructMain/CFDStructDefine.h"
|
|
#include "rapidjson/document.h"
|
|
|
|
class CFDStructDataSolverSportsAttributesManager;
|
|
class CFDStructDataSolverBoundaryConditionManager;
|
|
class CFDStructDataSolverInitializationManager;
|
|
class CFDStructDataSolverReferenceQuantityManager;
|
|
class CFDStructDataSolverComputingControlManager;
|
|
|
|
class CFDStructDataSolverTimeModeManager;
|
|
class CFDStructDataSolverBasicModelManager;
|
|
class CFDStructDataSolverKvislManager;
|
|
class CFDStructDataSolverNumericalMethodManager;
|
|
class CFDStructDataSolverMonitorResidualManager;
|
|
class CFDStructDataSolverMonitorAerodynamicManager;
|
|
class CFDStructDataSolverMonitorImpellerManager;
|
|
class CUIConfig;
|
|
|
|
class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataManager {
|
|
public:
|
|
CFDStructDataManager();
|
|
static CFDStructDataManager *getInstance();
|
|
|
|
// 获取一个action的参数设置配置
|
|
CUIConfig *getActionParamUIConfig(SolutionAnalysisModuleProperty sig, QVariant idx);
|
|
|
|
private:
|
|
void initDataManagers();
|
|
|
|
private:
|
|
static CFDStructDataManager *m_instance;
|
|
|
|
CFDStructDataSolverTimeModeManager *m_solverTimeModeManager;
|
|
CFDStructDataSolverBasicModelManager *m_solverBasicModeManager;
|
|
CFDStructDataSolverKvislManager *m_solverKvislManager;
|
|
CFDStructDataSolverNumericalMethodManager *m_solverNumericalMethodManager;
|
|
|
|
// 运动属性
|
|
CFDStructDataSolverSportsAttributesManager *m_solverSportsAttributesManager;
|
|
// Pressure-Inlet
|
|
CFDStructDataSolverBoundaryConditionManager *m_solverBoundaryConditionManager;
|
|
// 初始化
|
|
CFDStructDataSolverInitializationManager *m_solverInitializationManager;
|
|
// 参考量
|
|
CFDStructDataSolverReferenceQuantityManager *m_solverReferenceQuantityManager;
|
|
// 计算控制
|
|
CFDStructDataSolverComputingControlManager *m_solverComputingControlManager;
|
|
// 监控-残差曲线
|
|
CFDStructDataSolverMonitorResidualManager *m_solverMonitorResidualManager;
|
|
// 监控-气动力曲线
|
|
CFDStructDataSolverMonitorAerodynamicManager *m_solverMonitorAerodynamicForceManager;
|
|
// 监控-叶轮机械性能曲线
|
|
CFDStructDataSolverMonitorImpellerManager *m_solverMonitorTubomachineryPerformanceManager;
|
|
|
|
public:
|
|
void initJson();
|
|
void updateJson();
|
|
rapidjson::Document getJson();
|
|
void printJson();
|
|
|
|
private:
|
|
rapidjson::Document m_dom;
|
|
};
|
|
|
|
#endif // CFDSTRUCTDATAMANAGER_H
|