Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

Z

zzq704

@zzq704
关于
帖子
8
主题
2
群组
0
粉丝
0
关注
0

帖子

最新

  • icoFoam运算出错
    Z zzq704

    @李东岳 好的,谢谢李老师


  • icoFoam运算出错
    Z zzq704

    @李东岳
    那么如果我在icem里面画的网格,interface的两个面大小不相等,要导入到openFoam里面,有什么解决办法吗?


  • icoFoam运算出错
    Z zzq704

    @李东岳
    感谢老师回复
    顺便问一下,cyclicAMI两个面,其面积是可以不等的吗,我在纠结是不是这里有问题导致的出错。例如是下图两个面。

    2022-03-25 10-52-21屏幕截图.png

    2022-03-25 10-52-47屏幕截图.png


  • icoFoam运算出错
    Z zzq704

    @李东岳
    大佬救命,搞不懂嘎


  • icoFoam运算出错
    Z zzq704

    各位老师和同学,本人是打算用icoFoam运算一个从Icem里面转化来的网格,在使用icoFoam试运行的时候,出现了如下错误,第一步就出错了。请问是什么问题呢?Icem里面的网格包含Interface,在openFoam里面设置了cyclicAMI代替,我猜测是不是这一步出了问题,因为interface相邻面面积不一致,我看cyclicAMI介绍好像有说相邻面大小要一样。
    openFoam小白,还望各位赐教。:135:

    /*---------------------------------------------------------------------------*\
      =========                 |
      \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
       \\    /   O peration     | Website:  https://openfoam.org
        \\  /    A nd           | Version:  9
         \\/     M anipulation  |
    \*---------------------------------------------------------------------------*/
    Build  : 9-710dba47639b
    Exec   : icoFoam
    Date   : Mar 22 2022
    Time   : 20:18:23
    Host   : "nm"
    PID    : 58789
    I/O    : uncollated
    Case   : /home/nm/OpenFOAM/nm/cavityceshi2/cavity
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Create mesh for time = 0
    
    Reading transportProperties
    
    Reading field p
    
    Reading field U
    
    Reading/calculating face flux field phi
    
    AMI: Creating addressing and weights between 151 source faces and 134 target faces
    AMI: Patch source sum(weights) min/max/average = 0, 1, 0.841191
    AMI: Patch target sum(weights) min/max/average = 0, 1, 0.813281
    
    Starting time loop
    
    Time = 0.0005
    
    Courant Number mean: 0 max: 0
    smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 9.17761e-06, No Iterations 77
    smoothSolver:  Solving for Uy, Initial residual = 1, Final residual = 9.92611e-06, No Iterations 97
    smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 9.44364e-06, No Iterations 71
    #0  Foam::error::printStack(Foam::Ostream&) at ??:?
    #1  Foam::sigFpe::sigHandler(int) at ??:?
    #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
    #3  Foam::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&) at ??:?
    #4  ? in "/home/nm/OpenFOAM/OpenFOAM-9/platforms/linux64GccDPInt32Opt/bin/icoFoam"
    #5  ? in "/home/nm/OpenFOAM/OpenFOAM-9/platforms/linux64GccDPInt32Opt/bin/icoFoam"
    #6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
    #7  ? in "/home/nm/OpenFOAM/OpenFOAM-9/platforms/linux64GccDPInt32Opt/bin/icoFoam"
    浮点数例外 (核心已转储)
    nm@nm:~/OpenFOAM/nm/cavityceshi2/cavity$

  • ICEM里面的网格包含INTERFACE转换问题
    Z zzq704

    @李东岳
    好的,我试试。感谢回复:146:


  • ICEM里面的网格包含INTERFACE转换问题
    Z zzq704

    这是我的createPatchDict文件。

    /*--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    |  \\    /   O peration     | Version:  5                                     |
    |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        object      createPatchDict;
    }
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    pointSync false;
    
    patches
    (
        {
            name IF1;        //交界面的名字
            patchInfo
            {
                type             cyclicAMI;        //交界面类型
                neighbourPatch   IF2;           //与之相匹配的交界面名字
                transform        noOrdering;
            }
            constructFrom        patches;          //使用patches的方法创建cyclicAMI
            patches              (INTERFACE2);    //patches的名字
        }
    
        {
            name IF2;
            patchInfo
            {
                type             cyclicAMI;
                neighbourPatch   IF1;
                transform        noOrdering;
            }
            constructFrom        patches;
            patches              (INTERFACE2.1);
        }
        
    );
    
    // ************************************************************************* //
    

  • ICEM里面的网格包含INTERFACE转换问题
    Z zzq704

    请问各位老师和同学,在ICEM里面分块画的网格,所以包含interface,在openfoam里面打算用cyclicAMI面来设置。但用createPatch -overwrite命令的时候为什么出了下面的错误。

    nm@nm:~/OpenFOAM/nm/cavityceshi2/cavity$ createPatch -overwrite
    /*---------------------------------------------------------------------------*\
      =========                 |
      \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
       \\    /   O peration     | Website:  https://openfoam.org
        \\  /    A nd           | Version:  9
         \\/     M anipulation  |
    \*---------------------------------------------------------------------------*/
    Build  : 9-710dba47639b
    Exec   : createPatch -overwrite
    Date   : Mar 15 2022
    Time   : 17:40:27
    Host   : "nm"
    PID    : 9550
    I/O    : uncollated
    Case   : /home/nm/OpenFOAM/nm/cavityceshi2/cavity
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Create polyMesh for time = 0
    
    Reading "createPatchDict"
    
    Adding new patch IF1 as patch 7 from 
    {
        type            cyclicAMI;
        neighbourPatch  IF2;
        transform       noOrdering;
    }
    
    
    
    --> FOAM FATAL ERROR: 
    noOrdering not found in table.  Valid entries: 
    4
    (
    unspecified
    rotational
    none
    translational
    )
    
    
        From function const T& Foam::HashTable<T, Key, Hash>::operator[](const Key&) const [with T = unsigned int; Key = Foam::word; Hash = Foam::string::hash]
        in file lnInclude/HashTableI.H at line 126.
    
    FOAM exiting
    
  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]