|
|
|
@ -1,9 +1,16 @@
|
|
|
|
|
#include "CFDStructDataSolverKvislManager.h"
|
|
|
|
|
#include "CUIProperty/CUIConfig.h"
|
|
|
|
|
#include "CFDStructMain/CFDStructDefine.h"
|
|
|
|
|
#include "CFDStructSigsCenter.h"
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverKvislManager::CFDStructDataSolverKvislManager(QObject *parent) : CFDStructDataManagerBase(parent)
|
|
|
|
|
{
|
|
|
|
|
m_uiConfig = nullptr;
|
|
|
|
|
connect(m_cuiSigsCenter, &CUISigsCenter::sig_cuiPropertyChanged, this, [ = ](int semaphore) {
|
|
|
|
|
if (semaphore == (int)SolutionAnalysisModuleProperty::KVISL) {
|
|
|
|
|
emit CFDStructSigsCenter::getInstance()->sig_solverKvislDataChanged();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CFDStructDataSolverKvislManager::~CFDStructDataSolverKvislManager()
|
|
|
|
@ -12,7 +19,22 @@ CFDStructDataSolverKvislManager::~CFDStructDataSolverKvislManager()
|
|
|
|
|
|
|
|
|
|
CUIConfig *CFDStructDataSolverKvislManager::getParamUIConfig()
|
|
|
|
|
{
|
|
|
|
|
qDebug()<<"problem!!!";
|
|
|
|
|
if(m_Model == 0){
|
|
|
|
|
return genInviscidUIConfig();
|
|
|
|
|
}
|
|
|
|
|
if(m_Model == 1){
|
|
|
|
|
return genLaminarUIConfig();
|
|
|
|
|
}
|
|
|
|
|
if(m_Model == 2){
|
|
|
|
|
return genRANSSAUIConfig();
|
|
|
|
|
}
|
|
|
|
|
if(m_Model == 3){
|
|
|
|
|
return genDESSAUIConfig();
|
|
|
|
|
}
|
|
|
|
|
if(m_Model == 4){
|
|
|
|
|
return genCLESUIConfig();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return this->genInviscidUIConfig();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -20,10 +42,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genInviscidUIConfig()
|
|
|
|
|
{
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -41,10 +67,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genLaminarUIConfig()
|
|
|
|
|
{
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -63,10 +93,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -77,20 +111,22 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSSAUIConfig()
|
|
|
|
|
{"name", tr("DES")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
|
{"name", tr("S-A")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:Menters's κ-ω(两方程)
|
|
|
|
|
{"name", tr("Menters's κ-ω")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:κ-ε(两方程)
|
|
|
|
|
{"name", tr("κ-ε")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:S-A类型
|
|
|
|
|
{"name", tr("S-A Type")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:S-A类型
|
|
|
|
|
{"name", tr("S-A Type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
|
|
|
|
|
{"name", tr("standard")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:Edwards
|
|
|
|
@ -105,10 +141,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -119,19 +159,22 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSUIMentersConfig()
|
|
|
|
|
{"name", tr("DES")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
|
{"name", tr("S-A")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:Menters's κ-ω(两方程)
|
|
|
|
|
{"name", tr("Menters's κ-ω")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:κ-ε(两方程)
|
|
|
|
|
{"name", tr("κ-ε")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:κ-ω类型
|
|
|
|
|
{"name", tr("κ-ω Type")},
|
|
|
|
|
{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:κ-ω类型
|
|
|
|
|
{"name", tr("κ-ω Type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
|
|
|
|
|
{"name", tr("standard")}}),
|
|
|
|
@ -145,8 +188,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSKEUIConfig()
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -157,16 +206,22 @@ CUIConfig *CFDStructDataSolverKvislManager::genRANSKEUIConfig()
|
|
|
|
|
{"name", tr("DES")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
|
{"name", tr("S-A")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:Menters's κ-ω(两方程)
|
|
|
|
|
{"name", tr("Menters's κ-ω")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:κ-ε(两方程)
|
|
|
|
|
{"name", tr("κ-ε")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:κ-ε类型
|
|
|
|
|
{"name", tr("κ-ε Type")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:κ-ε类型
|
|
|
|
|
{"name", tr("κ-ε Type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
|
|
|
|
|
{"name", tr("standard")}}),
|
|
|
|
@ -181,8 +236,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -193,8 +254,11 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
|
|
|
|
|
{"name", tr("DES")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:DES
|
|
|
|
|
{"name", tr("DES Model")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:DES
|
|
|
|
|
{"name", tr("DES Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:DES
|
|
|
|
|
{"name", tr("DES")}}),
|
|
|
|
@ -203,8 +267,11 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:IDDES(两方程)
|
|
|
|
|
{"name", tr("IDDES")}}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
|
{"name", tr("S-A")}}),
|
|
|
|
@ -212,7 +279,8 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESSAUIConfig()
|
|
|
|
|
{"name", tr("Menters's κ-ω")}}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:S-A类型
|
|
|
|
|
{"name", tr("S-A Type")},{"widget","GroupBox"}},
|
|
|
|
|
{"name", tr("S-A Type")},
|
|
|
|
|
{"widget", "GroupBox"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:standard
|
|
|
|
|
{"name", tr("standard")}}),
|
|
|
|
@ -226,8 +294,14 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
|
|
|
|
|
return new CUIConfig(
|
|
|
|
|
{{"type", "Widget"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},{"widget","GroupBox"}},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
|
{"name", tr("Inviscid")}}),
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:层流
|
|
|
|
@ -239,7 +313,8 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")}})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:DES
|
|
|
|
|
{"name", tr("DES Model")},{"widget","GroupBox"}},
|
|
|
|
|
{"name", tr("DES Model")},
|
|
|
|
|
{"widget", "GroupBox"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:DES
|
|
|
|
|
{"name", tr("DES")}}),
|
|
|
|
@ -249,7 +324,8 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
|
|
|
|
|
{"name", tr("IDDES")}}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},{"widget","GroupBox"}},
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
|
{"name", tr("S-A")}}),
|
|
|
|
@ -257,7 +333,8 @@ CUIConfig *CFDStructDataSolverKvislManager::genDESMentersUIConfig()
|
|
|
|
|
{"name", tr("Menters's κ-ω")}}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:κ-ω类型
|
|
|
|
|
{"name", tr("κ-ω Type")},{"widget","GroupBox"}},
|
|
|
|
|
{"name", tr("κ-ω Type")},
|
|
|
|
|
{"widget", "GroupBox"}},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({{"type", "RadioButton"}, // 按钮:SST
|
|
|
|
|
{"name", tr("SST")}}),
|
|
|
|
@ -274,7 +351,10 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
@ -296,9 +376,11 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")},
|
|
|
|
|
})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
@ -309,9 +391,11 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESUIConfig()
|
|
|
|
|
{"name", tr("Menters's κ-ω")},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:S-A类型
|
|
|
|
|
{"name", tr("S-A Type")},
|
|
|
|
|
{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:S-A类型
|
|
|
|
|
{"name", tr("S-A Type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:standard
|
|
|
|
|
{"name", tr("standard")},
|
|
|
|
@ -333,7 +417,10 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:模型
|
|
|
|
|
{"name", tr("Model")},
|
|
|
|
|
{"widget","GroupBox"},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
{"value_type", CUI_DATA_TYPE::CUI_DATA_TYPE_INT},
|
|
|
|
|
{"value_origin", QVA_GLOBAL(&m_Model)},
|
|
|
|
|
{"semaphore", (int)SolutionAnalysisModuleProperty::KVISL},
|
|
|
|
|
},
|
|
|
|
|
{new CUIConfig({
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:无粘
|
|
|
|
@ -355,8 +442,11 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:约束大涡模型
|
|
|
|
|
{"name", tr("CLES")},
|
|
|
|
|
})}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:RANS模型
|
|
|
|
|
{"name", tr("RANS Model")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:S-A(一方程)
|
|
|
|
@ -367,8 +457,11 @@ CUIConfig *CFDStructDataSolverKvislManager::genCLESMentersUIConfig()
|
|
|
|
|
{"name", tr("Menters's κ-ω")},
|
|
|
|
|
}),
|
|
|
|
|
}),
|
|
|
|
|
new CUIConfig({{"type", "RadioComponent"}, // 组:κ-ω类型
|
|
|
|
|
{"name", tr("κ-ω Type")},{"widget","GroupBox"},},
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioComponent"}, // 组:κ-ω类型
|
|
|
|
|
{"name", tr("κ-ω Type")},
|
|
|
|
|
{"widget", "GroupBox"},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
new CUIConfig({
|
|
|
|
|
{"type", "RadioButton"}, // 按钮:SST
|
|
|
|
|