Skip to content

errors when using SOWFA with pisoFoamTurbine.ALMAdvancedOpenFAST to couple with FAST. #111

@heyi888

Description

@heyi888

I am currently trying to use SOWFA on a CentOS-7 system with OpenFAST version 2.4.0 and OpenFOAM 2.4.x. The compilation process was successful, but during usage, I repeatedly encounter errors in the .fst file. Below is the error log:

[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).
--------------------------------------------------------------------------

If anyone knows the solution to this issue, I would be extremely grateful if you could let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions