From 947c9a7646cae8b836c66ff2e9e53a61bb846965 Mon Sep 17 00:00:00 2001 From: mzh Date: Wed, 6 Nov 2024 17:17:58 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E8=AE=A1=E5=88=92=E5=81=9A=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E6=96=B9=E6=B3=95=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CFDStructDataSolverNumericalMethodManager.cpp | 5 +++++ .../CFDStructDataSolverNumericalMethodManager.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.cpp b/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.cpp index d7ac24d..8369dd6 100644 --- a/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.cpp +++ b/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.cpp @@ -27,7 +27,12 @@ CUIConfig *CFDStructDataSolverNumericalMethodManager::getParamUIConfig() void CFDStructDataSolverNumericalMethodManager::saveDataToDom(rapidjson::Document &dom) { +// jsonAdd(dom,m_fluxFormat) +// jsonAdd(dom,m_secondOrderArtificialViscosity,{region[0] numericMethod numMethodParm twojamson}); + //TODO 时间格式,会随定常和非定常变化 + //TODO 迭代方法,会随定常和非定常变化 + //TODO 熵修正类型,未确定 } CUIConfig *CFDStructDataSolverNumericalMethodManager::genJamesonModeUIConfig() diff --git a/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.h b/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.h index 85f95cd..37fc8c0 100644 --- a/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.h +++ b/CFDStruct/CFDStructDataManager/CFDStructDataSolverNumericalMethodManager.h @@ -56,7 +56,7 @@ private: 2.二阶迎风偏置 3.三阶迎风偏置 */ - int m_spaceAccuracy = 0; + int m_spaceAccuracy = 2; // 限制器 /** @@ -91,8 +91,8 @@ private: // 循环类型 /** * @brief m_cycleType - * 0-V循环 - 1-W循环 + * 1-V循环 + 2-W循环 */ int m_cycleType = 0; @@ -109,7 +109,7 @@ private: /** * @brief m_EntropyCorrectionType * 0-Harten-Hyman - 1-Harten-Yee + * 1-Harten-Yee * */ int m_EntropyCorrectionType;