流体网格的更新问题
-
各位前辈好,最近在看与OpenFOAM动网格技术相关的资料,想将有限元软件计算得到的结构物位移施加到OpenFOAM的流体网格上来使流体网格变形,并计算下一步的压力场。想请问OpenFOAM自带的动网格求解器能否处理这种问题或有没有其他的方法可以解决呢?
-
可以找一下openfoam的旋转机械案例。还有船舶的模拟,螺旋桨转着推着船跑的那种,用的重叠网格,overset
还有这个帖子
https://www.cfd-china.com/topic/3921/openfoam中被动变形下的主动控制技术问题-柔性翼形俯仰/6
-
@bestucan
感谢前辈的分享,不过现阶段可能还不会用到重叠网格。目前想实现的是通过读取其他软件计算的位移来更新局部边界处各个单元的网格,最主要的可能还是一个接口的问题。此外,想要更新的边界处各单元的位移是不同的,不知道如附图这样的网格变形是否可以用displacementLaplacian实现?
看到pimpleDyMFoam和interDyMFoam的求解过程中调用了一个mesh.update()函数来更新网格,但是我在C++ Source Code Guide中没有找到这个函数具体是怎样实现的,还请各位前辈指点一下。
-
preCICE is the leading open-source coupling library for partitioned multi-physics simulations, including, but not restricted to fluid-structure interaction and conjugate heat transfer simulations.
Partitioned means that preCICE couples existing programs/solvers capable of simulating a subpart of the complete physics involved in a simulation. This allows for the high flexibility that is needed to keep a decent time-to-solution for complex multi-physics scenarios.
The software offers convenient methods for transient equation coupling, communication, and data mapping.
visualisation of how preCICE couples different solvers
-
@Stan同学 你那个属于边界点的移动,laplacian算法是处理内部场的。你的思想完全可行(就是你说的接口的问题)。边界弄好了之后,可以用laplacian求解一下内部点的移动。这是算心血管流动么?
-
preCICE is the leading open-source coupling library for partitioned multi-physics simulations, including, but not restricted to fluid-structure interaction and conjugate heat transfer simulations.
Partitioned means that preCICE couples existing programs/solvers capable of simulating a subpart of the complete physics involved in a simulation. This allows for the high flexibility that is needed to keep a decent time-to-solution for complex multi-physics scenarios.
The software offers convenient methods for transient equation coupling, communication, and data mapping.
visualisation of how preCICE couples different solvers
感谢前辈,我刚刚看了preCICE官网的演示视频,感觉值得一试。在介绍里看到这个团队已经开发了OpenFOAM的adapter,之后要做的应该就是参考这些现有的adapter并针对自己采用的有限元软件做一个adapter来实现和OpenFOAM之间的数据传递了。
-
@Stan同学 这个看起来比IBM啥的简单一些,我看有人也用它算心脏的流动,坐等出教程,哈哈哈
-
@李东岳
感谢东岳老师,起初我以为边界点和内部是动网格方法一起求解,看来之前的理解是有问题的。请问这样的边界点移动在OpenFOAM中是如何实现的呢?
这是做的波浪、海床与结构物的相互作用,由于结构物下沉后海床变形(有限元部分),所以想用算出的位移来更新流体域网格从而更准确地计算下一步的流场。
-
请问这样的边界点移动在OpenFOAM中是如何实现的呢?
Pretty simple. 直接给点的位移就可以了啊。然后当做边界条件。顺势内部点移动
这面有人做心血管流固耦合,也是类似的动边界。
-
@李东岳 这种给边界点位移,计算内部点移动的求解器叫啥啊。想研究一下。
-
@Samuel-Tu 这是动网格的思想,用动网格求解器就可以