Skip to content

Commit

Permalink
Merge branch 'ccpp_scheme_sim' of https://github.com/dustinswales/ccp…
Browse files Browse the repository at this point in the history
…p-scm into ccpp_scheme_sim
  • Loading branch information
dustinswales committed Aug 1, 2023
2 parents 5c3f66f + 84e1247 commit ae62f4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scm/doc/TechGuide/chap_hsd.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ \subsection{Python Dependencies}

\subsection{Enabling the CCPP Suite Simulator}

To use the CSS in the CCPP-SCM two modifications need to be made:
To use the CSS in the CCPP-SCM three modifications need to be made:

\begin{enumerate}
\item Add CSS, and any interstitial schemes needed for coupling the CSS to the host (e.g. SCM), to an existing CCPP SDF (or create a new SDF).
\item Set \execout{do\_ccpp\_suite\_sim = .true.} in the GFS physics namelist, \execout{gfs\_physics\_nml}
\item Modify, or create new, namelist that has the options needed to activate the CSS.
\end{enumerate}

Expand All @@ -71,7 +72,7 @@ \subsection{Namelist for the CCPP Suite Simulator}

\lstinputlisting[
basicstyle=\scriptsize\ttfamily,
label=lst_css_nml,
label=lst_css_nml_ex1,
caption=Example namelist for CCPP Suite Simulator.
]{./css_nml.txt}

Expand All @@ -86,7 +87,7 @@ \subsection{Namelist for the CCPP Suite Simulator}
\end{itemize}
\end{itemize}

For example, in Listing \ref{lst_css_nml}, there are two active schemes, longwave and shortwave radiaiton, and five simulated schemes: PBL, gravity-wave drag, deep/shallow convection, and cloud microphysics. The radiation, gravity-wave drag and PBL schemes are all process-split, whereas convection and cloud microphysics are time-split.
For example, in Listing \ref{lst_css_nml_ex1}, there are two active schemes, longwave and shortwave radiaiton, and five simulated schemes: PBL, gravity-wave drag, deep/shallow convection, and cloud microphysics. The radiation, gravity-wave drag and PBL schemes are all process-split, whereas convection and cloud microphysics are time-split.

\subsection{Creating Custom Data for Simulator}
\label{section:Creating_Custom_Data_for_Simulator}
Expand Down Expand Up @@ -133,7 +134,7 @@ \subsection{Example 1: Suite with Active Radiation}
Next, the physics namelist needs to be configured to:
\begin{enumerate}
\item Add data file, \execout{suite\_sim\_file} created in \ref{section:Creating_Custom_Data_for_Simulator} to the namelist.
\item Turn ``off'' all schemes except the radiation (see Listing \ref{lst_css_nml})
\item Turn ``off'' all schemes except the radiation (see Listing \ref{lst_css_nml_ex1})
\end{enumerate}

Finally, we rebuild the SCM with the modified SDFs to include the CSS, and run the SCM using TWPICE case with the modified \execout{GFS\_v16} suite.
Expand Down Expand Up @@ -165,7 +166,7 @@ \subsection{Example 2: Suite with Active Cloud Microphysics}

\lstinputlisting[
basicstyle=\scriptsize\ttfamily,
label=lst_css_nml,
label=lst_css_nml_ex2,
caption=Example namelist for CCPP Suite Simulator with active cloud microphysics.
]{./css_nml_ex2.txt}

Expand Down
Binary file modified scm/doc/TechGuide/main.pdf
Binary file not shown.

0 comments on commit ae62f4e

Please sign in to comment.