Exawind / amr-wind

AMReX-based structured wind solver
https://exawind.github.io/amr-wind
Other
106 stars 82 forks source link

Time-varying boundary conditions (velocity and surface temperature) for precursor simulations #1138

Open udhaya-chandiran opened 1 month ago

udhaya-chandiran commented 1 month ago

Is this feature request related to a problem? Please describe.

A diurnal cycle simulation requires time-varying velocity and surface temperature boundary conditions. This capability is not available yet. From release notes of versions 1.4.0 and 2.1.0 I suppose prescribing inflow velocity as a time-table is feasible. Adding the capability to prescribe time-varying surface temperature will enable diurnal cycle simulations.

Describe the preferred solution

Adding the capability to prescribe the surface temperature as a time-table could be one possibility.

Additional context

Based on the discussion in #1058, creating this as a new issue. Tagging @moprak-nrel, @ewquon, @lawrenceccheung and @hgopalan from the discussion.

AWAKEN Benchmark simulation campaign requires simulating a diurnal cycle. Adding this feature will be helpful to the participants like me. The deadline for phase 1 of the simulation campaign is the 1st of September 2024.

marchdf commented 1 month ago

Hi, thanks for opening this issue. It seems like this is a critical feature for your project. I think it would be best to set up a meeting with the developers so we can understand your needs and how amr-wind might best fulfill those. Would you mind sharing your email address? If you are not comfortable doing so publicly, please email me or one of the other developers/PIs and we can figure it out from there.

lawrenceccheung commented 1 month ago

@marchdf and @udhaya-chandiran, I might be able to help with this, or least participate in the discussion. I'm working on the same AWAKEN problem that @udhaya-chandiran is doing.

hgopalan commented 1 month ago

I have a draft PR for specifying spatio-temporal varying surface temperature. I am not sure if I will have everything ready before the deadline for awaken. You can work with the branch of the code I have until it is part of the main branch.

mbkuhn commented 1 month ago

@udhaya-chandiran, do you need a timetable, or could the temperature cycle be specified analytically with a few constants? Right now, there is a time-varying surface temperature according to a linear growth rate: https://github.com/Exawind/amr-wind/blob/main/amr-wind/wind_energy/ABLWallFunction.cpp#L111 . Would having a temperature formula suited to a diurnal cycle be fitting for this?

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 30 days with no activity.