You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/FITK_Interface/FITKInterfaceFlowOF/FITKOFTurbSpalartAllmarasID...

64 lines
1.6 KiB
C++

#include "FITKOFTurbSpalartAllmarasIDDES.h"
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"
namespace Interface
{
FITKOFTurbSpalartAllmarasIDDES::FITKOFTurbSpalartAllmarasIDDES()
{
//初始化
this->init();
this->setDataObjectName("Spalart-Allmaras IDDES");
}
FITKOFSolverTypeEnum::FITKOFTurbulenceType FITKOFTurbSpalartAllmarasIDDES::getTurbulenceType()
{
//获取湍流类型
return FITKOFSolverTypeEnum::FITKOFTurbulenceType::LES;
}
void FITKOFTurbSpalartAllmarasIDDES::initTurbParam()
{
//设置参数
_turbParams->createDoubleParameter("fwStar", 0.424);
_turbParams->createDoubleParameter("ct", 1.63);
_turbParams->createDoubleParameter("Cb2", 0.622);
_turbParams->createDoubleParameter("Cb1", 0.1355);
_turbParams->createDoubleParameter("cl", 3.55);
_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 FITKOFTurbSpalartAllmarasIDDES::initDelta()
{
}
void FITKOFTurbSpalartAllmarasIDDES::initDiscretization()
{
}
void FITKOFTurbSpalartAllmarasIDDES::initSolution()
{
}
void FITKOFTurbSpalartAllmarasIDDES::initBoundary()
{
}
void FITKOFTurbSpalartAllmarasIDDES::initInitialConditions()
{
//初始化Initial Conditions
}
}