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

Assertion `npts == (nrotor_pts + fi.num_pts_tower)' failed. #1227

Closed
CaiZhiming-HHU opened this issue Sep 3, 2024 · 1 comment
Closed

Assertion `npts == (nrotor_pts + fi.num_pts_tower)' failed. #1227

CaiZhiming-HHU opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@CaiZhiming-HHU
Copy link

When I tried to use AMR-Wind to couple calculations with OpenFAST, I ran into this problem: Assertion 'npts == (nrotor_pts + fi.num_pts_tower)' failed.

==============================================================================
                AMR-Wind (https://github.com/exawind/amr-wind)

  AMR-Wind version :: v0.0.1
  AMR-Wind Git SHA :: UNKNOWM
  AMReX version    :: 24.08

  Exec. time       :: Tue Sep  3 20:51:33 2024
  Build time       :: Aug 11 2024 19:00:19
  C++ compiler     :: GNU 11.1.0

  MPI              :: ON    (Num. ranks = 52)
  GPU              :: OFF
  OpenMP           :: ON    (Num. threads = 2)

  Enabled third-party libraries: 
    NetCDF    4.3.3.1
    OpenFAST  

           This software is released under the BSD 3-clause license.           
 See https://github.com/Exawind/amr-wind/blob/development/LICENSE for details. 
------------------------------------------------------------------------------

Initializing AMReX (24.08)...
MPI initialized with 52 MPI processes
MPI initialized with thread support level 0
OMP initialized with 2 OMP threads
AMReX (24.08) initialized
Initializing AMR-Wind ...
Initializing boundary conditions for velocity_mueff
Initializing boundary conditions for velocity
Initializing boundary conditions for density
Initializing boundary conditions for p
Initializing boundary conditions for velocity_src_term
Initializing boundary conditions for gp
Creating PDESystem instance: ICNS-Godunov
Creating Physics instance: FreeStream
Creating Physics instance: Actuator
Creating TurbulenceModel instance: Laminar-ConstTransport
Creating RefinementCriteria instance: CartBoxRefinement
Creating PostProcessBase instance: TimeAveraging
Initializing boundary conditions for velocity_mean
Creating FieldTimeAverage instance: ReAveraging
Initializing I/O manager
Creating UDF instance: ConstValue
Creating UDF instance: ConstValue
Creating ActuatorModel instance: TurbineFastLine
Initializing turbine:WTG01
TurbineFast: no density conflict detected.
Creating mesh... done
Grid summary: 
  Level 0   112 grids  2000000 cells  100 % of domain
            smallest grid: 24 x 24 x 24  biggest grid: 32 x 28 x 28
  Level 1   144 grids  4190208 cells  26.1888 % of domain
            smallest grid: 32 x 24 x 28  biggest grid: 32 x 32 x 32


 **************************************************************************************************
 OpenFAST

 Copyright (C) 2024 National Renewable Energy Laboratory
 Copyright (C) 2024 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 11.1.0
  - Architecture: 64 bit
  - Precision: single
  - OpenMP: Yes, number of threads: 2/2
  - Date: May 26 2024
  - Time: 17:26:33
 Execution Info:
  - Date: 09/03/2024
  - Time: 20:51:34+0800

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

 Running ElastoDyn.
 Nodal outputs section of ElastoDyn input file not found or improperly formatted.
 Running BeamDyn.
 Nodal outputs section of BeamDyn input file not found or improperly formatted.
 Running BeamDyn.
 Nodal outputs section of BeamDyn input file not found or improperly formatted.
 Running BeamDyn.
 Nodal outputs section of BeamDyn input file not found or improperly formatted.
 Running AeroDyn.
 AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted.
 Skipping nodal outputs.
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 1, blade 1)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 2, blade 1)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 3, blade 1)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 4, blade 1)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 1, blade 2)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 2, blade 2)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 3, blade 2)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 4, blade 2)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 1, blade 3)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 2, blade 3)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 3, blade 3)
 Warning: Turning off Unsteady Aerodynamics because polar has constant data. (node 4, blade 3)
 Running InflowWind.

    Reading a 31x31 grid (145 m wide, 17.5 m to 162.5 m above ground) with a characteristic wind
    speed of 12 m/s. This full-field file was generated by TurbSim (from
    OpenFAST-v3.0.0-98-g7bde6b54) on 14-Sep-2021 at 11:49:55.

    Processed 1442 time steps of 20-Hz grid-field data (72.05 seconds).
 Running ServoDyn.
 Running ServoDyn Interface for Bladed Controllers (using GNU Fortran for Linux).
 Using legacy Bladed DLL interface.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Assertion `npts == (nrotor_pts + fi.num_pts_tower)' failed, file "/home/zmcai/amr-wind-2.0.0/amr-wind/wind_energy/actuator/turbine/fast/FastIface.cpp", line 242
[node03:138589] *** Process received signal ***
[node03:138589] Signal: Aborted (6)
[node03:138589] Signal code:  (-6)
[node03:138589] [ 0] /lib64/libpthread.so.0(+0xf630)[0x7fb53b1fc630]
[node03:138589] [ 1] /lib64/libc.so.6(gsignal+0x37)[0x7fb539e47387]
[node03:138589] [ 2] /lib64/libc.so.6(abort+0x148)[0x7fb539e48a78]
[node03:138589] [ 3] /home/zmcai/GCC/gcc-11.1/lib64/libstdc++.so.6(+0x9c4ee)[0x7fb53a7954ee]
[node03:138589] [ 4] /home/zmcai/GCC/gcc-11.1/lib64/libstdc++.so.6(+0xa7856)[0x7fb53a7a0856]
[node03:138589] [ 5] /home/zmcai/GCC/gcc-11.1/lib64/libstdc++.so.6(+0xa78c1)[0x7fb53a7a08c1]
[node03:138589] [ 6] /home/zmcai/GCC/gcc-11.1/lib64/libstdc++.so.6(+0xa7b44)[0x7fb53a7a0b44]
[node03:138589] [ 7] amr_wind[0x43b9ec]
[node03:138589] [ 8] amr_wind[0x74fc4f]
[node03:138589] [ 9] amr_wind[0x754c7b]
[node03:138589] [10] amr_wind[0x7665e8]
[node03:138589] [11] amr_wind[0x714bd1]
[node03:138589] [12] amr_wind[0x4613a5]
[node03:138589] [13] amr_wind[0x4664c1]
[node03:138589] [14] amr_wind[0x44ed22]
[node03:138589] [15] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fb539e33555]
[node03:138589] [16] amr_wind[0x45b19f]
[node03:138589] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 9 with PID 138589 on node node03 exited on signal 6 (Aborted).
--------------------------------------------------------------------------
@CaiZhiming-HHU CaiZhiming-HHU added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@CaiZhiming-HHU and others