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 // Zero leaves the wind off, which a test needs if its exact solution is rest.
7 amrex::ParmParse pp_prob("remora.prob");
8 bool quiescent = false;
9 pp_prob.query("quiescent", quiescent);
10
11 Real userval = quiescent ? Real(0.0) : Real(0.01);
12 Real mf_fcor=Real(1.0e-4);
13 //It's possible these should be set to be nonzero only at the boundaries they affect
14
15 // Don't allow doubly periodic in this case
16
17 Real windamp_u = userval*std::sin(Real(0.9)*mf_fcor*Real(86400.0)*(tdays-dstart))/m_solverChoice.rho0;
19 mf_svstr.setVal(zero);
constexpr amrex::Real zero
mf_sustr setVal(windamp_u)
amrex::ParmParse pp_prob("remora.prob")