变攻角翼型模拟
-
-
那个table应该是连续变化的,我第一个回帖不准确,请参考 https://doc.cfd.direct/openfoam/user-guide-v11/derived-boundary-conditions
-
也可以参考下面的写法,里面的
x
就是时间
inlet { type uniformFixedValue; uniformValue coded; name pulse; codeInclude #{ #include mathematicalConstants.H ; #}; code #{ return scalar ( 0.5*(1 - cos(constant::mathematical::twoPi*min(x/0.3, 1))) ); #}; }
-
-
@OpenFOAM菜鸟 我指的是是否对于翼型进行了缩尺,根据回复咱们应该都是弦长为1m。请问你这边计算工况的风速为多少,我这边风速70m/s,y+=1时,首层边界层网格的高度为5.6e-6。在机翼的尾部一致出现负网格,如图。朋友是否遇到过这种问题
-
velocity.,txt
(
(0 (4 0 0))
(0.5 (4 0.0698 0))
(1 (4 0.0698 0))
(1.5 (4 0.0698 0))
(2 (4 0.0698 0))
(2.5 (4 0.0698 0))
(3 (4 0.0698 0))
(3.5 (4 0.0698 0))
(4 (4 0.1397 0))
(4.5 (4 0.2096 0))
(5 (4 0.2797 0))
(5.5 (4 0.3499 0))
(6 (4 0.4204 0))
(6.5 (4 0.4911 0))
(7 (4 0.5622 0))
(7.5 (4 0.6335 0))
(8 (4 0.7053 0))
(8.5 (4 0.7775 0))
(9 (4 0.8502 0))
(9.5 (4 0.9235 0))
(10 (4 0.9973 0))
(10.5 (4 1.0718 0))
(11 (4 0.9973 0))
(11.5 (4 0.9235 0))
(12 (4 0.8502 0))
(12.5 (4 0.7775 0))
(13 (4 0.7053 0))
(13.5 (4 0.6335 0))
(14 (4 0.5622 0))
(14.5 (4 0.4911 0))
(15 (4 0.4204 0))
(15.5 (4 0.3499 0))
(16 (4 0.2797 0))
(16.5 (4 0.2096 0))
(17 (4 0.1397 0))
(17.5 (4 0.0698 0)))
入口设置
{
type uniformFixedValue;
uniformValue tableFile;
uniformValueCoeffs
{
file "velocity.txt";
outOfBounds repeat;
}
value $internalField;
}