Group Details Private

administrators

负责CFD中文网站务

Member List

  • RE: 自动调节时间步长循环计算某一时间步

    就是发散了,deltaT太小了,比如1e-15, 1e-16就没有步进

    posted in OpenFOAM
  • RE: 自动调节时间步长循环计算某一时间步

    @merlinizlf自动调节时间步长循环计算某一时间步 中说:

    一直在循环计算某一个时间

    这不是闹鬼了么?时间旅行?一直循环在1-2秒?算完了2秒又回到1秒了?

    posted in OpenFOAM
  • RE: 提取log文件中的一些信息

    各位简直就是大佬中的大佬 厉害厉害 :chitang:

    posted in OpenFOAM
  • ipmitool 调节风扇阈值
    ipmitool -I lan -U ADMIN -H 192.168.1.18 sensor thresh FANB lower 100 150 200
    
    posted in C斯达克
  • 提取log文件中的一些信息
    
    Courant Number mean: 0.143461 max: 0.780362
    deltaT = 0.000740741
    Time = 0.502963
    
    Weighted Re = 9.08136, weighted breakage frequency = 0
    MULES limit is done
    MULES: Solving for alpha.oil
    MULES: Solving for alpha.water
    oil fraction, min, max = 0.003 0.000631032 0.00359543
    water fraction, min, max = 0.997 0.996405 0.999369
    Phase-sum volume fraction, min, max = 1 1 1
    DILUPBiCGStab:  Solving for n, Initial residual = 0.000902233, Final residual = 1.49928e-09, No Iterations 1
        Inconsistency value, average, min, max = 2.52405e-11 -0.000617714 0.00282076
        Droplet diameter max, min, mean = 0.0002, 0.0002, 0.0002
    MULES limit is done
    MULES: Solving for alpha.oil
    MULES: Solving for alpha.water
    oil fraction, min, max = 0.003 0.000631032 0.00359535
    water fraction, min, max = 0.997 0.996405 0.999369
    Phase-sum volume fraction, min, max = 1 1 1
    DILUPBiCGStab:  Solving for n, Initial residual = 0.000901165, Final residual = 1.49419e-09, No Iterations 1
        Inconsistency value, average, min, max = 2.51988e-11 -0.000617713 0.00282694
        Droplet diameter max, min, mean = 0.0002, 0.0002, 0.0002
    Constructing momentum equations
    oil min/max T 300 - 300
    water min/max T 300 - 300
    GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00559932, No Iterations 6
    GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00565399, No Iterations 6
    GAMGPCG:  Solving for p_rgh, Initial residual = 1, Final residual = 3.20997e-08, No Iterations 15
    DILUPBiCGStab:  Solving for epsilon.water, Initial residual = 0.000218679, Final residual = 6.3486e-09, No Iterations 2
    DILUPBiCGStab:  Solving for k.water, Initial residual = 0.000310738, Final residual = 1.00525e-09, No Iterations 2
    ExecutionTime = 91.01 s
    
    
    Courant Number mean: 0.14345 max: 0.780081
    deltaT = 0.000740741
    Time = 0.503704
    
    Weighted Re = 9.07954, weighted breakage frequency = 0
    MULES limit is done
    MULES: Solving for alpha.oil
    MULES: Solving for alpha.water
    oil fraction, min, max = 0.003 0.000631032 0.00359535
    water fraction, min, max = 0.997 0.996405 0.999369
    Phase-sum volume fraction, min, max = 1 1 1
    DILUPBiCGStab:  Solving for n, Initial residual = 0.000900074, Final residual = 1.47821e-09, No Iterations 1
        Inconsistency value, average, min, max = 2.51619e-11 -0.000617711 0.00283307
        Droplet diameter max, min, mean = 0.0002, 0.0002, 0.0002
    MULES limit is done
    MULES: Solving for alpha.oil
    MULES: Solving for alpha.water
    oil fraction, min, max = 0.003 0.000631032 0.00359527
    water fraction, min, max = 0.997 0.996405 0.999369
    Phase-sum volume fraction, min, max = 1 1 1
    DILUPBiCGStab:  Solving for n, Initial residual = 0.000899041, Final residual = 1.47284e-09, No Iterations 1
        Inconsistency value, average, min, max = 2.51262e-11 -0.00061771 0.00283924
        Droplet diameter max, min, mean = 0.0002, 0.0002, 0.0002
    Constructing momentum equations
    oil min/max T 300 - 300
    water min/max T 300 - 300
    GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00559881, No Iterations 6
    GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00565348, No Iterations 6
    GAMGPCG:  Solving for p_rgh, Initial residual = 1, Final residual = 3.20563e-08, No Iterations 15
    DILUPBiCGStab:  Solving for epsilon.water, Initial residual = 0.000217858, Final residual = 6.31719e-09, No Iterations 2
    DILUPBiCGStab:  Solving for k.water, Initial residual = 0.00030924, Final residual = 9.97882e-10, No Iterations 2
    ExecutionTime = 91.12 s
    
    
    Courant Number mean: 0.143439 max: 0.779868
    deltaT = 0.000740741
    Time = 0.504444
    
    Weighted Re = 9.07807, weighted breakage frequency = 0
    MULES limit is done
    MULES: Solving for alpha.oil
    MULES: Solving for alpha.water
    oil fraction, min, max = 0.003 0.000631032 0.00359526
    water fraction, min, max = 0.997 0.996405 0.999369
    Phase-sum volume fraction, min, max = 1 1 1
    DILUPBiCGStab:  Solving for n, Initial residual = 0.000897968, Final residual = 1.45572e-09, No Iterations 1
        Inconsistency value, average, min, max = 2.50956e-11 -0.000617709 0.00284538
        Droplet diameter max, min, mean = 0.0002, 0.0002, 0.0002
    MULES limit is done
    MULES: Solving for alpha.oil
    MULES: Solving for alpha.water
    oil fraction, min, max = 0.003 0.000631032 0.00359518
    water fraction, min, max = 0.997 0.996405 0.999369
    Phase-sum volume fraction, min, max = 1 1 1
    DILUPBiCGStab:  Solving for n, Initial residual = 0.000896997, Final residual = 1.44647e-09, No Iterations 1
        Inconsistency value, average, min, max = 2.50645e-11 -0.000617707 0.00285154
        Droplet diameter max, min, mean = 0.0002, 0.0002, 0.0002
    Constructing momentum equations
    oil min/max T 300 - 300
    water min/max T 300 - 300
    GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00559871, No Iterations 6
    GAMG:  Solving for p_rgh, Initial residual = 1, Final residual = 0.00565306, No Iterations 6
    GAMGPCG:  Solving for p_rgh, Initial residual = 1, Final residual = 3.20133e-08, No Iterations 15
    DILUPBiCGStab:  Solving for epsilon.water, Initial residual = 0.000217072, Final residual = 6.28692e-09, No Iterations 2
    DILUPBiCGStab:  Solving for k.water, Initial residual = 0.000307752, Final residual = 9.91092e-10, No Iterations 2
    ExecutionTime = 91.23 s
    
    
    

    各位大佬,这是上面的log文件,我想从中提取几个关键的值:

    • Time = 0.000576911里面的0.000576911
    • Inconsistency value, average, min, max = -1.34441e-17 -0.000583605 0.000718129里面的0.000718129

    目前我使用这个语句:

    awk '{if($0~"Inconsist") print}' log
    

    可以提取出来一部分,但是达不到我的需求。我最终想要的是两列数据,类似:

    0.000576911  0.000718129
    

    上面是一行的,第一列Time,第二列是后面那个

    有没有大佬会搞这个?

    posted in OpenFOAM
  • RE: 关于多块网格并行剖分的负载平衡问题

    @小狗狗关于多块网格并行剖分的负载平衡问题 中说:

    没有拓扑连接关系的分块网格呢?

    这是什么意思 没太懂

    posted in Meshy
  • RE: 新写的程序单核计算无问题,但无法并行计算?

    @OItoCFD新写的程序单核计算无问题,但无法并行计算? 中说:

    mpi并行那些需要考虑吗?

    一般不需要考虑

    除非你的surface场进行一些特殊的插值

    posted in OpenFOAM
  • RE: OpenFOAM初级入门建议(2020年更新版)

    @Micro 不,不是那个。我说的主要是alpha方程的子循环。你知道多相流这面alpha方程一般要显性离散,因此要加子循环的。

    posted in OpenFOAM
  • RE: shm对于blockMesh和gmsh生成的背景网格计算时长不同

    感谢分享 恭喜你debug成功 :146:

    posted in OpenFOAM
  • RE: shm对于blockMesh和gmsh生成的背景网格计算时长不同

    @Samuel-Tu 不涉密可以把算例发上来玩玩

    posted in OpenFOAM