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*60.0*60.0);
5 Real dstart=0.0_rt;
6 Real userval=0.01_rt;
7 Real mf_fcor=1.0e-4_rt;
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(0.9_rt*mf_fcor*86400.0_rt*(tdays-dstart))/m_solverChoice.rho0;
13 mf_sustr.setVal(windamp_u);
14 mf_svstr.setVal(0.0_rt);