amr-wind icon indicating copy to clipboard operation
amr-wind copied to clipboard

Non Uniform Roughness, Temperature and Heat Flux at Surface

Open hgopalan opened this issue 1 year ago • 2 comments

Summary

This draft PR proposes a framework to include non-uniform roughness length, temperature and heat flux at the lower surface for handling spatially varying roughness length in large wind farms, spatial-temporal varying one-way roughness-based wave coupling, spatial-temporal varying temperature and sensible heat flux.

MOST is replaced with an explicit stratification based parametrization. Currently, the method does not work work terrains and will be updated in the future.

The data is read in an ascii format to avoid the netCDF dependency. Will create a separate preprocessing tool to convert netCDF data into the ascii format.

ToDo:

  1. Add wave-roughness information
  2. Add variable heat flux

Caution: It is assumed that the time-period of input dataset is greater than CFD run-time. This avoids the need for special one-sided interpolation at the end of the dataset.

Please check the type of change introduced:

  • [ ] Bugfix
  • [ x ] Feature
  • [ ] Code style update (formatting, renaming)
  • [ x ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] Documentation content changes
  • [ ] Other (please describe):

Checklist

The following is included:

  • [ ] new unit-test(s)
  • [ x ] new regression test(s)
  • [ ] documentation for new capability

This PR was tested by running:

  • the unit tests
    • [ ] on GPU
    • [ ] on CPU
  • the regression tests
    • [ ] on GPU
    • [ x ] on CPU

Additional background

Issue Number:

hgopalan avatar Jul 12 '24 20:07 hgopalan

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 22 '24 02:08 github-actions[bot]

This PR was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Aug 29 '24 02:08 github-actions[bot]

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Sep 29 '24 02:09 github-actions[bot]

This PR was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Oct 07 '24 02:10 github-actions[bot]

@hgopalan this was automatically closed because of lack of activity. Please reopen if you want to update and push this through to amr-wind main.

marchdf avatar Oct 07 '24 14:10 marchdf

Should we revive this one now that we got the other one out of the way? ;)

marchdf avatar Oct 08 '24 20:10 marchdf

We may need to discuss internally on cleaning up the preprocessing to make it more general and what variables to support. This was meant to be a POC on how we may do it.

hgopalan avatar Oct 08 '24 21:10 hgopalan