Skip to content
  • 0 赞同
    3 帖子
    4k 浏览
    李东岳

    有些网格面还不一定有网格点的定义 :chitang:

  • 0 赞同
    4 帖子
    4k 浏览
    2

    @coolhhh 网格检查过了 x轴工作区每个波长50个网格,对于加密区是0.14m是50个网格。波长增加到了4m。跑出来只有中间四五个波峰能达到。

  • 不知哪位大佬有ICEM 2021-linux版本么?

    Meshy
    17
    0 赞同
    17 帖子
    21k 浏览
    Y

    @李东岳 ansys18版本 linux
    链接:https://pan.baidu.com/s/1QpXN_GhW5tCv1rNJrlBUYA
    提取码:1234

  • gnuplot 画的dashed line

    CFD彩虹条
    1
    0 赞同
    1 帖子
    2k 浏览
    李东岳
    with lines lw 5 lt 1 dt 3 lc rgb "black",\
  • 变化的probes点的位置

    OpenFOAM
    1
    0 赞同
    1 帖子
    2k 浏览

    想提取一下运动物体后面的速度,也就是探测点的位置也是随时间变化的,有没有大佬知道怎么做

  • 0 赞同
    2 帖子
    3k 浏览
    李东岳

    是的,理想气体,明天我更新下。

    另外,温度本身不是守恒变量,因此,CFD一般求解守恒变量,但是温度方程通常比较简单,一些不太成熟的代码会使用温度防尘

  • 大家平时用vim还是Emacs啊

    CFD彩虹条
    5
    0 赞同
    5 帖子
    8k 浏览
    李东岳

    VIM这面写中文比较麻烦,总需要切换输入法,目前还没找到解决办法。

  • 0 赞同
    15 帖子
    16k 浏览
    I

    大家好,我来更新这个问题的相关进展。最近两天我查了些资料,基本上解决了这个问题,感谢大家的帮助,尤其是bestucan大佬。
    参考帖子关于相邻cell我写了个遍历进行暴力求解。
    (1)代码思路:对所有网格做遍历,找到气液界面网格,针对每一个气液界面网格都对所有网格再做一次遍历,计算两网格之间的距离,对满足距离要求的网格在markRegionNearInterface这个场上+1。最后,可以利用markRegionNearInterface>=1来筛选出所有满足条件的网格。
    (2)这段代码计算起来实在是费时间,因为我的需求(见贴名)不需要每一个时间步都运行这段代码,所以我在代码最外层套了一个时间步判断,可以实现多个时间步运行一次该代码。
    (3)我从其他地方抄了点代码写了两个接口,分别从transportProperties读取 加密时间步间隔 和 加密范围,其中加密范围是依据气泡半径写的无量纲范围,所以需要配合前面代码(未在本段代码中给出)求出的气泡半径radius.value()定义标记区域。

    代码如下

    //read timestep interval required for the following code, as the following code is very time consuming so I needn't it run for every timestep. const label calculateTimestepInterval = transportProperties.get<label>("calculateTimestepInterval"); //read information from transportProperties so that we can modify the size of marked region easily. scalar markRegionNearInterfaceSize = transportProperties.get<scalar>("markRegionNearInterfaceSize"); if (mesh.time().timeIndex() % calculateTimestepInterval == 0)//judge whether the timestep satisfy the timestep interval criterion. { markRegionNearInterface.field()=0;//reset the field to be zero first. Of course such field is claimed in createFields.H first. forAll(mesh.C(), i)//Cycle all meshes { if (alpha1[i]>0.0001&&alpha1[i]<0.9999)//judge whether the cell contains gas-liquid interface { vector centerOfSurfacePoint = mesh.C()[i];//store center information of such a interface cell forAll(mesh.C(), cellI)//Cycle all meshes again { scalar offset = mag(centerOfSurfacePoint - mesh.C()[cellI]);//distance between any cells and the interface cell if (offset <= markRegionNearInterfaceSize*radius.value())//judge the criterion, note the radius is calculated before with code which is not shown here { markRegionNearInterface.field()[cellI] += 1;//any cells which meet the criterion will be marked with value>0 } } } } }

    运行结果如下
    10652d23-2e1a-470d-a7ef-a8637883685a-image.png

    BTW
    (1) 因为我是个beginner,代码是东抄抄西抄抄弄出来的,上述代码可能有些冗余,如果大佬们有时间,想麻烦大佬们帮我看看我这些代码能从哪些角度优化优化。代码中的变量类型scalar vector label之类都是我一次次试错试出来的,也不知道这些变量类型用的合理不合理。
    (2)我在代码中写了两个链接到transportProperties的接口读取 加密时间步间隔 和 加密范围,测试中发现程序只会在刚开始运行时读取这些常量。请问各位大佬,有没有什么办法能否让程序运行中也能读取这些常量呢?因为假设运行过程中我想改动这两个常量,目前只能把计算停下来改了后重新继续算,不能边算边改。

  • 转需--

    CFD彩虹条
    1
    0 赞同
    1 帖子
    3k 浏览
    李东岳

    https://www.2025.unsw.edu.au/apply/scientia-phd-scholarships/explore-particle-scale-nature-drug-transport-blood-vessels-cells

    The effective delivery of drug particles or agglomerates from blood vessels to tumour cells is a critical step for their effectiveness in treating the target tumour. This project aims to understand the particle-scale fundamentals in the transport processes by means of unique state-of-the-art numerical techniques. Of particular interests are non-spherical particles transports inside blood vessels, through vessel walls and inside tumour cells, agglomerates breakage, and the effects of key variables. The outcomes will help improve the understanding of underlying micro-scale physical processes that control nanoparticle drug delivery in basic terms, and then provide an effective tool for designing effective drug delivery to targeted regions of clinical importance.

    The applicant is expected to have proven research skills including multiphysics modelling and drug delivery related experiments, research experience in drug delivery or biological process, and demonstrated track record of independent research for example published first-author research papers in high-impact journals.

  • 请教Fluent真空辐射模拟

    Fluent
    3
    0 赞同
    3 帖子
    5k 浏览
    S

    求解答

  • 每次打开虚拟机,都很震撼

    CFD彩虹条
    6
    0 赞同
    6 帖子
    9k 浏览
    bestucanB

    @东岳 是的,还在朋友圈看见老师说以后邀请您来杭州:chouchou:

  • 加了个8G内存

    CFD彩虹条
    4
    0 赞同
    4 帖子
    6k 浏览
    李东岳

    0_1525409588790_捕获.JPG

  • 0 赞同
    5 帖子
    8k 浏览
    V

    @Zhy2022 好的谢谢!之后有时间看看论文再来填坑:high:

  • shm生成边界层没有完全覆盖

    Meshy
    4
    0 赞同
    4 帖子
    7k 浏览
    S

    @samuel-tu
    前辈好,请问交界面网格畸形的问题您是否解决了?我也遇到了类似的问题:135:

  • 直播写代码

    CFD彩虹条
    11
    0 赞同
    11 帖子
    21k 浏览
    李东岳

    最近电脑摄像头坏了,一直没买摄像头,只能直播屏幕,但是感觉很无聊。琢磨有空去买一个 :chigua:

  • 关于Fluent收敛性问题

    Fluent
    5
    0 赞同
    5 帖子
    6k 浏览
    I

    感觉和网格有关,可以试试优化一下网格

  • 求VOF基本原理相应教材或者文献

    Algorithm
    3
    0 赞同
    3 帖子
    6k 浏览
    Z

    个人建议,看这个之前,看看icoFoam,那个是绝对的经典~:146:

  • 0 赞同
    2 帖子
    3k 浏览
    李东岳

    https://www.cfd-china.com/topic/2808 你可以去这里问问,我对这个turbulentDFSEMInlet还不太熟悉,那个帖子大佬很多

  • 0 赞同
    5 帖子
    8k 浏览
    李东岳

    snappyHexMesh边界层这个问题有的时候确实不太好处理。目前我也没有什么太好的建议。看看有没有其他大佬关注关注 :jingya:

  • 1 赞同
    8 帖子
    12k 浏览
    .J..

    @陈宏洋 至少得有目录页才能制作吧