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.
66 lines
1.7 KiB
C++
66 lines
1.7 KiB
C++
#include "FITKOFTurbKOmegaSSTDES.h"
|
|
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"
|
|
|
|
namespace Interface
|
|
{
|
|
FITKOFTurbKOmegaSSTDES::FITKOFTurbKOmegaSSTDES()
|
|
{
|
|
//初始化
|
|
this->init();
|
|
this->setDataObjectName("k-Omega SST DES");
|
|
}
|
|
|
|
FITKOFSolverTypeEnum::FITKOFTurbulenceType FITKOFTurbKOmegaSSTDES::getTurbulenceType()
|
|
{
|
|
//获取湍流类型
|
|
return FITKOFSolverTypeEnum::FITKOFTurbulenceType::LES;
|
|
}
|
|
|
|
void FITKOFTurbKOmegaSSTDES::initTurbParam()
|
|
{
|
|
//设置数据
|
|
_turbParams->createDoubleParameter("alphaK1", 0.85);
|
|
_turbParams->createDoubleParameter("alphaOmega2", 0.856);
|
|
_turbParams->createDoubleParameter("gamma2", 0.4403);
|
|
_turbParams->createDoubleParameter("alphaK2", 1.0);
|
|
_turbParams->createDoubleParameter("alphaOmega1", 0.5);
|
|
_turbParams->createDoubleParameter("gamma1", 0.5532);
|
|
_turbParams->createBoolParameter("F3", false);
|
|
_turbParams->createDoubleParameter("c1", 10.0);
|
|
_turbParams->createDoubleParameter("b1", 1.0);
|
|
_turbParams->createDoubleParameter("a1", 0.31);
|
|
_turbParams->createDoubleParameter("beta1", 0.075);
|
|
_turbParams->createDoubleParameter("beta2", 0.0828);
|
|
_turbParams->createDoubleParameter("betaStar", 0.09);
|
|
}
|
|
|
|
void FITKOFTurbKOmegaSSTDES::initDelta()
|
|
{
|
|
|
|
}
|
|
|
|
void FITKOFTurbKOmegaSSTDES::initDiscretization()
|
|
{
|
|
|
|
}
|
|
|
|
void FITKOFTurbKOmegaSSTDES::initSolution()
|
|
{
|
|
|
|
}
|
|
|
|
void FITKOFTurbKOmegaSSTDES::initInitialConditions()
|
|
{
|
|
//初始化Initial Conditions
|
|
}
|
|
|
|
void FITKOFTurbKOmegaSSTDES::initBoundary()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|