我在Fluent中对风机进行LES,审稿人要求我提供LES的网格解析尺度和捕捉到的湍流能量,我查阅了相关资料,不知道这两个玩意咋弄,有没有大佬解析一下。
捕捉的湍流能量的相关资料如下:
其中K(x,t)和kr咋获取啊!
一脸懵
削铅笔
帖子
-
-
@李东岳 ,谢谢李老师,醍醐灌顶
-
翼型的控制方程包括连续性方程和N-S方程,其中连续性方程为:
当我把每个网格的偏导数导出来之后,加在一起并不等于0,这是什么情况?
比如我从comsol软件中导出了翼型附近的连续性方程项,发现翼型附近确实有一些地方连续性方程不为0
-
@李东岳 谢谢李老师!
-
How openfoam derives the distribution of each term in the RANS equation?
我想要探讨RANS方程中每一项对流场的占比,但如何提取方程中的每一项是比较困难的。尝试过Fluent提取压力项,对流项和粘性项,但雷诺应力项不知道怎么提取。
不知各位大佬有没有在openfoam中尝试过提取方程中的每一项?还望告知!十分感谢!
-
@bestucan 谢谢教授的解答
-
@xpqiu 谢谢教授
-
如图所示的方腔绕流,我想要用OpenFoam获取红色框区域的速度、压力、湍动能k和湍流耗散率e随时间的变化,并把方框内的node坐标以及相关物理量生成文件,请问OpenFoam有通过探针类似的面提取功能来满足需求的工具吗? -
@李东岳
我自己熬夜重新装了ubantu 14.04LTS和openFoam2.3.0,步骤如下:第一步:下载14.04(https://releases.ubuntu.com/trusty/)
第二步:装ubantu(https://blog.csdn.net/IT_job/article/details/79578543?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0.pc_relevant_paycolumn_v3&spm=1001.2101.3001.4242.1&utm_relevant_index=3)
第三步:下载OpenFoam2.3.0和paraView以及安装必须的包sudo apt-get update sudo apt-get install build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev libqtwebkit-dev gnuplot \ libreadline-dev libncurses5-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev \ libmpfr-dev python python-dev libcgal-dev sudo apt-get install libglu1-mesa-dev libqt4-opengl-dev cd ~ mkdir OpenFOAM cd OpenFOAM wget "http://downloads.sourceforge.net/foam/OpenFOAM-2.3.0.tgz?use_mirror=mesh" -O OpenFOAM-2.3.0.tgz wget "http://downloads.sourceforge.net/foam/ThirdParty-2.3.0.tgz?use_mirror=mesh" -O ThirdParty-2.3.0.tgz tar -xzf OpenFOAM-2.3.0.tgz tar -xzf ThirdParty-2.3.0.tgz ln -s /usr/bin/mpicc.openmpi OpenFOAM-2.3.0/bin/mpicc ln -s /usr/bin/mpirun.openmpi OpenFOAM-2.3.0/bin/mpirun source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI echo "alias of230='source \$HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc $FOAM_SETTINGS'" >> $HOME/.bashrc
第四步:编译第三方程序(需要十几分钟)
cd ~ touch.bashrc cd $WM_THIRD_PARTY_DIR export QT_SELECT=qt4 ./Allwmake > log.make 2>&1 wmSET $FOAM_SETTINGS export QT_SELECT=qt4 ./makeParaView4 > log.makePV 2>&1 vmSET $FOAM_SETTINGS
第五步:编译OpenFoam(这个时间比较长)
cd $WM_PROJECT_DIR export QT_SELECT=qt4 ./Allwmake > log.make 2>&1
编译好之后,在终端输入of230,回车,再输入icoFoam -help,会出现:
然后测试paraFoam:
就成功了
第六步;解决右键有可能没有打开终端这个选项#如果你希望能够在当前目录点击右键的方式打开terminal,需要安装一个安装包:nautilus-open-terminal。 sudo apt-get install nautilus-open-terminal #然后重新加载文件管理器 nautilus -q #或注销再登录即可使用
至此,安装结束 -
@李东岳 李老师,还是不行
-
@削铅笔
我看了一下paraFoam的bin文件夹中是个空的
然后我尝试重新安装ThirdParty-2.2.x失败了,把这个修复也行 -
@削铅笔
在网站中的2.2版本,运行paraFoam时,会出现以下问题:
如果这个问题解决也可以的,就不用2.3版本了 -
希望李老师能在您的网站上再增加一个2.3.x版本的openfoam,小弟在安装失败后,实在是放弃了,跪求更新一个2.3版本,谢谢! -
@李东岳 可以,谢谢东岳大佬
-
@李东岳 岳 大佬要是方便的话,可以做一个3.0.1版本的吗?万分感谢!
-
@李东岳 谢谢东岳大佬的回复
-
哪位大佬可以提供一下openfoam3.0的虚拟机安装包!万分感谢! -
@bestucan n 谢谢教授的解答
-
各位大佬请看如下边界条件(0.001 m3/s inlet flow):
inlet { type flowRateInletVelocity; volumetricFlowRate table ( ( 0 0.0002 ) ( 200 0.0002 ) ( 201 0.001 ) ( 400 0.001 ) ( 401 0.0018 ) ( 600 0.0018 ) ( 601 0.0026 ) ( 800 0.0026 ) ( 801 0.0034 ) ( 1000 0.0034 ) ( 1001 0.004 ) ( 1200 0.004 ) ( 1201 0.0048 ) ( 1400 0.0048 ) ( 1401 0.0056 ) ( 1600 0.0056 ) ( 1601 0.0064 ) ( 1800 0.0064 ) ( 1801 0.0072 ) /*( 2000 0.0020 ) ( 2201 0.0022 ) ( 2400 0.0022 ) ( 2401 0.0024 ) ( 2600 0.0024 ) ( 2801 0.0026 )*/ ); value uniform (0 0 -1); }
-
@李东岳 谢谢李哥
-
使用fluntMeshtoFoam命令时,显示生成成功,但是polymesh文件夹里面的cellzones显示为0,还包括下图中的文件:
icem中的part和cell的划分如下图:
转换网格时终端显示的信息为:// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Dimension of grid: 2 Number of points: 182065 Reading points Number of cells: 302646 Other readCellGroupData: d 1 366c7 1 0 Reading mixed cells Other readCellGroupData: e 366c8 455c8 1 0 Reading mixed cells Other readCellGroupData: f 455c9 49e36 1 1 Reading uniform cells number of faces: 484771 Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Reading uniform faces Read zone1:13 name:YL patchTypeID:fluid Reading zone data Read zone1:14 name:WK patchTypeID:fluid Reading zone data Read zone1:15 name:JK patchTypeID:fluid Reading zone data Read zone1:16 name:int_YL patchTypeID:interior Reading zone data Read zone1:17 name:int_WK patchTypeID:interior Reading zone data Read zone1:18 name:int_JK patchTypeID:interior Reading zone data Read zone1:19 name:WALL_ITFC2 patchTypeID:wall Reading zone data Read zone1:20 name:WALL_ITFC1 patchTypeID:wall Reading zone data Read zone1:21 name:BLADE patchTypeID:wall Reading zone data Read zone1:22 name:WALL_ITFC22 patchTypeID:wall Reading zone data Read zone1:23 name:WALL_ITFC11 patchTypeID:wall Reading zone data Read zone1:24 name:INLET patchTypeID:velocity-inlet Reading zone data Read zone1:25 name:WALL_WK patchTypeID:wall Reading zone data Read zone1:26 name:OUTLET patchTypeID:outlet-vent Reading zone data FINISHED LEXING dimension of grid: 2 Grid is 2-D. Extruding in z-direction by: 15.1284 Creating shapes for 2-D cells Building patch-less mesh...--> FOAM Warning : From function Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 595 Found 618200 undefined faces in mesh; adding to default patch. done. Building boundary and internal patches. Creating patch 0 for zone: 16 start: 1 end: 350445 type: interior name: int_YL Creating patch 1 for zone: 17 start: 350446 end: 444302 type: interior name: int_WK Creating patch 2 for zone: 18 start: 444303 end: 471863 type: interior name: int_JK Creating patch 3 for zone: 19 start: 471864 end: 473971 type: wall name: WALL_ITFC2 Creating patch 4 for zone: 20 start: 473972 end: 475730 type: wall name: WALL_ITFC1 Creating patch 5 for zone: 21 start: 475731 end: 482930 type: wall name: BLADE Creating patch 6 for zone: 22 start: 482931 end: 483351 type: wall name: WALL_ITFC22 Creating patch 7 for zone: 23 start: 483352 end: 483703 type: wall name: WALL_ITFC11 Creating patch 8 for zone: 24 start: 483704 end: 483855 type: velocity-inlet name: INLET Creating patch 9 for zone: 25 start: 483856 end: 484704 type: wall name: WALL_WK Creating patch 10 for zone: 26 start: 484705 end: 484771 type: outlet-vent name: OUTLET Creating patch for front and back planes Patch int_YL is internal to the mesh and is not being added to the boundary. Patch int_WK is internal to the mesh and is not being added to the boundary. Patch int_JK is internal to the mesh and is not being added to the boundary. Adding new patch WALL_ITFC2 of type wall as patch 0 Adding new patch WALL_ITFC1 of type wall as patch 1 Adding new patch BLADE of type wall as patch 2 Adding new patch WALL_ITFC22 of type wall as patch 3 Adding new patch WALL_ITFC11 of type wall as patch 4 Adding new patch INLET of type patch as patch 5 Adding new patch WALL_WK of type wall as patch 6 Adding new patch OUTLET of type patch as patch 7 Adding new patch frontAndBackPlanes of type empty as patch 8 Writing mesh... to "constant/polyMesh" done. End
-
配置了一台双CPU的服务器,且每个CPU是52核,Windows系统运行Flunet发现一个任务只能调用一个CPU且不能超过32核,如何解决使其能够调用两个CPU并超过32核的限制? -
-
参考文献:Turbulent Flows Over a Backward Facing Step Simulated Using a Modified Partially Averaged Navier–Stokes Model
文献中利用CFX研究PANS方法对二维后台阶流动模拟的影响,由于刚开始研究此方面内容,不知如何下手,希望各位大佬进行指导!十分感谢!!
LES的网格解析尺度和捕捉到的湍流能量
每个网格都得满足控制方程的要求吗?
每个网格都得满足控制方程的要求吗?
OpenFoam中如何提取流场中RANS方程的每一项为单独的文件?
OpenFoam中如何提取流场中RANS方程的每一项为单独的文件?
如何在每个时间步,获取流场特定区域的速度等相关物理量的变化并输出
如何在每个时间步,获取流场特定区域的速度等相关物理量的变化并输出
如何在每个时间步,获取流场特定区域的速度等相关物理量的变化并输出
东岳大佬,您的网站能不能加一个openfoam 2.3版本
东岳大佬,您的网站能不能加一个openfoam 2.3版本
东岳大佬,您的网站能不能加一个openfoam 2.3版本
东岳大佬,您的网站能不能加一个openfoam 2.3版本
东岳大佬,您的网站能不能加一个openfoam 2.3版本
东岳流体网站上的openfoam3.0的虚拟机安装包怎么没了?
东岳流体网站上的openfoam3.0的虚拟机安装包怎么没了?
东岳流体网站上的openfoam3.0的虚拟机安装包怎么没了?
东岳流体网站上的openfoam3.0的虚拟机安装包怎么没了?
这是什么入口边界条件?还能有table形式的?
这是什么入口边界条件?还能有table形式的?
openfoam导入icem二维网格生成的cellzones文件里面为什么显示0个?
openfoam导入icem二维网格生成的cellzones文件里面为什么显示0个?
Windows系统下Fluent无法调用超过32核的服务器,是什么原因?如何解决?
如何通过UDF在标准k epsilion方程的右边添加一个湍流耗散率的源项?
PANS model 在CFX/FLUENT中的应用问题