12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QDialog>
17 #include <QtGui/QHeaderView>
18 #include <QtGui/QPushButton>
19 #include <QtGui/QTextBrowser>
31 if (help2->objectName().isEmpty())
32 help2->setObjectName(QString::fromUtf8(
"help2"));
33 help2->resize(533, 588);
35 icon.addFile(QString::fromUtf8(
"tycho_logo_klein.png"), QSize(), QIcon::Normal, QIcon::Off);
36 help2->setWindowIcon(icon);
38 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
40 close =
new QPushButton(help2);
41 close->setObjectName(QString::fromUtf8(
"close"));
42 close->setGeometry(QRect(410, 540, 99, 28));
46 QMetaObject::connectSlotsByName(help2);
51 help2->setWindowTitle(QApplication::translate(
"help2",
"Boundary conditions", 0, QApplication::UnicodeUTF8));
52 textBrowser->setHtml(QApplication::translate(
"help2",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
53 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
54 "p, li { white-space: pre-wrap; }\n"
55 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
56 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">TYCHO comes with five different boundary conditions to choose from, namely <span style=\" font-weight:600;\">Zero Gradient</span>, <span style=\" font-weight:600;\">Reflecting</span>, <span style=\" font-weight:600;\">Small Number Padding</span>, <span style=\" font-weight:600;\">Outflow</span>, <span style=\" font-weight:600;\">Inflow</span> and <span style=\" font-weight:600;\">Periodic</span>. These boundary conditions can be attached separately to all edges of the computational domain. The exact definition of the conditions can be found in the file <span st"
57 "yle=\" font-weight:600;\">set_boundary.c</span>. In the case of the <span style=\" font-weight:600;\">Small Padding</span> boundary conditions the density, pressure and total energy is set to small (i.e. 1.0E-50) values in the ghost cells. The other boundary conditions copy density, pressure and total energy in the ghost cells, as defined in <span style=\" font-weight:600;\">set_boundary.c</span> . A special behavior is implemented for the <span style=\" font-weight:600;\">Inflow/Outflow</span> boundary conditions.</p>\n"
58 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">In the first case a constant inflow of gas with a velocity, density and temperature specified in the section <span style=\" font-weight:600;\">inflow boundary</span> is realized and in the second case gas which leaves the computational domain will not enter it again, because backflow of gas is prevented. Note that the inflow boundary properties are only editable in the cas"
59 "e one boundary is chosen inflow. The properties are given to all inflow boundaries. </p>\n"
60 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br />In the case of <span style=\" font-weight:600;\">obstacles</span> in the computational domain TYCHO will split the calculations into two parts, i.e. boundary at the computational domain and boundary at the obstacles. The <span style=\" font-weight:600;\">boundaries at the obstacles are always reflecting</span>. </p></body></html>", 0, QApplication::UnicodeUTF8));
61 close->setText(QApplication::translate(
"help2",
"Close", 0, QApplication::UnicodeUTF8));