NREL / SOWFA

Other
130 stars 113 forks source link

Problem in running pisoFoamTurbine.ALMAdvancedOpenFAST #101

Open Simon7537 opened 1 year ago

Simon7537 commented 1 year ago

I tried running the case in exampleCases/example.NREL5MW.ALMAdvancedFAST8, but the following error occured:

_/---------------------------------------------------------------------------\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 2.4.x-master | | \ / A nd | Web: www.OpenFOAM.org | | \/ M anipulation | | *---------------------------------------------------------------------------*/ Build : 2.4.x-master Exec : pisoFoamTurbine.ALMAdvancedOpenFAST -parallel Date : Jul 05 2023 Time : 17:39:09 Host : "bootstraper" PID : 8658 Case : /home/zhengshm/n-nrel/grep/SOWFA-master/exampleCases/pisofast nProcs : 8 Slaves : 7 ( "bootstraper.8659" "bootstraper.8660" "bootstraper.8661" "bootstraper.8662" "bootstraper.8663" "bootstraper.8664" "bootstraper.8665" )

Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Floating point exception trapping - not supported on this platform 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; }

[1] nFASTSubSteps has to be the same for all turbines [0] nFASTSubSteps has to be the same for all turbines [2] nFASTSubSteps has to be the same for all turbines [3] nFASTSubSteps has to be the same for all turbines [4] 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) National Renewable Energy Laboratory Copyright (C) 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:

My OpenFOAM version is 2.4.x. My OpenFAST version is 2.1.0, and I had replaced the 5MWBaseline directory in the case with OpenFAST-2.1.0. And OpenFAST can be successfully ran in the case directory if CompInflow option changes to 1.

OS: CentOS 7 Compilers: gcc 5.2.1

Thanks for the help.

rthedin commented 1 year ago

The relevant error line is:

[1] nFASTSubSteps has to be the same for all turbines

Make sure your sub-time steps from openfast are all consistent.

Simon7537 commented 1 year ago

The relevant error line is:

[1] nFASTSubSteps has to be the same for all turbines

Make sure your sub-time steps from openfast are all consistent.

Thank you for your fast reply! But I only set 1 turbine in constant/turbineArrayProperties, and the nFASTSubSteps=dt(OpenFOAM)/dt(OpenFAST). Are there any other problems or any other options can set nFASTSubSteps?

bp-liu commented 9 months ago

Hello, have you solved this problem? It seems that the problem is here: Aerodyn doesn't want to calculate forces on the tower. All actuator points on the tower are turned off for turbine 0. You can change the TwrAero in AeroDyn in 5MWBaseline to True. Maybe it can help you solve the problem.