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/FITKOFTurbKOmegaSSTDDES.cpp

71 lines
2.0 KiB
C++

#include "FITKOFTurbKOmegaSSTDDES.h"
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"
namespace Interface
{
FITKOFTurbKOmegaSSTDDES::FITKOFTurbKOmegaSSTDDES()
{
//初始化
this->init();
this->setDataObjectName("k-Omega SST DDES");
}
FITKOFSolverTypeEnum::FITKOFTurbulenceType FITKOFTurbKOmegaSSTDDES::getTurbulenceType()
{
//获取湍流类型
return FITKOFSolverTypeEnum::FITKOFTurbulenceType::LES;
}
void FITKOFTurbKOmegaSSTDDES::initTurbParam()
{
//设置参数
_turbParams->createDoubleParameter("CDESkom", 0.82);
_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("Cd2", 3.0);
_turbParams->createDoubleParameter("Cd1", 20.0);
_turbParams->createDoubleParameter("CDESkeps", 0.6);
_turbParams->createDoubleParameter("beta1", 0.075);
_turbParams->createDoubleParameter("beta2", 0.0828);
_turbParams->createDoubleParameter("kappa", 0.41);
_turbParams->createDoubleParameter("betaStar", 0.09);
}
void FITKOFTurbKOmegaSSTDDES::initDelta()
{
}
void FITKOFTurbKOmegaSSTDDES::initDiscretization()
{
}
void FITKOFTurbKOmegaSSTDDES::initSolution()
{
}
void FITKOFTurbKOmegaSSTDDES::initBoundary()
{
}
void FITKOFTurbKOmegaSSTDDES::initInitialConditions()
{
//初始化Initial Conditions
}
}