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

61 lines
1.4 KiB
C++

#include "FITKOFTurbSpalartAllmaras.h"
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"
namespace Interface
{
FITKOFTurbSpalartAllmaras::FITKOFTurbSpalartAllmaras()
{
//初始化
this->init();
this->setDataObjectName("Spalart-Allmaras");
}
FITKOFSolverTypeEnum::FITKOFTurbulenceType FITKOFTurbSpalartAllmaras::getTurbulenceType()
{
//获取湍流类型
return FITKOFSolverTypeEnum::FITKOFTurbulenceType::RANS;
}
void FITKOFTurbSpalartAllmaras::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 FITKOFTurbSpalartAllmaras::initDelta()
{
}
void FITKOFTurbSpalartAllmaras::initDiscretization()
{
}
void FITKOFTurbSpalartAllmaras::initSolution()
{
}
void FITKOFTurbSpalartAllmaras::initBoundary()
{
}
void FITKOFTurbSpalartAllmaras::initInitialConditions()
{
//初始化Initial Conditions
}
}