Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Error in wrf.exe when simulating wind farms

Hello,

I am having some troubles when I set windfarm_opt = 1, specifically:

===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 76147 RUNNING AT sids-Alienware-m15-R4
= EXIT CODE: 139
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions

I am attaching my namelist.input, windturbines.txt and wind-turbine-1.tbl files along with a tar file containing all of my rsl* files. From what I see, the error message is throw in rsl.error.0004.
I would also welcome any other suggestions based on my namelist.input that could potentially make my model better.

Thanks!
 

Attachments

  • namelist.input
    4.9 KB · Views: 10
  • windturbines.txt
    1.9 KB · Views: 4
  • wind-turbine-1-tbl.txt
    465 bytes · Views: 3
  • rsl_files.tar
    200 KB · Views: 2
Hi,
I see a few things worth mentioning in your namelist.input file.

1) Your domains are too small. Even when doing wind turbine simulations, the domains should never be smaller than 100x100 grid points. See Why domains should be at least 100x100 grid spaces.
2) You have p_top_requested set to 17000. Does this value come from your input data? This seems entirely too low in the atmosphere. The default setting of 5000 is the typical value used for this.
3) This shouldn't cause the failure, but I see you are only using a time_step of 18 seconds. Were you having CFL issues prior to this, which may have led you to reduce the value for this setting? If not, you typically can use a time step of up to 6xDX, so for DX=27000, try something like 150, instead, just so that the model will run faster when you do get it running.

Just out of curiosity, if you turn off windfarm_opt, does the model run?
 
Hi,
Thank you so much for the reply. Yes, the model runs perfectly fine with just that option turned off. As for your other points:
1) noted.
2) I believe I changed it in an attempt to troubleshoot another issue but I will change it back.
3) Yes, I was having CFL issues but I understood 6xDX to be for the smallest domain size, which is DX=3000 in my case, can you confirm if this is true?

Thanks again for your help.
 
Have you tried any of the modifications I suggested? Although it does run without the windfarm_opt, I'd like the domain to be set to a reasonable size, and p_top_requested adjusted so that we aren't introducing issues on top of issues. It's difficult to focus on just the windfarm issue when the settings are possible wrong in other areas. Once you try those, if it's still failing (I expect it will be), please share your new namelist.input file. I would actually like to have your wrfbdy_d01, wrfinput_d0*, and wrflowinp_d0* files so I can try to test this on my end, using your exact files. Those files will be too large to attach here, so see the home page of this forum for instructions on sharing large files. Thanks!
 
Hello!

Thank you again for your effort in helping me.
I made the changes and am still receiving the same errors. As requested, I am attaching the wrfbdy_d01, wrfinput_d0*, and wrflowinp_d0* files through nextcloud filename siddhantsrivastava_windfarm_error.tar. Please let me know if you need any more information from me.
 
Thanks for sharing those. Can you also please attach the namelist.input file you used to create those files? I still only have the original one, and it doesn't match. Thanks!
 
Hi,
Thank you for sending that. I was able to use your input file and namelist and run the case without any problems. I used V4.2.1, compiled with Intel.
Did you happen to make any modifications to the WRF code? Could this be a disk space issue? Since I'm unable to repeat the issue, using your files, the only things I can suggest at this point is to

1) try recompiling WRF from scratch (using a new downloaded or 'git cloned' version to make sure nothing is modified
2) try running this with a newer version of WRF (V4.6.0), which would also take care of suggestion 1), above
 
Thank you so much for the advice. I am using an older version compiled on GNU so I will try recompiling and trying again.
Will reply on this thread if that resolves the issue for future reference.
 
Hi,I'm new on WRF and try to simulate wind farm with WRF v4.0. I set windfarm_opt=0,0,0, windfarm_opt=0,0,1 and windfarm_opt=1,1,1,The wind speed in d03wrfout is exactly the same.I am very confused about this and would appreciate your help.The windturbines.txt, namelist.input, and namelist.wps module_wind_fitch.f90,module_pbl_driver.f90 (the extension is modified into .txt due to forum restrict) are attached.😭😭😭
 

Attachments

  • module_wind_fitch.txt
    13 KB · Views: 1
  • module_pbl_driver.txt
    88 KB · Views: 0
  • windturbines.txt
    4.9 KB · Views: 1
  • namelist.wps
    1.3 KB · Views: 0
  • namelist.input
    4 KB · Views: 1
  • wind-turbine-2.txt
    405 bytes · Views: 2
Hi,I'm new on WRF and try to simulate wind farm with WRF v4.0. I set windfarm_opt=0,0,0, windfarm_opt=0,0,1 and windfarm_opt=1,1,1,The wind speed in d03wrfout is exactly the same.I am very confused about this and would appreciate your help.The windturbines.txt, namelist.input, and namelist.wps module_wind_fitch.f90,module_pbl_driver.f90 (the extension is modified into .txt due to forum restrict) are attached.😭😭😭
since this is a new issue and a different system then the original post can you open a new thread in the wrf sub forum? Since the issue is different ncar likes to keep them separate to avoid confusion.
 
Top