REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
REMORA_InitAnalyticSMFlux_ChannelTest.H
Go to the documentation of this file.
1 Real time = remora.get_t_old(lev);
2
3 //If we had wind stress and bottom stress we would need to set these:
4 Real tdays=time/(Real(24.0)*Real(60.0)*Real(60.0));
5 Real dstart=zero;
6 Real userval=Real(0.01);
7 Real mf_fcor=Real(1.0e-4);
8 //It's possible these should be set to be nonzero only at the boundaries they affect
9
10 // Don't allow doubly periodic in this case
11
12 Real windamp_u = userval*std::sin(Real(0.9)*mf_fcor*Real(86400.0)*(tdays-dstart))/m_solverChoice.rho0;
13 mf_sustr.setVal(windamp_u);
14 mf_svstr.setVal(zero);
constexpr amrex::Real zero