OpenFOAM-双柱及群柱绕流
本帖最后由 北京蓝威技术 于 2016-9-6 11:39 编辑欢迎关注蓝威技术有限公司微信公众号(easycae云仿真平台)
http://img.jishulink.com/upload/201609/1473130679525_640.jpeg@!jslnk
接上两次教程教程地址分别为:http://mp.weixin.qq.com/s?__biz=MzAxNjMwMDI0NA==&mid=2652894893&idx=1&sn=06904d81f63f832ff2110f86221589bf&scene=0#wechat_redirect
http://mp.weixin.qq.com/s?__biz=MzAxNjMwMDI0NA==&mid=2652894903&idx=1&sn=1c6b2d902c09458705788131d7f5f004&scene=0#wechat_redirect
这次的教程是紧接前几次的教程,设置与前几次教程类似,但是对于设置上稍微有一点点区别,就是在设置值的时候,出现了$internalField,其实这是一个字符串替换,就是在出现$internalField的地方,用internalField的值去代替。比如设置速度文件的配置,出现$internalField
就等同于填写了
uniform (0.1 0 0);
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ /F ield | OpenFOAM: The Open Source CFD Toolbox |
|\\ / O peration | Version:4.0 |
| \\/ A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation| |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions ;
internalField uniform (0.1 0 0);
boundaryField
{
INLET
{
type freestream;
freestreamValue $internalField;
}
OUTLET
{
type freestream;
freestreamValue $internalField;
}
UP
{
type fixedValue;
value uniform (0 0 0);
}
DOWN
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBackPlanes
{
type empty;
}
}
// ************************************************************************* //
未尽事宜,请参考视频教程,本次为大家带来了六个视频,视频的高清版本附在最后,有需要的朋友可以自行下载http://player.youku.com/player.php/sid/XMTcwOTE0MzQwMA==/v.swf
http://player.youku.com/player.php/sid/XMTcwOTc5MzEzNg==/v.swf
http://player.youku.com/player.php/sid/XMTcwOTg3ODQ0MA==/v.swf
http://player.youku.com/player.php/sid/XMTcxMDc1MDk0MA==/v.swf
http://player.youku.com/player.php/sid/XMTcxMDI1NTI2NA==/v.swf
http://player.youku.com/player.php/sid/XMTcxMTA1NjYwOA==/v.swf
原版视频下载地址:https://yunpan.cn/cMUT9CzU6rHZ7访问密码 c909
页:
[1]