Skip to content
  • UDF源码报错

    Fluent
    4
    0 赞同
    4 帖子
    4k 浏览

    我去试一哈,感谢大佬:146:

  • sowfa耦合求解器使用请教

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

    目前我正在尝试使用sowfa平台,我参考了网上的编译资料进行了编译,但在后续使用过程中出现了耦合fast过程中的.fst文件中的错误,

    [heyi@litian pisofast3]$ cat log1.pisoFoamTurbine.ALM No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified No protocol specified /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.4.x-2b147f41daf9 Exec : pisoFoamTurbine.ALMAdvancedOpenFAST -parallel Date : Apr 15 2025 Time : 17:09:10 Host : "litian" PID : 33112 Case : /home/heyi/OpenFOAM/SOWFA/run/pisofast3 nProcs : 8 Slaves : 7 ( "litian.33113" "litian.33114" "litian.33115" "litian.33116" "litian.33117" "litian.33118" "litian.33119" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 10 Reading field, p... Reading field, U... Creating vorticity field, omega... Creating second-invariant of strain-rate tensor field, Q... Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type LESModel Selecting LES turbulence model oneEqEddy Selecting LES delta type cubeRootVol oneEqEddyCoeffs { ce 1.048; ck 0.094; } [0] nFASTSubSteps has to be the same for all turbines [1] nFASTSubSteps has to be the same for all turbines [2] nFASTSubSteps has to be the same for all turbines [4] nFASTSubSteps has to be the same for all turbines [3] nFASTSubSteps has to be the same for all turbines [5] nFASTSubSteps has to be the same for all turbines [6] nFASTSubSteps has to be the same for all turbines [7] nFASTSubSteps has to be the same for all turbines ************************************************************************************************** OpenFAST Copyright (C) 2025 National Renewable Energy Laboratory Copyright (C) 2025 Envision Energy USA LTD This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY. See the "LICENSE" file distributed with this software for details. ************************************************************************************************** OpenFAST-HEAD-HASH-NOTFOUND Compile Info: - Compiler: GCC version 9.3.1 20200408 (Red Hat 9.3.1-2) - Architecture: 64 bit - Precision: double - Date: Apr 8 2025 - Time: 15:03:39 Execution Info: - Date: 04/15/2025 - Time: 17:09:11+0800 OpenFAST input file heading: FAST Certification Test #18: NREL 5.0 MW Baseline Wind Turbine (Onshore) Error in FAST_OpFM_Init:FAST_InitializeAll_TFAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:Invalid logical input for file "NREL5MWRef.1.fst" occurred while trying to read CalcSteady. FAST_ReadPrimaryFile:ReadNum:Invalid numeric input for file "NREL5MWRef.1.fst". "False" found when trying to read the number, Twr_Kdmp. FAST_ReadPrimaryFile:ReadNum:Invalid numeric input for file "NREL5MWRef.1.fst". "False" found when trying to read the number, Bld_Kdmp. terminate called after throwing an instance of 'std::runtime_error' what(): FAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:Invalid logical input for file "NREL5MWRef.1.fst" occurred while trying to read CalcSteady. FAST_ReadPrimaryFile:ReadNum:Invalid numeric input for file "NREL5MWRef.1.fst". "False" found when trying to read the number, Twr_Kdmp. FAST_ReadPrimaryFile:ReadNum:Invalid numeric input for file "NREL5MWRef.1.fst". "False" found when trying to read the number, Bld_Kdmp. [litian:33112] *** Process received signal *** [litian:33112] Signal: Aborted (6) [litian:33112] Signal code: (-6) [litian:33112] [ 0] /lib64/libpthread.so.0(+0xf630)[0x7f8c2552f630] [litian:33112] [ 1] /lib64/libc.so.6(gsignal+0x37)[0x7f8c25187387] [litian:33112] [ 2] /lib64/libc.so.6(abort+0x148)[0x7f8c25188a78] [litian:33112] [ 3] /lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x165)[0x7f8c25cb4a95] [litian:33112] [ 4] /lib64/libstdc++.so.6(+0x5ea06)[0x7f8c25cb2a06] [litian:33112] [ 5] /lib64/libstdc++.so.6(+0x5ea33)[0x7f8c25cb2a33] [litian:33112] [ 6] /lib64/libstdc++.so.6(+0x5ec53)[0x7f8c25cb2c53] [litian:33112] [ 7] /home/heyi/Programs/openfast-2.4.0/install/lib/libopenfastcpplib.so(+0xdd10)[0x7f8c27d57d10] [litian:33112] [ 8] /home/heyi/Programs/openfast-2.4.0/install/lib/libopenfastcpplib.so(_ZN4fast8OpenFAST4initEv+0x4bb)[0x7f8c27d6021b] [litian:33112] [ 9] /home/heyi/OpenFOAM/SOWFA/lib/linux64GccDPOpt/libSOWFATurbineModelsOpenFAST.so(_ZN4Foam13turbineModels37horizontalAxisWindTurbinesALMOpenFAST10initializeEv+0x31)[0x7f8c2be99001] [litian:33112] [10] /home/heyi/OpenFOAM/SOWFA/lib/linux64GccDPOpt/libSOWFATurbineModelsOpenFAST.so(_ZN4Foam13turbineModels37horizontalAxisWindTurbinesALMOpenFASTC1ERKNS_14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEE+0x1d21)[0x7f8c2be9b141] [litian:33112] [11] pisoFoamTurbine.ALMAdvancedOpenFAST[0x429d65] [litian:33112] [12] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f8c25173555] [litian:33112] [13] pisoFoamTurbine.ALMAdvancedOpenFAST[0x430ad4] [litian:33112] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 0 on node litian exited on signal 6 (Aborted). --------------------------------------------------------------------------

    错误提示如文,我不知道是我耦合的fast版本不正确还是参数设置还是编译过程有问题?能否有老师指点一下,万分感谢

    NRELOffshrBsline5MW_Onshore_ElastoDyn_Tower.dat NRELOffshrBsline5MW_Blade.dat

  • 如何修改并编译kOmegaSSTBase?

    OpenFOAM
    11
    0 赞同
    11 帖子
    13k 浏览
    H

    @杜浚平 十分感谢!

  • 0 赞同
    3 帖子
    5k 浏览

    这个问题已经解决,麻烦大家了

  • 0 赞同
    4 帖子
    7k 浏览
    I

    @Marcllory 还有其他错误要更正的吗?
    请提供一下速度分布,压力分布之类的信息
    抱歉,根据您现在提供的东西,我并不能看出太多的东西。

  • Pimple中对速度场的操作

    OpenFOAM
    10
    0 赞同
    10 帖子
    11k 浏览
    R

    感谢老师们!这里确实是多变量的计算,类似于把单个组分场拆分为很多不同的场来计算,但是输入相同的源项,所以会有两种不同的Y在同一个方程里。程序就是在方程这一步出现了错误,我试试各位老师的方法,多输出一些内容看看哪里出问题了。

  • 安装ntfs-3g

    CFD彩虹条
    1
    0 赞同
    1 帖子
    2k 浏览
    李东岳
    wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo && yum -y install ntfs-3g
  • DPM或DDPM砂沉积讨论

    Fluent
    8
    0 赞同
    8 帖子
    13k 浏览
    A

    感觉DDPM比较适合你的例子,就是计算慢了些,或者用双欧拉

  • 两相流含气率计算

    Algorithm
    4
    0 赞同
    4 帖子
    8k 浏览
    李东岳

    @Gordonaero 在 两相流含气率计算 中说:

    两相混合密度=气相密度乘含气率+液相密度乘(1-含气率)

    并且,气体密度也是定值

  • ICEM非结构网格的Max element问题

    Meshy
    1
    0 赞同
    1 帖子
    4k 浏览

    请教一个比较初级的问题,查了帮助文档没有找到想得到的答案。
    ICEM采用Octree方法划分非结构网格的时候,帮助文档和网上的一些教程中都写到:“建议全局网格参数设置中的Max element值要是2的幂”
    这里2的幂是指:2的正整数幂?2的正数幂?2的实数幂?
    实际测试过感觉比如填0.05啥的也可以划分,网格也确实要比2的密很多。所以想问下各位高手这里这个数值填写应该有什么经验或者规律呢?尤其是模型尺寸很小的话,有时候确实需要很小的尺寸啊~

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

    压力没有一个绝对值的话,必须需要给一个参考值。但是你是自己写的代码,不好debug

  • 应力张量如何理解?

    Algorithm
    3
    0 赞同
    3 帖子
    4k 浏览

    Openfoam中是如何算面上的应力张量的?是先算单元体心的应力张量然后插值到面上吗?还是直接根据面上的速度梯度计算?

  • 二维轴对称鼓泡塔稳态模拟不收敛

    Fluent
    7
    0 赞同
    7 帖子
    12k 浏览
    S

    同问,我也正在做类似的东西,但是算到最后连续性方程都是收敛的,但湍流方程总不收敛

  • DQMOM模型奇异矩阵的问题

    Algorithm
    5
    0 赞同
    5 帖子
    8k 浏览
    .J..

    @东岳 李博是不是在植入这个算法,我等你:ok:

  • 0 赞同
    4 帖子
    7k 浏览
    I

    @李东岳 安装ansys 时就可以同时安装cfx么?按照我经验,目前的ansys学术版里面可以直接安装cfx,不需要任何额外的操作。

  • 0 赞同
    3 帖子
    6k 浏览
    Y

    @bestucan 感谢回复

  • 0 赞同
    5 帖子
    12k 浏览
    txwwbzT

    @suzuhaz 大师求助帮忙看一下简单的一个模型块的划分0_1532943202163_05.zip

  • 局部流场数据异常

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

    这是算的什么东西?好圆的球。。。

    异常一直存在么?会消失么

  • 保持登录信息时发帖会显示Forbidden

    CFD彩虹条
    7
    0 赞同
    7 帖子
    10k 浏览
    李东岳

    我最近出现了这个情况。还有人有这个情况么,很奇怪

  • 0 赞同
    18 帖子
    26k 浏览

    @tens 有可能下午来的 或者晚上来的有问题。
    咱讨论下一话题吧:mihu:
    :tishizi: