@浪迹天大 是这样的,我最近也在读OpenFOAM中LES模型,发现Lund提到
The nearly universal approach is to simply write down the filtered Navier-Stokes equations together with an assumed model for the subgrid-scale stresses and then apply the desired spatial discretization to this “filtered” system. Although it is rarely mentioned, what one is doing by adopting this procedure is to imagine that the finite support of the computational mesh together with the low-pass characteristics of the discrete differentiating operators act as an effective filter. One then directly associates the computed velocity field with the filtered velocity. This procedure will be referred to as implicit filtering since an explicit filtering operation never appears in the solution procedure.
也就是说OpenFOAM程序除了动态模型外都没有对N-S方程进行显式的滤波操作,那么我们在方程植入中只要修改$\nu_{sgs}$就OK了,我在后面会做几个滤波函数的选择的对比,看看最后结果一样不一样
一
一二
@一二
75
Posts
1385
Profile views
0
Followers
1
Following
Best posts made by 一二
-
RE: LES和RANS在代码中实现过程是怎样的?
-
RE: 高频内存对CFD的计算速度有帮助吗?
内存频率提高对电脑性能几乎没有什么影响的
反而会因为加重CPU负担,影响CPU超频,对电脑稳定性产生影响
所以一般建议都是买频率低一点的,2133的频率就可以了
Latest posts made by 一二
-
RE: 在lagrangian库里面添加新模型时出现的问题
@bestucan 这个混乱是可以解决的,在引用的库文件前面加入路径就行了
-L$(FOAM_USER_LIBBIN) \ -llagrangianIntermediate \
而且我在其他论坛上也看到,lagrangian的代码修改时必须把名字改成一致的,不然会出现很多warning,
-
RE: SprayFoam的颗粒可以作为多组分的吗?
@bestucan
我做的是droplet,属于颗粒的。组分说的是这个droplet是一种溶液,只是我不清楚这里面的溶液到底算不算组分,溶液里面的水是可以蒸发的,溶质又无法蒸发,溶质跟溶液到底算不算俩种phase,还是按照同一种phase的不同组分来处理 -
在lagrangian库里面添加新模型时出现的问题
我在lagrangian里面添加新的颗粒受力,重新编译了intermediate这个文件夹,发现重新编译的库必须跟原来的名字一样。
比如:LIB = $(FOAM_USER_LIBBIN)/libmyLagrangianIntermediate
这样就不行,必须是
LIB = $(FOAM_USER_LIBBIN)/liblagrangianIntermediate
不然会出现一大堆warning,这些warning并不影响计算,最大问题是这个新添加的受力模型无法读入参数。
-
RE: Fluent UDF燃料电池时出现气体几乎不进多孔介质层的问题
@l-j刘侃 我调整了Fluent的自带模块,把组分扩散改成dillute扩散,发现也会出现我这种问题。
-
RE: Fluent UDF燃料电池时出现气体几乎不进多孔介质层的问题
您好!
我要算的是燃料电池问题,目前加入了O2,H2的specie transport equation,从下图的进口进入流道,按说这些specie会从流道扩散到多孔介质中,但是扩散不进去,如果初始化把多孔介质中加入了这些specie,计算就会发散