-
Notifications
You must be signed in to change notification settings - Fork 458
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
Error while running FAST.Farm on Windows #808
Comments
Dear @1900360, You said that you are using one an input file from the official website, but I see that you've changed many input parameters, including the location of the wind turbine and which OpenFAST model is being used. The error is saying that the "Nacelle-yaw error is undefined because the rotor-disk-averaged relative wind speed is directed vertically". FAST.Farm cannot run if the rotor-disk-averaged relative wind speed is directed vertically. Based on the settings you've changed in your input file(s), do you know why the the wind speed is this way? Can you run FAST.Farm as is without changing the input files? If so, what input file change leads to this error? Best regards, |
Dear @jjonkman, Hello, I changed the data in the input file just because the official website file failed to run before. The changes include the AMBIENT WIND and WIND TURBINES. Because the OpenFAST model in the official website refers to the relative position, and I think the official website has not been updated for a long time, so the name of the file is different from the name of the existing OpenFAST Model, so I made the above changes. So I was wondering if you have a complete and up-to-date input file and how the DWM model is used? Forgive me for being a novice, because there are not many tutorials on the fast. Farm model on the Internet. Best regards, |
Dear @jjonkman, I am using this kind of fan model, is there any problem? Best regards, |
Dear @1900360, I haven't tried to review your files in detail, but I would suggest first starting with one of the existing FAST.Farm examples. There are two provided in the OpenFAST r-test--one using LES inflow and one using TurbSim-derived inflow--see: https://github.com/OpenFAST/r-test/tree/main/glue-codes/fast-farm. Do these run for you without error? Best regards, |
I ran the two examples you mentioned, but I got the following error: ”“” T1:FARM_InitialCO:FWrap_t0:FAST_Solution0:CalcOutputs_And_SolveForInputs:SolveOption2:SolveOption2 Aborting FAST.Farm. |
Do you have a sample file for the 2MW fan? Forgive me for needing it so badly |
Dear @1900360, I would not expect you to receive this error running the sample FAST.Farm model provided by NREL, unmodified. Perhaps there is something wrong with the version of FAST.Farm you compiled yourself? Can you try running the NREL example using the precompiled version of FAST.Farm for Windows, available from here: https://github.com/OpenFAST/openfast/releases/download/v3.0.0/FAST.Farm_x64.exe? By "2MW fan", do you mean a wind turbine rated for 2 MW? NREL does not such a model available in the public domain. The closest is probably the WindPACT 1.5-MW baseline wind turbine. Best regards, |
When Mod_AmbWind=1 in the input file of fast.farm, the program runs fine, but the above problems may occur because the high fidelity precursor simulation using VTK format generates too little ambient wind data (according to the official website), which can only run 30 steps at low resolution. The high resolution wind data output file cannot be generated. At present, I changed Mod_AmbWind in the input file of fast.farm to 2 (other parameters remain unchanged), but the following problems occurred
|
(1) How can I extend the wake simulation time? |
Dear @1900360, The FAST.Farm examples are meant as just that...examples to get you started and to test functionality of the software. You'll have to set up your own model and generate your own wind data (from LES, TurbSim, etc.) to run your own simulations of your own length and purpose. Regarding the error you are getting, I believe this is because the only thing you've changed in the LES example is Regarding (3), do you already have all of the properties of the 2-MW wind turbine you wish to model, or is this something you intend to design or scale from an existing wind turbine of a different size? Best regards, |
Dear @jjonkman, Thank you very much! I finally found the problem and solved it. At present, I want to model the existing model of VestasV80 2MW wind turbine, but I don't know where to start. At present, only the parameters such as rotation speed and diameter provided on the official website are available. Could you please give me the reference process? Because I don't know much about it. Best regards, |
Dear @1900360, I'm glad FAST.Farm is now working for you. Regarding the modeling of a 2-MW turbine, if you have limited information (which is sounds like you do), you'll likely have to scale one of the existing reference wind turbine models (such as the WindPACT 1.5-MW baseline turbine or the IEA Wind 3.4-MW reference wind turbine, apply scaling laws to get you close to the values of the parameters you do have, and then update design details (perhaps via optimization) to get closer to the turbine representation you want. If you are trying to model a specific wind turbine with specific details, the more information you have the better the turbine representation can be (obviously). I have not done this myself, so, I can't really comment on the detailed steps required. That said, @ewquon of NREL has followed such a procedure to develop OpenFAST models of various sizes by scaling and optimization steps--see the following github repository for more information: https://github.com/NREL/openfast-turbine-models/tree/master/IEA-scaled. Best regards, |
Dear @jjonkman, How do you verify the results generated by fast. Farm? How do you know how accurate the wake is? Is there a more accurate way to verify and compare? Best regards, |
Dear @1900360, I'm not sure I fully understand your question, please refer to our published papers regarding how we've calibrated, verified, and validated FAST.Farm: https://www.nrel.gov/docs/fy21osti/76805.pdf Best regards, |
Dear @jjonkman, Currently, when I change the grid parameters of Fast. Farm, I encounter the following problems. Is it beyond the scope of the fan or other reasons? My intention is to encrypt the number of grids so as to achieve a more refined result. Is this setting correct?
Best regards, |
Dear @1900360, This error means that an aerodynamic analysis node for one of the wind turbines is beyond the boundaries of the high-resolution domain. The "position" listed in the error message is relative to the wind turbine origin (WT_X,WT_Y,WT_Z). Increasing the resolution of the low- and high-resolution domains of FAST.Farm will lead to a converged result at greater computational expense. See the Modeling Guidance chapter of the FAST.Farm User's Guide and Theory Manual for guidance on how to set these discretizations: https://openfast.readthedocs.io/en/main/source/user/fast.farm/ModelGuidance.html. Best regards, |
Dear @jjonkman, Thank you. I finally solved the problem. Later when I changed the entry conditions, I wanted to use TurbSim to generate the BTS file as shown (WindType=3), but I had this problem:
I didn't know if it was right. I referred to TurbSim specification file for modification, but it didn't reach the expected result Best regards, |
Dear @jjonkman, This is my input file in Turbsim. I don't know why, but the value in the red circle cannot be read. It is displayed as N/A Best regards, |
When you choose the "SMOOTH" turbulence model, the inputs you circled in red are not used. Please see the TurbSim User's Guide for more information regarding which inputs are used with each different turbulence model. |
Dear @1900360, I'm not sure why you are getting an access violation error when using this TurbSim-generated file within FAST.Farm. It would probably help to compile FAST.Farm in debug mode and then rerun this simulation, which should provide a bit more information on why this error is generated. Best regards, |
The access violation may be due to a bug in InflowWind that was updated in the Fixed here: #769 |
hello @jjonkman |
Dear @HYFOAM, Based on a function
Best regards, |
Dear @jjonkman Thank you very much for your reply. I want to do some wind tunnel experiments to make some corrections to DWM. Do you have any good ideas for the experiment I am going to do? Best regards, |
Dear @HYFOAM, Well, the DWM model aims to capture the far-wake evolution, meandering, and wake-added turbulence of wind turbine wakes in the atmospheric boundary layer for the purposes of calculating the structural loads of waked turbines in a wind farm. So, ideally you'd model a turbulent boundary layer flow and one or more turbines in the wind tunnel experiment with measurements of the inflow, wakes, and turbine response. Best regards, |
Thank you very much for your answers! Best regards, |
Dear @jjonkman I am using FAST.Farm from OpenFASTv3.0.0 to simulate a wind farm of three IEA 15MW wind turbines. In OpenFAST one turbine can run well, however, the following errors show in FAST.Farm T1:FARM_InitialCO:NearWakeCorrection:Wake model is not valid in the propeller-brake region, i.e., Could you please let me know the possible reasons? Best regards, |
Dear @jjonkman The above problem is related to the high-resolution domain and it is solved by greatly enlarging NX_High, NY_High, NZ_High. Thanks a lot. |
Dear @YiqXia, This error is stating that the disk-averaged rotor thrust coefficient is greater than 2, where the near-wake correction in FAST.Farm is invalid. A rotor thrust coefficient greater than 2 is quite unexpected and it appears to happen for all three wind turbines. I would guess the wind turbines are not operating as expected based on an incorrect setting in the FAST.Farm or OpenFAST input files. I'm not sure I understand how this would be tied to the discretization of the high-resolution domains, but it is difficult for me to guess what the actual problem would be. Can you clarify? How do the wind speed, rotor speed, and blade pitch angles look for each turbine as output from OpenFAST up until the simulation failure? Best regards, |
Hey @1900360 , what program did you use to visualize the result that you shared on 24 August 2021? The simulation I mean |
Dear @Tommi1198, The visualization shown by @1900360 uses visualization data output from FAST.Farm and displayed using the ParaView software. Best regards, |
Dear @jjonkman , what tipe of extension file ParaView can open? Thanks |
Dear @Tommi1198, For the visualization data, FAST.Farm makes use of the simple legacy serial VTK file format discussed in the online FAST.Farm documentation: https://openfast.readthedocs.io/en/main/source/user/fast.farm/InputFiles.html#ff-ambwindvtk. Best regards, |
Dear @jjonkman Q1、When Low-high resolution input files in. vtk format with naming conventions.The official document provides the following description:The low-resolution ambient wind data files must be named Amb.t.vtk and stored in a subdirectory named Low. In the file names, is an integer (without leading zeros) between 0 (at t=0) and N-1, whre N= FLOOR(TMax/ DTLow) + 1.The high-resolution ambient wind data files must be named Amb.t.vtk, where is an integer (without leading zeros) between 0 (at t=0) and DTLow/DT_High * (N-1). The official document describes it as: When using ambient wind generated by a high-fidelity precursor simulation with Mod_AmbWind = 1, ambient wind data files for both the low- and high-resolution domains must be pre-generated. So how are these low high resolution and. vtk format input files generated? Can we use TurbSim to generate it? Then use OpenFAST.exe to read the output wind file of TurbSim, and open 'WrVTK' in the VISUALIZATION section to generate a In theory, it seems feasible, but the number of generated. vtk files is limited. If I add the simulation duration 'TMax', increase the DTLow/DT'High ratio, or increase the number of fans in the LESinflow example in the. fstf file, the number of high-resolution. vtk files in the HighTfolder will further increase. This means that manually running the output wind file of TurbSim through OpenFAST to generate. vtk files will NOT be practical. Of course, the content discussed above is based on the fact that. vtk files can be generated using TurbSim. Does it mean that the. vtk input file for the LESinflow example cannot be generated in. vtk format using TurbSim if it is the actual measurement data obtained from LES experiments? If we can use the combination of TurbSim and OpenFAST to generate. vtk, what are the operation procedures and details? How to quickly create a large number of. vtk files? Q2、Is the low-high resolution The schematic diagram of the defined grid wind field is shown in the figure: Q3、Mod_AmbWind=2 compared with 3 The official description of the difference between these two options is: I browsed the input file for the ModAmb3 example, And the time series file USRTimeSeries_T1.txt is shown in the figure: So are the 3 wind speed components of this wind speed vector real measurements? Can I customize the required time series file for the actual measurement of the wind speed 3 component measured by the LiDAR? Is there a requirement for the time resolution of time series files? Q4、Confusion about the FAST.Farm inertial-frame coordinate system: The input parameter PropagationDir in the InflowWind primary input file be set to 0, ±90, or 180 Is there a correlation between FAST.Farm's inertial-frame coordinate system and geographic coordinate system? I think FAST.Farm's X-axis positive half axis points to due east and Y-axis positive half axis points to due north. Is my understanding incorrect? Can I asked a lot of questions at once, all of which were confusions that arose after reading the documentation and running the examples. I hope this has not caused any inconvenience to you or your team, and I look forward to your clarification and answers. |
Dear @1codecopyer, Here are my responses:
FYI: When setting up FAST.Farm models and their inflow, we generally recommend using the python scripts available in the OpenFAST Toolbox, which follow the FAST.Farm modeling guidance: https://github.com/OpenFAST/openfast_toolbox/tree/main/openfast_toolbox/fastfarm. Best regards, |
Description
<Hi, I am trying to run fast.farm on windows. First I used the input file on the official website, but the following error occurred when CMD executed the command>
Produce
Steps to reproduce the behavior:
Expected behavior
<The BEM solution is being turned off due to low TSR. (TSR = 0). This warning will not be
repeated though the condition may persist. (See GeomPhi output channel.)
T1:FARM_InitialCO:FWrap_t0:FWrap_CalcOutput:Nacelle-yaw error is undefined because the
rotor-disk-averaged relative wind speed is directed vertically>
Obviously, my input conflicts with the source program, or something is wrong, but I can't figure out why.The input file is at the end
4.The cmd output is now:
Additional context
<In addition, I am learning how to use the DWM model of Fast. Farm to simulate the single fan dynamic wake, if anyone has done this, please contact me, I would appreciate it!>
FAST.Farm--input.txt
The text was updated successfully, but these errors were encountered: