|
|
|
@ -434,13 +434,37 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSupe
|
|
|
|
|
{"name", tr("Surface Normal")},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector(r,theta,z)")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// new CUIConfig({
|
|
|
|
|
// {"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
// {"name", tr("Direction Vector(r,theta,z)")},
|
|
|
|
|
// {"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
// {"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// },
|
|
|
|
|
// {}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "GroupBox"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector")},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "X:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorX)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Y:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorY)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Z:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorZ)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
groupbox,
|
|
|
|
@ -630,13 +654,37 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSupe
|
|
|
|
|
{"name", tr("Surface Normal")},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector(x,y,z)")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// new CUIConfig({
|
|
|
|
|
// {"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
// {"name", tr("Direction Vector(x,y,z)")},
|
|
|
|
|
// {"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
// {"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// },
|
|
|
|
|
// {}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "GroupBox"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector")},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "X:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorX)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Y:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorY)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Z:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorZ)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
groupbox,
|
|
|
|
@ -1010,13 +1058,37 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSubs
|
|
|
|
|
{"name", tr("Surface Normal")},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
// new CUIConfig({
|
|
|
|
|
// {"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
// {"name", tr("Direction Vector(r,theta,z)")},
|
|
|
|
|
// {"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
// {"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// },
|
|
|
|
|
// {}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector(r,theta,z)")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
{"type", "GroupBox"},
|
|
|
|
|
{"name", tr("Direction Vector")},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "X:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorX)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Y:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorY)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Z:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorZ)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
groupbox,
|
|
|
|
@ -1201,13 +1273,37 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genPressureInletModeSubs
|
|
|
|
|
{"name", tr("Surface Normal")},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector(x,y,z)")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// new CUIConfig({
|
|
|
|
|
// {"type", "LineEdit"}, // 方向矢量
|
|
|
|
|
// {"name", tr("Direction Vector(x,y,z)")},
|
|
|
|
|
// {"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
// {"value_origin", QVA_GLOBAL(&m_DirectionVector)},
|
|
|
|
|
// },
|
|
|
|
|
// {}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "GroupBox"}, // 方向矢量
|
|
|
|
|
{"name", tr("Direction Vector")},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "X:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorX)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Y:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorY)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Z:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_DirectionVectorZ)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
groupbox,
|
|
|
|
@ -1816,12 +1912,29 @@ CUIConfig *CFDStructDataSolverBoundaryConditionManager::genCycleTranslationUICon
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"}, // 平移距离
|
|
|
|
|
{"type", "GroupBox"}, // 平移距离
|
|
|
|
|
{"name", tr("TranslationDistance")},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_STRING},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TranslationDistance)},
|
|
|
|
|
},
|
|
|
|
|
{}),
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "X:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TranslationDistanceX)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Y:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TranslationDistanceY)},
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "LineEdit"},
|
|
|
|
|
{"name", "Z:"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_DOUBLE},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_TranslationDistanceZ)},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
});
|
|
|
|
|
return nullptr;
|
|
|
|
|
}
|
|
|
|
|