#include "FITKOFTurbSpalartAllmarasDES.h" #include "FITK_Kernel/FITKEasyParam/FITKParameter.h" namespace Interface { FITKOFTurbSpalartAllmarasDES::FITKOFTurbSpalartAllmarasDES() { //初始化 this->init(); this->setDataObjectName("Spalart-Allmaras DES"); } FITKOFSolverTypeEnum::FITKOFTurbulenceType FITKOFTurbSpalartAllmarasDES::getTurbulenceType() { //获取湍流类型 return FITKOFSolverTypeEnum::FITKOFTurbulenceType::LES; } void FITKOFTurbSpalartAllmarasDES::initTurbParam() { //设置参数 _turbParams->createDoubleParameter("Cb2", 0.622); _turbParams->createDoubleParameter("Cb1", 0.1355); _turbParams->createDoubleParameter("kappa", 0.41); _turbParams->createDoubleParameter("sigmaNut", 0.66666); _turbParams->createDoubleParameter("Cw3", 2.0); _turbParams->createDoubleParameter("Cv2", 5.0); _turbParams->createDoubleParameter("Cw2", 0.3); _turbParams->createDoubleParameter("Cv1", 7.1); } void FITKOFTurbSpalartAllmarasDES::initDelta() { } void FITKOFTurbSpalartAllmarasDES::initDiscretization() { } void FITKOFTurbSpalartAllmarasDES::initSolution() { } void FITKOFTurbSpalartAllmarasDES::initBoundary() { } void FITKOFTurbSpalartAllmarasDES::initInitialConditions() { //初始化Initial Conditions } }