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

WIP: Fitch wind farm parametrization #1413

Merged
merged 5 commits into from
Feb 5, 2024

Conversation

nataraj2
Copy link
Collaborator

@nataraj2 nataraj2 commented Jan 31, 2024

This PR introduces the Fitch parametrization for wind farms
Fitch model 2012
This parametrization for wind farms involves adding source terms to update the x and y velocities as well the turbulent kinetic energy in the mesh cells where the wind turbines are located. Source/WindFarmParametrization/Fitch contains the Fitch model source terms. The paramterization is a runtime option - windfarm_type. Additional parametrizations will be added later.

An example is provided in Exec/Fitch. The turbine locations are in the attached figure and the movie shows the evolution of the velocity magnitude at the hub height of the turbines of z=100 m. All other features such as dissipation and turbulence have been turned off in inputs_Fitch to demonstrate the feature.

To do:

  1. Read in the parameters from the WRF tbl file.
  2. Introduce drag coefficient for the turbines as in WRF.
    Fitch_WindTurbineLocations
    Fitch_vel_abs

@asalmgren
Copy link
Collaborator

in fitch_update it would be good to put all those loops into a single ParallelFor (over multiple boxes).

@asalmgren
Copy link
Collaborator

Also -- we will want to implement other models that do similar things to Fitch but are somewhat different models -- do you want to go ahead and put that generality in now so the choice of parametrization can be a run-time parameter?

@asalmgren asalmgren merged commit b4c5d04 into erf-model:development Feb 5, 2024
11 checks passed
@nataraj2 nataraj2 deleted the FitchSourceTerms branch November 21, 2024 17:42
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

Successfully merging this pull request may close these issues.

2 participants