|
|
@ -45,27 +45,36 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::getParamUIConfig()
|
|
|
|
return genFarFieldModeUIConfig();
|
|
|
|
return genFarFieldModeUIConfig();
|
|
|
|
if (m_BoundaryType == 2)
|
|
|
|
if (m_BoundaryType == 2)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(m_BoundaryType_sub == 0){
|
|
|
|
if (m_BoundaryType_sub == 0)
|
|
|
|
if(m_VelocityDirectionType == 0){
|
|
|
|
{
|
|
|
|
|
|
|
|
if (m_VelocityDirectionType == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
return genPressureInletModeSupersonicCylindricalUIConfig();
|
|
|
|
return genPressureInletModeSupersonicCylindricalUIConfig();
|
|
|
|
}if(m_VelocityDirectionType == 1){
|
|
|
|
}
|
|
|
|
|
|
|
|
if (m_VelocityDirectionType == 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
return genPressureInletModeSupersonicCartesianUIConfig();
|
|
|
|
return genPressureInletModeSupersonicCartesianUIConfig();
|
|
|
|
}if(m_VelocityDirectionType == 2){
|
|
|
|
}
|
|
|
|
|
|
|
|
if (m_VelocityDirectionType == 2)
|
|
|
|
|
|
|
|
{
|
|
|
|
return genPressureInletModeSupersonicSurfaceUIConfig();
|
|
|
|
return genPressureInletModeSupersonicSurfaceUIConfig();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(m_BoundaryType_sub == 1){
|
|
|
|
if (m_BoundaryType_sub == 1)
|
|
|
|
if(m_VelocityDirectionType == 0){
|
|
|
|
{
|
|
|
|
|
|
|
|
if (m_VelocityDirectionType == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
return genPressureInletModeSubsonicCylindricalUIConfig();
|
|
|
|
return genPressureInletModeSubsonicCylindricalUIConfig();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(m_VelocityDirectionType == 1){
|
|
|
|
if (m_VelocityDirectionType == 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
return genPressureInletModeSubsonicCartesianUIConfig();
|
|
|
|
return genPressureInletModeSubsonicCartesianUIConfig();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(m_VelocityDirectionType == 2){
|
|
|
|
if (m_VelocityDirectionType == 2)
|
|
|
|
|
|
|
|
{
|
|
|
|
return genPressureInletModeSubsonicSurfaceUIConfig();
|
|
|
|
return genPressureInletModeSubsonicSurfaceUIConfig();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (m_BoundaryType == 3)
|
|
|
|
if (m_BoundaryType == 3)
|
|
|
|
return genPressureOutletUIConfig();
|
|
|
|
return genPressureOutletUIConfig();
|
|
|
@ -358,8 +367,10 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSupe
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
// TODO 用户自定义
|
|
|
|
// TODO 用户自定义
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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 用户自定义
|
|
|
|
// TODO 用户自定义
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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 用户自定义
|
|
|
|
// TODO 用户自定义
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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 用户自定义
|
|
|
|
// TODO 用户自定义
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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 用户自定义
|
|
|
|
// TODO 用户自定义
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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 用户自定义
|
|
|
|
// TODO 用户自定义
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckButton"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"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({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return nullptr;
|
|
|
|
return nullptr;
|
|
|
@ -1926,6 +1951,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallIsothermalWallUIC
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return nullptr;
|
|
|
|
return nullptr;
|
|
|
@ -2042,6 +2069,8 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genWallHotFlowWallUIConf
|
|
|
|
new CUIConfig({
|
|
|
|
new CUIConfig({
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"type", "CheckBox"},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
{"name", tr("User-Defined")},
|
|
|
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_UserDefined)},
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return nullptr;
|
|
|
|
return nullptr;
|
|
|
|