|
|
|
@ -70,31 +70,76 @@ namespace GUI{
|
|
|
|
|
SolverItem->setData(1,0,-1);
|
|
|
|
|
ComputationalDomainItem->addChild(SolverItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* BasicModelItem = new QTreeWidgetItem();
|
|
|
|
|
BasicModelItem->setText(0,tr("Basic Model"));
|
|
|
|
|
BasicModelItem->setData(1,0,-1);
|
|
|
|
|
SolverItem->addChild(BasicModelItem);
|
|
|
|
|
QTreeWidgetItem* ViscosityModelItem = new QTreeWidgetItem();
|
|
|
|
|
ViscosityModelItem->setText(0,tr("Viscosity Model"));
|
|
|
|
|
ViscosityModelItem->setData(1,0,-1);
|
|
|
|
|
SolverItem->addChild(ViscosityModelItem);
|
|
|
|
|
QTreeWidgetItem* NumericalMethodsItem = new QTreeWidgetItem();
|
|
|
|
|
NumericalMethodsItem->setText(0,tr("Numerical Methods"));
|
|
|
|
|
NumericalMethodsItem->setData(1,0,-1);
|
|
|
|
|
SolverItem->addChild(NumericalMethodsItem);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* MotionPropertiesItem = new QTreeWidgetItem();
|
|
|
|
|
MotionPropertiesItem->setText(0,tr("Motion Properties"));
|
|
|
|
|
MotionPropertiesItem->setData(1,0,-1);
|
|
|
|
|
ComputationalDomainItem->addChild(MotionPropertiesItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* motion1Item = new QTreeWidgetItem();
|
|
|
|
|
motion1Item->setText(0,tr("motion-1"));
|
|
|
|
|
motion1Item->setData(1,0,-1);
|
|
|
|
|
MotionPropertiesItem->addChild(motion1Item);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* BoundaryConditionsItem = new QTreeWidgetItem();
|
|
|
|
|
BoundaryConditionsItem->setText(0,tr("Boundary Conditions"));
|
|
|
|
|
BoundaryConditionsItem->setData(1,0,-1);
|
|
|
|
|
ComputationalDomainItem->addChild(BoundaryConditionsItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* pressureinletItem = new QTreeWidgetItem();
|
|
|
|
|
pressureinletItem->setText(0,tr("pressure-inlet"));
|
|
|
|
|
pressureinletItem->setData(1,0,-1);
|
|
|
|
|
BoundaryConditionsItem->addChild(pressureinletItem);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* InitializationItem = new QTreeWidgetItem();
|
|
|
|
|
InitializationItem->setText(0,tr("Initialization"));
|
|
|
|
|
InitializationItem->setData(1,0,-1);
|
|
|
|
|
ComputationalDomainItem->addChild(InitializationItem);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* ComputationalControlItem = new QTreeWidgetItem();
|
|
|
|
|
ComputationalControlItem->setText(0,tr("Computational Control"));
|
|
|
|
|
ComputationalControlItem->setData(1,0,-1);
|
|
|
|
|
ComputationalDomainItem->addChild(ComputationalControlItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* ReferenceQuantityItem = new QTreeWidgetItem();
|
|
|
|
|
ReferenceQuantityItem->setText(0,tr("reference quantity"));
|
|
|
|
|
ReferenceQuantityItem->setData(1,0,-1);
|
|
|
|
|
ComputationalControlItem->addChild(ReferenceQuantityItem);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* MonitorsItem = new QTreeWidgetItem();
|
|
|
|
|
MonitorsItem->setText(0,tr("Monitors"));
|
|
|
|
|
MonitorsItem->setData(1,0,-1);
|
|
|
|
|
ComputationalDomainItem->addChild(MonitorsItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* ResidualItem = new QTreeWidgetItem();
|
|
|
|
|
ResidualItem->setText(0,tr("Residual"));
|
|
|
|
|
ResidualItem->setData(1,0,-1);
|
|
|
|
|
MonitorsItem->addChild(ResidualItem);
|
|
|
|
|
QTreeWidgetItem* AerodynamicForceItem = new QTreeWidgetItem();
|
|
|
|
|
AerodynamicForceItem->setText(0,tr("Aerodynamic Force"));
|
|
|
|
|
AerodynamicForceItem->setData(1,0,-1);
|
|
|
|
|
MonitorsItem->addChild(AerodynamicForceItem);
|
|
|
|
|
QTreeWidgetItem* TurbomachineryPerformanceItem = new QTreeWidgetItem();
|
|
|
|
|
TurbomachineryPerformanceItem->setText(0,tr("Turbomachinery Performance"));
|
|
|
|
|
TurbomachineryPerformanceItem->setData(1,0,-1);
|
|
|
|
|
MonitorsItem->addChild(TurbomachineryPerformanceItem);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -103,6 +148,51 @@ namespace GUI{
|
|
|
|
|
_treePostprocessing = new TreeWidget(this);
|
|
|
|
|
tabWidget->addTab(_treePostprocessing,tr("Postprocessing"));
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* PostProcessingItem = new QTreeWidgetItem();
|
|
|
|
|
PostProcessingItem->setText(0,tr("Post-processing"));
|
|
|
|
|
PostProcessingItem->setData(1,0,-1);
|
|
|
|
|
_treePostprocessing->addTopLevelItem(PostProcessingItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* MeshItem = new QTreeWidgetItem();
|
|
|
|
|
MeshItem->setText(0,tr("Mesh"));
|
|
|
|
|
MeshItem->setData(1,0,-1);
|
|
|
|
|
PostProcessingItem->addChild(MeshItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* Mesh1Item = new QTreeWidgetItem();
|
|
|
|
|
Mesh1Item->setText(0,tr("Mesh 1"));
|
|
|
|
|
Mesh1Item->setData(1,0,-1);
|
|
|
|
|
MeshItem->addChild(Mesh1Item);
|
|
|
|
|
QTreeWidgetItem* Interface1Item = new QTreeWidgetItem();
|
|
|
|
|
Interface1Item->setText(0,tr("Interface 1"));
|
|
|
|
|
Interface1Item->setData(1,0,-1);
|
|
|
|
|
MeshItem->addChild(Interface1Item);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* CuttingPlaneItem = new QTreeWidgetItem();
|
|
|
|
|
CuttingPlaneItem->setText(0,tr("Cutting Plane"));
|
|
|
|
|
CuttingPlaneItem->setData(1,0,-1);
|
|
|
|
|
PostProcessingItem->addChild(CuttingPlaneItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* IsosurfaceItem = new QTreeWidgetItem();
|
|
|
|
|
IsosurfaceItem->setText(0,tr("Isosurface"));
|
|
|
|
|
IsosurfaceItem->setData(1,0,-1);
|
|
|
|
|
PostProcessingItem->addChild(IsosurfaceItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* StreamlineItem = new QTreeWidgetItem();
|
|
|
|
|
StreamlineItem->setText(0,tr("Streamline"));
|
|
|
|
|
StreamlineItem->setData(1,0,-1);
|
|
|
|
|
PostProcessingItem->addChild(StreamlineItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* DataStatisticsItem = new QTreeWidgetItem();
|
|
|
|
|
DataStatisticsItem->setText(0,tr("Data Statistics"));
|
|
|
|
|
DataStatisticsItem->setData(1,0,-1);
|
|
|
|
|
PostProcessingItem->addChild(DataStatisticsItem);
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItem* ForceAndMomentItem = new QTreeWidgetItem();
|
|
|
|
|
ForceAndMomentItem->setText(0,tr("Force and Moment"));
|
|
|
|
|
ForceAndMomentItem->setData(1,0,-1);
|
|
|
|
|
DataStatisticsItem->addChild(ForceAndMomentItem);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|