OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
680 stars 456 forks source link

Using AMR-Wind to generate background inflow for FAST.Farm. #2298

Open CaiZhiming-HHU opened 3 months ago

CaiZhiming-HHU commented 3 months ago

Dear all, I am a PhD student in the wind power research, using FAST.Farm in complex terrain of the flow field research. In the past, I've been using SOWFA to generate background inflow for FAST.Farm. In https://github.com/OpenFAST/openfast/issues/1027, @jjonkman came up with this👇 image Therefore, I hope to use amr-wind as the precursor of the background inflow simulation of wind farm, and derive the calculated background inflow wind speed information as the inflow of FAST.Farm. However, I did not find the relevant operation instructions in the AMR-Wind documentation. I would appreciate if there's a manual or case code and instructions! @jjonkman @NRELAdmin

rthedin commented 3 months ago

AMR-Wind is a standalone LES solver. There will not be any FAST.Farm-specific instructions on the AMR-Wind side. For FAST.Farm purposes, AMR-Wind is used only to obtain the flowfield. You mentioned that you used to use SOWFA to generate inflow for FAST.Farm before. For that, you used to sample the flowfield, then do your own processing, and feed that into FAST.Farm. For AMR-Wind, the overall workflow is the same.

What is different here is the syntax to sample data from the solver. I recommend you take a look at the AMR-Wind readthedocs, which contains information about the input file. Sampling syntax is discussed here.

With that said, we have additional tools to help you setup a FAST.Farm case. Included in those tools is a utility to help you setup the sampling that will go on your AMR-Wind input file. An example of the AMR-Wind sampling generation is given here and a complete example on how to use the toolbox for FAST.Farm is given here.