Free-Atmosphere Damping for ABLForcing#1728
Conversation
… drive surface heat flux.
… wind vector damper for use with ABLForcing.
…tuff about calculating surface heat flux from temperature.
| ifh.ignore( | ||
| std::numeric_limits<std::streamsize>::max(), '\n'); |
There was a problem hiding this comment.
These code lines are here to skip the header line in the data file. This ignore statement needs to be first, prior to the loop.
| ifh.ignore( | ||
| std::numeric_limits<std::streamsize>::max(), '\n'); |
There was a problem hiding this comment.
These code lines are here to skip the header line in the data file. This ignore statement needs to be first, prior to the loop.
| while (ifh >> data_time >> data_value) { | ||
| m_nearsurf_temp_time.push_back(data_time); | ||
| m_nearsurf_temp_value.push_back(data_value); | ||
| ifh.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); |
There was a problem hiding this comment.
This code line is here to skip the header line in the data file. This ignore statement needs to be first, prior to the loop.
| flux = 0.0012 * wspd_mean * (theta_surface - theta_mean); | ||
| break; | ||
| case amr_wind::MOData::ThetaCalcType::NEAR_SURFACE_TEMPERATURE: | ||
| amrex::Print() << "To be implemented..." << std::endl; |
There was a problem hiding this comment.
this print statement is causing the GPU-related checks to fail. No worries for now!
|
Hey Matt! Any updates on this capability? Is it still a work in progress, and would you like me to pitch in any way? If this will be picked up later down the road, we could convert the PR to draft. |
|
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. |
|
Can we resurrect this PR? This is a feature we need. |
Summary
Added functionality to ABLForcing to damp the free atmosphere wind back toward the geostrophic wind that the ABLForcing converges upon.
Pull request type
Draft
Please check the type of change introduced:
Checklist
The following is included:
This PR was tested by running:
Additional background
Issue Number: