|
|
|
@ -45,27 +45,36 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::getParamUIConfig()
|
|
|
|
|
return genFarFieldModeUIConfig();
|
|
|
|
|
if (m_BoundaryType == 2)
|
|
|
|
|
{
|
|
|
|
|
if(m_BoundaryType_sub == 0){
|
|
|
|
|
if(m_VelocityDirectionType == 0){
|
|
|
|
|
if (m_BoundaryType_sub == 0)
|
|
|
|
|
{
|
|
|
|
|
if (m_VelocityDirectionType == 0)
|
|
|
|
|
{
|
|
|
|
|
return genPressureInletModeSupersonicCylindricalUIConfig();
|
|
|
|
|
}if(m_VelocityDirectionType == 1){
|
|
|
|
|
}
|
|
|
|
|
if (m_VelocityDirectionType == 1)
|
|
|
|
|
{
|
|
|
|
|
return genPressureInletModeSupersonicCartesianUIConfig();
|
|
|
|
|
}if(m_VelocityDirectionType == 2){
|
|
|
|
|
}
|
|
|
|
|
if (m_VelocityDirectionType == 2)
|
|
|
|
|
{
|
|
|
|
|
return genPressureInletModeSupersonicSurfaceUIConfig();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(m_BoundaryType_sub == 1){
|
|
|
|
|
if(m_VelocityDirectionType == 0){
|
|
|
|
|
if (m_BoundaryType_sub == 1)
|
|
|
|
|
{
|
|
|
|
|
if (m_VelocityDirectionType == 0)
|
|
|
|
|
{
|
|
|
|
|
return genPressureInletModeSubsonicCylindricalUIConfig();
|
|
|
|
|
}
|
|
|
|
|
if(m_VelocityDirectionType == 1){
|
|
|
|
|
if (m_VelocityDirectionType == 1)
|
|
|
|
|
{
|
|
|
|
|
return genPressureInletModeSubsonicCartesianUIConfig();
|
|
|
|
|
}
|
|
|
|
|
if(m_VelocityDirectionType == 2){
|
|
|
|
|
if (m_VelocityDirectionType == 2)
|
|
|
|
|
{
|
|
|
|
|
return genPressureInletModeSubsonicSurfaceUIConfig();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (m_BoundaryType == 3)
|
|
|
|
|
return genPressureOutletUIConfig();
|
|
|
|
@ -358,8 +367,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSupe
|
|
|
|
|
}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -504,8 +515,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSupe
|
|
|
|
|
}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -643,8 +656,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSupe
|
|
|
|
|
}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -782,8 +797,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSubs
|
|
|
|
|
}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -922,8 +939,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSubs
|
|
|
|
|
}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -1054,8 +1073,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSubs
|
|
|
|
|
}),
|
|
|
|
|
// TODO 用户自定义
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -1154,6 +1175,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureOutletUIConfi
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
@ -1812,6 +1835,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallAdiabaticWallUICo
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|
return nullptr;
|
|
|
|
@ -1926,6 +1951,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallIsothermalWallUIC
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|
return nullptr;
|
|
|
|
@ -2042,6 +2069,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallHotFlowWallUIConf
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|
return nullptr;
|
|
|
|
|