Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    unknown type这如何排除?

    OpenFOAM
    1
    2
    439
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LuoS last edited by 李东岳

      一、问题:新建边界条件或Function1时,编译通过,controlDict内挂载,但运行求解器时依然反馈unknow type
      二、基础案例:CFD之道 “OpenFOAM|创建新的边界条件”,链接:https://mp.weixin.qq.com/s?__biz=MzIyMzE2NDM1OQ==&mid=2247487059&idx=1&sn=d94b950d6dd563ed078b2c70c0bff05c&chksm=e8232cfbdf54a5ed610d64ca8919158e060d31f9fdfcb7e6b34c103498591dd4a33616423f5c&mpshare=1&scene=23&srcid=&sharer_sharetime=1583195473662&sharer_shareid=e42d272394596eee9f9a52cce8c48637#rd
      三、部分问题排除:1.新的边界条件编译通过;2.controlDict挂载了新的库文件;3.库文件名直接复制,不存在字符不匹配的错误。图片如下:
      1.PNG
      2.PNG
      四、问题表示如下:
      3.PNG
      五、同类问题:1.挂载库,已排除
      http://www.cfd-china.com/topic/2751/怎样在waves2foam中增加新的自定义波浪类型
      2.提到关键字错误,已排除
      http://www.cfd-china.com/topic/2675/openfoam定义新边界条件问题-通量边界/8
      六、目前状况:请求支援

      1 Reply Last reply Reply Quote
      • L
        LuoS last edited by

        问题找到了,是newFunction1下的TrainingExp.H文件中TypeName(" ");的内容没对上。
        表现为:可用function1类型中包含相似名称的类型,边界条件与该类型存在字符偏差。
        相关链接:https://www.cfd-online.com/Forums/openfoam-programming-development/133466-unknown-patchfield-type.html

        1 Reply Last reply Reply Quote
        • First post
          Last post

        CFD中文网 | 东岳流体 | 京ICP备15017992号-2