Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in running pisoFoamTurbine.ALMAdvancedOpenFAST #101

Open
Simon7537 opened this issue Jul 5, 2023 · 3 comments
Open

Problem in running pisoFoamTurbine.ALMAdvancedOpenFAST #101

Simon7537 opened this issue Jul 5, 2023 · 3 comments

Comments

@Simon7537
Copy link

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:

  • Architecture: 64 bit
  • Precision: double
  • Date: Jul 4 2023
  • Time: 10:56:54
    Execution Info:
  • Date: 07/05/2023
  • Time: 17:39:10+0800

OpenFAST input file heading:
FAST Certification Test #1: NREL 5.0 MW Baseline Wind Turbine (Onshore)

Running ElastoDyn.
Running AeroDyn.
Running AirfoilInfo.
Running BEM.
Running UnsteadyAero.
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 3
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers.
Aerodyn doesn't want to calculate forces on the tower. All actuator points on the tower are turned off for turbine 0.
[6] #0 [4] #0 [7] #0 Foam::error::printStack(Foam::Ostream&)[1] #0 Foam::error::printStack(Foam::Ostream&)[2] #0 Foam::error::printStack(Foam::Ostream&)[3] #0 Foam::error::printStack(Foam::Ostream&)[5] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
at ??:?_

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
Copy link

rthedin commented Jul 5, 2023

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
Copy link
Author

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
Copy link

bp-liu commented Sep 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants