|
|
@ -27,8 +27,34 @@ CUIConfig *CFDStructDataSolverNumericalMethodManager::getParamUIConfig()
|
|
|
|
|
|
|
|
|
|
|
|
void CFDStructDataSolverNumericalMethodManager::saveDataToDom(rapidjson::Document &dom)
|
|
|
|
void CFDStructDataSolverNumericalMethodManager::saveDataToDom(rapidjson::Document &dom)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// jsonAdd(dom,m_fluxFormat)
|
|
|
|
jsonAdd(dom, m_fluxFormat,
|
|
|
|
// jsonAdd(dom,m_secondOrderArtificialViscosity,{region[0] numericMethod numMethodParm twojamson});
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "generalFmt"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_secondOrderArtificialViscosity,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "twojamson"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_fourthOrderArtificialViscosity,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "fourjamson"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_spaceAccuracy,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "accuracy"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_limiter,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "limiter"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_timeFormat,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "timeType"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_iterationMethod,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "iterType"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_relaxationFactor,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "lussor"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_multigridLevels,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "gridLevelNum"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_cycleType,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "cycleType"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_coarseGridCFL,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "coarseGridNum"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_fineGridCFL,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "fineGridNum"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_turbulentCFL,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "cfl"});
|
|
|
|
|
|
|
|
jsonAdd(dom, m_EntropyCorrectionType,
|
|
|
|
|
|
|
|
{"region", 0, "numericMethod", "numMethodParm", "EntropyFixVal"});
|
|
|
|
|
|
|
|
|
|
|
|
// TODO 时间格式,会随定常和非定常变化
|
|
|
|
// TODO 时间格式,会随定常和非定常变化
|
|
|
|
// TODO 迭代方法,会随定常和非定常变化
|
|
|
|
// TODO 迭代方法,会随定常和非定常变化
|
|
|
|