|
|
|
@ -10,8 +10,7 @@ CFDStructDataSolverBoundaryConditionManager::CFDStructDataSolverBoundaryConditio
|
|
|
|
|
{
|
|
|
|
|
m_uiConfig = nullptr;
|
|
|
|
|
connect(m_cuiSigsCenter, &CUISigsCenter::sig_cuiPropertyChanged, this, [=](int semaphore)
|
|
|
|
|
{
|
|
|
|
|
emit CFDStructSigsCenter::getInstance()->sig_solverTimeModeDataChanged(); });
|
|
|
|
|
{ emit CFDStructSigsCenter::getInstance() -> sig_solverTimeModeDataChanged(); });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverBoundaryConditionManager::~CFDStructDataSolverBoundaryConditionManager()
|
|
|
|
@ -38,16 +37,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genFarFieldModeUIConfig(
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -78,31 +84,43 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genFarFieldModeUIConfig(
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 马赫数
|
|
|
|
|
{"name", tr("mach number")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_MachNumber)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 密度
|
|
|
|
|
{"name", tr("density")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Density)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 温度
|
|
|
|
|
{"name", tr("temperature")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Temperature)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 来流方向
|
|
|
|
|
{"name", tr("Flow direction")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_InflowDirection)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 湍流粘性比
|
|
|
|
|
{"name", tr("Turbulent viscosity ratio")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TurbulentViscosityRatio)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 湍流强度
|
|
|
|
|
{"name", tr("Turbulence intensity")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TurbulentIntensity)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
});
|
|
|
|
@ -116,16 +134,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeUICo
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -156,31 +181,43 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeUICo
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 总压
|
|
|
|
|
{"name", tr("Total pressure")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TotalPressure)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 总温
|
|
|
|
|
{"name", tr("Total temperature")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TotalTemperature)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 静压
|
|
|
|
|
{"name", tr("static pressure")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_StaticPressure)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 来流方向
|
|
|
|
|
{"name", tr("Flow direction")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_InflowDirection)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 湍流粘性比
|
|
|
|
|
{"name", tr("Turbulent viscosity ratio")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TurbulentViscosityRatio)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 湍流强度
|
|
|
|
|
{"name", tr("Turbulence intensity")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TurbulentIntensity)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
@ -194,16 +231,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureOutletUIConfi
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -234,6 +278,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureOutletUIConfi
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 静压
|
|
|
|
|
{"name", tr("static pressure")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_StaticPressure)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
});
|
|
|
|
@ -246,16 +292,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genSymmetricUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -293,16 +346,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genCycleUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -333,31 +393,43 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genCycleUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 配对名称
|
|
|
|
|
{"name", tr("Pairing Name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_PairingName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 对应面
|
|
|
|
|
{"type", "ComboBox"}, // 对应面
|
|
|
|
|
{"name", tr("Corresponding surface")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_CorrespondingSurface)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 周期类型
|
|
|
|
|
{"type", "ComboBox"}, // 周期类型
|
|
|
|
|
{"name", tr("Cycle type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_PeriodicType)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 旋转中心
|
|
|
|
|
{"name", tr("Rotation center")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_RotationCenter)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 转轴方向
|
|
|
|
|
{"name", tr("Axis direction")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_RotationAxisDirection)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 旋转角
|
|
|
|
|
{"name", tr("Rotation angle")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_RotationAngle)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
});
|
|
|
|
@ -370,16 +442,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallAdiabaticWallUICo
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -411,7 +490,9 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallAdiabaticWallUICo
|
|
|
|
|
{"type", "RadioComponent"}, // 壁面类型
|
|
|
|
|
{"name", tr("Wall type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
|
|
|
|
|
{"layout", "QHBoxLayout"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_WallType)},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -477,8 +558,12 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallIsothermalWallUIC
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 壁面类型
|
|
|
|
|
{"name", tr(("Wall type"))},
|
|
|
|
|
{"name", tr("Wall type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"layout", "QHBoxLayout"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_WallType)},
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -496,6 +581,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallIsothermalWallUIC
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEidt"}, // 壁面温度
|
|
|
|
|
{"name", tr("Wall temperature")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_WallTemperature)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
@ -508,16 +595,23 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallHotFlowWallUIConf
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 边界名称
|
|
|
|
|
{"name", tr("Boundary name")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryName)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 所属计算域
|
|
|
|
|
{"name", tr("Belonging to the computing domain")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_ComputationalDomain)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "ComboBox"}, // 边界类型
|
|
|
|
|
{"name", tr("Boundary type")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_BoundaryType)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::Boundary_Conditions},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -549,6 +643,9 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallHotFlowWallUIConf
|
|
|
|
|
{"type", "RadioComponent"}, // 壁面类型
|
|
|
|
|
{"name", tr("Wall type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"layout", "QHBoxLayout"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_WallType)},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
@ -566,6 +663,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallHotFlowWallUIConf
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEidt"}, // 壁面热流
|
|
|
|
|
{"name", tr("Wall heat flux")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_WallHeatFlux)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|