amr-wind
amr-wind copied to clipboard
Non Uniform Roughness, Temperature and Heat Flux at Surface
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:
- Add wave-roughness information
- 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:
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.
This PR was closed because it has been stalled for 7 days with no activity.
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.
This PR was closed because it has been stalled for 7 days with no activity.
@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.
Should we revive this one now that we got the other one out of the way? ;)
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.