Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream changes #3

Open
wants to merge 87 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
8678b6f
Adding changes to reference ver 7.00 in manual and WWVER in w3initmd …
ajhenrique Apr 2, 2019
2b1ea78
HotFix: ounfpart + NCO switch + DB1 coeff (v6.07.1) (#16)
ajhenrique Apr 23, 2019
04ed64b
Merging feature/sharedobject to develop (#29)
May 21, 2019
f69e98a
Esmf makefile (#36)
ajhenrique May 21, 2019
03f853a
Hotfix/hf master (#45)
mickaelaccensi Jun 7, 2019
526bf5c
Revert "Merging feature/sharedobject to develop (#29)" (#46)
ajhenrique Jun 10, 2019
002a2e5
Bug fix to ad3 where .mod files could be deleted/moved too soon when …
ajhenrique Jun 24, 2019
9f504c3
Slurm regtests (#51) (#52)
ajhenrique Jun 25, 2019
3063a4c
Fb esmf makefile (#53)
ajhenrique Jun 25, 2019
4ee5fc8
develop branch: merging hotfix #54 from HF branch.
ajhenrique Jun 27, 2019
92cb41f
Pull request for compiling shared objects. (#47) (#65)
ajhenrique Jul 24, 2019
aced0a0
PDLIB changes for reducing memory usage (#84)
thesser1 Sep 29, 2019
5eaa609
Fb port2hera (#107)
ajhenrique Sep 30, 2019
e0b61d0
Add option for reading wind from restart for wmesmf and a few other t…
JessicaMeixner-NOAA Oct 7, 2019
4bacd02
Develop (#86)
mickaelaccensi Oct 10, 2019
ab9e649
Fb hybrid switchback (#113)
ajhenrique Oct 11, 2019
39d1fb7
UKMO Cray bugfixes (#105)
ukmo-ccbunney Oct 30, 2019
da4a8d1
Gefs v12 (#118)
ajhenrique Oct 31, 2019
f7fa51f
Fb input interp (#119)
RobertoPadilla-NOAA Nov 1, 2019
5ab4301
Update ww3_ounf.ftn
ajhenrique Nov 1, 2019
db57a3e
revert comment on wcc and wcf in manual (#131)
mickaelaccensi Dec 16, 2019
d7e746d
B4b reproducibility (#134)
aliabdolali Dec 17, 2019
dd6d357
Fb segfalt grdid (#136)
aliabdolali Jan 10, 2020
328a42a
NCEP GFSv16/GEFSv12 (#140)
ajhenrique Jan 13, 2020
048461a
Gefs v12: Adjusting comp/link options for NCEP wcoss build (#145)
ajhenrique Jan 14, 2020
b9d1d98
Update cmplr.env
ajhenrique Jan 15, 2020
f6ebf95
UKMO Develop - gencomp and ww3_uprstrt updates (#132)
ukmo-ccbunney Jan 17, 2020
db2c794
BF OpenMp b4b (#160)
ajhenrique Feb 11, 2020
8c1df55
Bug fix to OMP directive when using OMPH switch but not T2 switch. (#…
ukmo-ccbunney Feb 20, 2020
bce0f1f
w3adc multi-switch updates (#168)
ukmo-ccbunney Feb 20, 2020
5057bd3
Bugfix for propagation sequencing to obtain b4b restart runs (#173)
ajhenrique Mar 3, 2020
71380ea
Emergency fix for NCEP applications only: creating temporary WW3/exec…
ajhenrique Mar 5, 2020
59a1131
Hybrid OMP/MPI updates [ukmo-develop] (#183)
ukmo-ccbunney Apr 10, 2020
7ca6e5a
Merging GFS.v16 production branch changes to develop (#184)
ajhenrique Apr 14, 2020
96ba41e
Updated to version numbers (VERXXX variable) in output binary files t…
ukmo-ccbunney Apr 20, 2020
19f3126
Orion port (#190)
aliabdolali Apr 21, 2020
77f9291
Feature/st4tail (#189)
mickaelaccensi Apr 23, 2020
1d318ea
Feature/is2update (#188)
mickaelaccensi Apr 26, 2020
a81804b
Bugfix/spconv : spectral discretization conversion (#194)
mickaelaccensi May 10, 2020
2f57030
Bugfix/spconv (#197)
mickaelaccensi May 11, 2020
c53063c
Updates for wave coupling in NUOPC (#196)
JessicaMeixner-NOAA May 11, 2020
46bcb86
Updating WW3 version in ww3_from_ftp.sh, adding curlev.nc file requir…
ajhenrique May 11, 2020
7620443
Feature/tide : tide update and MPI implementation (#195)
mickaelaccensi May 14, 2020
3085d9f
Feature/cflbound (#202)
mickaelaccensi May 25, 2020
10208f1
Add support for building ww3_multi_esmf library using cmake (#215)
DusanJovic-NOAA Jul 16, 2020
ca406df
Remove old NCEP platforms (#233)
JessicaMeixner-NOAA Aug 4, 2020
b3eec25
Manual/st4 romero (#234)
mickaelaccensi Aug 4, 2020
60f0fdf
UKMO staging [develop] #237 (#241)
aliabdolali Aug 10, 2020
49157a4
Feature/ptnme (#239)
mickaelaccensi Aug 26, 2020
96e3f3a
Bug fixes for z0 over ice for ESMF cap (#248)
JessicaMeixner-NOAA Sep 4, 2020
aea3e57
UKMO Staging [fb_rtd2, bf_coupling condition, bf_smc_omp] (#254)
ukmo-ccbunney Sep 25, 2020
cd8aa85
Support stampede (#256)
MinsukJi-NOAA Oct 5, 2020
d5adaf6
Bugfix/trnc (#246)
mickaelaccensi Oct 16, 2020
9c22b13
Revert "Bugfix/trnc (#246)" (#258)
aliabdolali Oct 19, 2020
993a431
Bugfix trnc (#260)
aliabdolali Oct 20, 2020
03e13f7
Bugfix/ounp (#263)
mickaelaccensi Oct 23, 2020
9735c7d
Bugfix/st4wcf (#261)
mickaelaccensi Oct 23, 2020
e756361
UKMO Staging (Oct 2020) (#264)
ukmo-ccbunney Nov 5, 2020
5e7a51c
WW3_OUNF configurable metadata (#266)
ukmo-ccbunney Dec 3, 2020
a89e2a6
develop: Updated version number to 7.12 (#271)
ukmo-ccbunney Dec 7, 2020
79e4ae8
WW3_OUNF: Fixed indices in VARID (#273)
ukmo-ccbunney Dec 23, 2020
7fa771b
Feature/gfsprod (#297)
aliabdolali Jan 13, 2021
4dfafdb
removing comp.* link.* files as we now use the cmplr.env (#284)
JessicaMeixner-NOAA Jan 17, 2021
c758e87
Extra TP field and direction/magnitude outputs. (#302)
ukmo-ccbunney Feb 8, 2021
634e266
Updates to make WW3 thread safe (#315)
JessicaMeixner-NOAA Feb 23, 2021
5b63005
Added default value for COMSTR in ww3_shel.ftn so comment lines (#325)
ukmo-ccbunney Feb 26, 2021
fc50924
Add code comments about WRST switch (#146)
JessicaMeixner-NOAA Mar 1, 2021
c5d5b2c
Create pull_request_template.md (#330)
aliabdolali Mar 18, 2021
c26cd2a
Update issue templates (#329)
aliabdolali Mar 18, 2021
6d95c33
UKMO Staging jan2021 (#327)
ukmo-ccbunney Mar 19, 2021
854fc86
Fb_global_unstr (#335)
aliabdolali Mar 22, 2021
78b0148
Fb matrix divider (#328)
aliabdolali Mar 24, 2021
64a27d6
Update NetCDF comp/link (#336)
JessicaMeixner-NOAA Mar 25, 2021
c4926b5
fixing issue #339 and adding usace regtest matrix (#340)
thesser1 Mar 26, 2021
fc3576f
Nan tide on equator (#222)
SanderHulst Mar 26, 2021
a436cb4
Changes to fix issue #341 (#342)
ukmo-juan-castillo Apr 1, 2021
2646f8c
:bug: ECMWF total weight <0.7 on zero meridian (#243)
SanderHulst Apr 20, 2021
0a6f4d2
Fb pdlib changes (#347)
thesser1 Apr 24, 2021
1d13cd5
Linear interpolation in ww3_gint adds energy (#228)
SanderHulst May 12, 2021
9708edc
Bug fixes for thread in w3_new and initializing variables (#373)
JessicaMeixner-NOAA May 14, 2021
482c500
Fb coupling fields (#285)
ukmo-juan-castillo May 18, 2021
a8bce94
Configurable meta-data updates to ww3_ounf (#305)
ukmo-ccbunney May 25, 2021
6efe9bb
Make ww3_grid into a callable subroutine (#362)
sbrus89 May 26, 2021
3b949d3
updates for build on wcoss2 (#370)
mark-a-potts May 27, 2021
720900a
Merge pull request #2 from NOAA-EMC/develop
zacharyburnett Jun 2, 2021
e4e83cc
Merge remote-tracking branch 'origin/develop' into merge/upstream
zacharyburnett Jun 2, 2021
d312bf0
dos2unix
zacharyburnett Jun 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/add-development-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Add Development Request
about: Request that a new development be added to WW3
title: ''
labels: 'enhancement'
assignees: ''

---


23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Bug report
about: Create a report to help us improve WW3
title: ''
labels: 'bug'
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Documentation request/update
about: Add new section in the documentation or report a type/mistake in the documentation
title: ''
labels: 'documentation'
assignees: ''

---

**Describe the section in the documentation that is missing or requires an update?**

**Report a bug/typo in the documentation**

**Link the issue(s) associated with this documentation update**

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for WW3
title: ''
labels: 'enhancement'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. 

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
43 changes: 43 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Pull Request Summary
(Instructions: this, and all subsequent sections of text should be removed and filled in as appropriate.)
Please describe the PR summary

## Description
Provide a detailed description of what this PR does.
What bug does it fix, or what feature does it add?
Is a change of answers expected from this PR?

### Issue(s) addressed
* Is there an issue associated with this development (bug fix, enhancement, new feature)?
Please add a reference to a related issue(s) in WW3 repository (Follow [link](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue)).
Link the issues to be closed with this PR, whether in this repository, or in another repository.
(Remember, issues should always be created before starting work on a PR branch!).
Note that properly "linked issues" (either automatic links, or manual ones using the correct keywords) will be automatically closed when the PR is merged.

- fixes #<issue_number>
- fixes noaa-emc/ww3/issues/<issue_number>

### Check list
* Is your feature branch up to date with the authoritative repository (NOAA/develop)?
* Make sure you have checked the [checklist for a developer submitting to develop](https://github.com/NOAA-EMC/WW3/wiki/Code-Management#checklist-for-a-developer-submitting-to-develop), [checklist for a developer submitting to develop](https://github.com/NOAA-EMC/WW3/wiki/Code-Management#checklist-for-a-developer-submitting-to-develop) and [updating version number](https://github.com/NOAA-EMC/WW3/wiki/Code-Management#checklist-for-updating-version-number)
* Reviewers: @mentions of suggested reviewers of the proposed changes.


### Testing
* How were these changes tested?
* Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
* If a new feature was added, was a new regression test added?
* Have regression tests been run?
* Which compiler / HPC you used to run the regression tests in the PR?
* Please provide the summary output of matrix.comp (_matrix.Diff.out_, _matrixCompFull.out_ and _matrixCompSummary.out_):
Please indicate the expected changes in the outputs ([excluding the known list of non-identical tests](https://github.com/NOAA-EMC/WW3/wiki/How-to-use-matrix.comp-to-compare-regtests-with-master#4-look-at-results)).










16 changes: 14 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ manual/ww3_systrk.tex
manual/ww3_uprstr.tex
manual/ww3_grib.tex
manual/ww3_gint.tex
manual/ww3_trnc.tex
manual/gx_outf.tex
manual/gx_outp.tex
manual/*.log
Expand All @@ -44,16 +45,23 @@ manual/*.toc
manual/*.out
manual/*.dvi
manual/*.pdf
model?
model??
regtests/list*
regtests/before
regtests/matrix*
regtests/*/work*
regtests/*/input*/*.nc
regtests/*/input*/*/*.nc
regtests/*/input*/partition.ww3
regtests/*/*.png
regtests/ww3_tp2.14/input/oasis3-mct/doc
regtests/ww3_tp2.14/input*/*.nc.OAS*CM
regtests/ww3_tp2.14/input*/*/*.nc.OAS*CM
regtests/ww3_tp2.14/input*/*.nc.OAS*CM*
regtests/ww3_tp2.14/input*/*/*.nc.OAS*CM*
regtests/ww3_tp2.17/input/inlet.msh
regtests/ww3_tp2.21/input/mesh.msh
regtests/ww3_tp2.21/input/obstructions_local.glo_unst.in
regtests/ww3_tp2.21/input/obstructions_shadow.glo_unst.in
*.nc
*/*.nc
*/*/*.nc
Expand Down Expand Up @@ -83,5 +91,9 @@ model/bin/wwatch3.env
*/*.swp
*/*/*.swp
*/*/*/*.swp
.*.swp
*/.*.swp
*/*/.*.swp
*/*/*/.*.swp

.idea/
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The WAVEWATCH III Framework

WAVEWATCH III &reg; is a community wave modeling framework that includes the
WAVEWATCH III<sup>&reg;</sup> is a community wave modeling framework that includes the
latest scientific advancements in the field of wind-wave modeling and dynamics.

## General Features
Expand All @@ -11,11 +11,11 @@ for shallow-water (surf zone) applications, as well as wetting and drying of
grid points. Propagation of a wave spectrum can be solved using regular
(rectilinear or curvilinear) and unstructured (triangular) grids. See
[About WW3](https://github.com/NOAA-EMC/WW3/wiki/About-WW3) for a
detailed description of WAVEWATCH III &reg;.
detailed description of WAVEWATCH III<sup>&reg;</sup> .

## Installation

The WAVEWATCH III framework package has two parts that need to be combined so
The WAVEWATCH III<sup>&reg;</sup> framework package has two parts that need to be combined so
all runs smoothly: the GitHub repo itself, and a binary data file bundle that
needs to be obtained from our ftp site. Steps to successfully acquire and install
the framework are outlined in our [Quick Start](https://github.com/NOAA-EMC/WW3/wiki/Quick-Start)
Expand Down
2 changes: 1 addition & 1 deletion guide/guide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% proper link to most recent manual %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\manver}{6.07}
\newcommand{\manver}{7.12}
\newcommand{\manref}{ww3man2019}
\newcommand{\manregtestsec}{5.6}

Expand Down
4 changes: 4 additions & 0 deletions manual/app/nuopc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ \subsection{~Building and Installing the NUOPC Cap} \label{sec:nuopcbuild}
this makefile will subsequently call {\code w3\_make}. As part of this process a nuopc.mk makefile
fragment will also be created, which tells NUOPC/ESMF where the \ws\ library is located.

Note there is a new switch {\code WRST} which will add 10 m wind to the restart file and use that wind field
at the initial time step of the wave model. This can be used in situations where the coupled atmospheric model
does not have 10 m wind speeds at initialization.

\vssub
\subsection{~Import/Export Fields in the NUOPC Cap} \label{sec:nuopcfields}
\vssub
Expand Down
2 changes: 1 addition & 1 deletion manual/defs.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\newcommand{\WWver}{6.07}
\newcommand{\WWver}{7.12}
\newcommand{\guidever}{1.2}
\newcommand{\guideref}{tol:MMABguide}
\newcommand{\genever}{1.5}
Expand Down
88 changes: 45 additions & 43 deletions manual/eqs/IS2.tex
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,8 @@ \subsubsection{~$S_{is}$: Floe-size dependent scattering and dissipation} \label



Inelastic dissipation was added in this routine, following \cite{art:Wad73}, because it critically
depends on the floe size. It assumes that the floes deformation is not fully elastic, and that the secondary creep under the wave-induced cyclic causes the dissipation of wave energy into heat.
We use the ice floe law
\begin{equation}
%\left(\frac{d\varepsilon}{dt}\right)_{ij}=\frac{\tau^{n-1}}{B^n}\sigma_{i,j}'
\left(\frac{d\varepsilon}{dt}\right)_{ij}=\frac{\tau^2}{B^3}\sigma_{i,j}',
\end{equation}
$B$ is the floe law constant and is a function of ice temperature. Using the normalized parameter estimated by \cite{art:Cea98} from
laboratory experiments, $A=10^{11}$, and a uniform ice temperature of 270~K gives a value
of $B=10^7$~s$^{1/3}$. The volumic dissipation rate is
\begin{equation}
%\frac{de}{dt}= | \sigma_{xx}^{n+1}/(2B)^{n} |.
\frac{de}{dt}= | \sigma_{xx}^{4}/(2B)^3 |.
\end{equation}
Also, the cyclic deformation of the ice can require a much larger elastic energy than the gravity potential
Anelastic or inelastic dissipation was inclued in this routine instead of ICn, because it critically
depends on the floe size. Following \cite{art:Bea18}, it is assumed that the floes deformation is not fully elastic, and that the wave-induced cyclic strain and stress cause the dissipation of wave energy into heat. The cyclic deformation of the ice can require a much larger elastic energy than the gravity potential
energy, but this is only true if the ice is not broken. As a result, working with a wave elevation spectrum $E(k)$
could introduce large changes in $E(k)$ when the ice is broken or reformed. Instead we prefer
to work with an energy spectrum $ R C_g E(k)/C_{g,\mathrm{ice}}$, using the coefficient $R$ introduced by \cite{art:Wad73}, which
Expand All @@ -136,47 +123,62 @@ \subsubsection{~$S_{is}$: Floe-size dependent scattering and dissipation} \label
R=1+C_R\frac{4Y^*h^3\pi^4}{3\rho g \lambda^4(1-\nu^2)},
\label{R}
\end{equation}
where we have been careful that \cite{art:Wad73} used $2h$ for the ice thickness,
where we have been careful that \cite{art:Wad73} used $2h$ for the ice thickness,
and $C_R$ is by default set to 1.0 using the namelist parameter {\code IS2BREAKE}, but it can
be set to zero to work with the true elevation spectrum instead. This factor $R$ is also
applied in the calculation of ice breakup by the waves.\\


The inelastic dissipation is linearized as $S_{\mathrm{ine}}=-\alpha_{\mathrm{ine}} E_{ice}$.
The coefficient $\alpha_{\mathrm{creep}}$ was adapted from the
\cite{art:Wad73} monochromatic formula and is equal to
By default, the anelastic dissipation term is used, activated by the namelist parameter {\code IS2ANDISB} set to {\code TRUE}.
Anelastic dissipation corresponds to the energy dissipated into heat during the oscillatory motion of the dislocations induced by the cyclic stress associated to waves. This behaviour results in a hysteresis that can be seen in stress-strain diagrams when sea ice is submitted to a sinusoidal stress as presented in Fig.~4 of \cite{art:Cea98} study. This latter article also suggests a model for the anelastic behaviour of sea ice, with a stress-strain relationship that enables to compute the area within the ellipse which results from the hysteresis. Anelastic dissipation is linearized as $S_{\mathrm{ane}}=-\alpha_{\mathrm{ane}} E_{ice}$.
\cite{art:Bea18} have derived $\alpha_{\mathrm{ane}}$ from \cite{art:Cea98} model for a monochromatic stress,
\begin{equation}
%\alpha_{\mathrm{ine}}=0.05 B h^5 \left(\frac{Y^*}{2B(1-\nu^2)}\right)^{(n+1)} I_n k^{n+1} \frac{C_g^2}{\rho g C_{g_{ice}}R^2} F \int_{k_1}^{k_2} k_{ice}^4 E(k)dk
\alpha_{\mathrm{ine}}=0.05 B h^5 \left(\frac{Y^*}{2B(1-\nu^2)}\right)^{4} I_3 k^4 \frac{C_g^2}{\rho g C_{g_{ice}}R^2} F_{\rm broken} \int_{k_1}^{k_2} k_{ice}^4 E(k)dk,
\label{eq:alpha_creep}
\end{equation}
where $I_3=\frac{1}{\pi} \int_0^\pi \sin^{4}\beta d\beta$. Details of the computation are given in \cite{art:Bea18}.
$F_{\rm broken}$ is a heuristic smooth transition from unbroken to broken ice, so that the dissipation
\alpha_{\mathrm{ane}}= \dfrac{A}{6}\left(k_i^{2}\dfrac{Y^*}{(1-\nu^{2})\rho gG}\right)^{2}h^{3}\frac{C_g}{GC_{g,i}} F_{\rm broken},
\label{eq:alpha_ane}
\end{equation}
where $F_{\rm broken}$ is a heuristic smooth transition from unbroken to broken ice, so that the dissipation
gradually goes to zero for waves much longer than the floe sizes, because in that case the ice does
not deform and produces no dissipation of wave energy,
\begin{equation}
F_{\rm broken}=\tanh \left( {\frac{D_{\max}-C_{\lambda}\lambda_{ice}} {D_{\max}C_{smooth} } }\right) .
F_{\rm broken}=\tanh \left( {\frac{D_{\max}-C_{\lambda}\lambda_{ice}} {D_{\max}C_{smooth} } }\right).
\label{smooth}
\end{equation}
Inelastic dissipation is computed after updating $D_{\max}$.
Anelastic or inelastic dissipation is computed after updating $D_{\max}$.
%dissipation is full for
%$\lambda_{ice}\leq D_{\max}$ and disappears for $C_{\lambda}\lambda_{ice}< D_{\max}$.
The two parameters in this smooth transition $C_{\lambda}$ and $C_{smooth}$ are
set to $0.4$ and $0.2$ by the adjustable namelist parameters {\code IS2CREEPD} and {\code IS2CREEPC}.\\

Possibility of subsituting this inelastic dissipation by an anelastic dissipation term has also been added. It is activated by setting the namelist parameter {\code IS2ANDISB} to {\code TRUE}.
Anelastic dissipation corresponds to the energy dissipated into heat during the oscillatory motion of the dislocations induced by the cyclic stress associated to waves. This behaviour results in a hysteresis that can be seen in stress-strain diagrams when sea ice is submitted to a sinusoidal stress as presented in Fig.~4 of \cite{art:Cea98} study. This latter article also suggests a model for the anelastic behaviour of sea ice, with a stress-strain relationship that enables to compute the area within the ellipse which results from the hysteresis. Similarly to what has been done for inelastic dissipation, anelastic dissipation is linearized as $S_{\mathrm{ane}}=-\alpha_{\mathrm{ane}} E_{ice}$.
\cite{art:Bea18} have derived $\alpha_{\mathrm{ane}}$ from \cite{art:Cea98} model for a monochromatic stress. They obtained the following coefficient:
\begin{equation}
\alpha_{\mathrm{ane}}= \dfrac{A}{6}\left(k_i^{2}\dfrac{Y^*}{(1-\nu^{2})\rho gG}\right)^{2}h^{3}\frac{C_g}{GC_{g,i}} F_{\rm broken},
\label{eq:alpha_ane}
\end{equation}
where $F_{\rm broken}$ is the same as for inelastic dissipation and $A$ is equal to:
set to $0.5$ and $0.4$ by default, as adujsted to Southern Ocean wave data. They can be modified by the namelist parameters {\code IS2CREEPD} and {\code IS2CREEPC}.
FInally, $A$ is given by
\begin{equation}
A=\dfrac{4}{3}\sigma \alpha_{d}~\delta D^{d}~\dfrac{1}{\exp(\alpha_{d}s)+\exp(-\alpha_{d}s)},
\label{eq:A_ane}
\end{equation}
in which terms are detailed in the table at the end of this section.\\
in which terms are detailed in the table at the end of this section. The magnitude of the dissipation is controlled by the dislocation relaxation parameter $\delta D^{d}$ .\\


An alternative inelastic dissipation can be activated by setting {\code IS2ANDISB} to {\code FALSE}. In this case the following dissipation is used:

We use the ice floe law
\begin{equation}
%\left(\frac{d\varepsilon}{dt}\right)_{ij}=\frac{\tau^{n-1}}{B^n}\sigma_{i,j}'
\left(\frac{d\varepsilon}{dt}\right)_{ij}=\frac{\tau^2}{B^3}\sigma_{i,j}',
\end{equation}
$B$ is the floe law constant and is a function of ice temperature. Using the normalized parameter estimated by \cite{art:Cea98} from
laboratory experiments, $A=10^{11}$, and a uniform ice temperature of 270~K gives a value
of $B=10^7$~s$^{1/3}$. The volumic dissipation rate is
\begin{equation}
%\frac{de}{dt}= | \sigma_{xx}^{n+1}/(2B)^{n} |.
\frac{de}{dt}= | \sigma_{xx}^{4}/(2B)^3 |.
\end{equation}
The inelastic dissipation is linearized as $S_{\mathrm{ine}}=-\alpha_{\mathrm{ine}} E_{ice}$.
The coefficient $\alpha_{\mathrm{creep}}$ was adapted from the
\cite{art:Wad73} monochromatic formula and is equal to
\begin{equation}
%\alpha_{\mathrm{ine}}=0.05 B h^5 \left(\frac{Y^*}{2B(1-\nu^2)}\right)^{(n+1)} I_n k^{n+1} \frac{C_g^2}{\rho g C_{g_{ice}}R^2} F \int_{k_1}^{k_2} k_{ice}^4 E(k)dk
\alpha_{\mathrm{ine}}=0.05 B h^5 \left(\frac{Y^*}{2B(1-\nu^2)}\right)^{4} I_3 k^4 \frac{C_g^2}{\rho g C_{g_{ice}}R^2} F_{\rm broken} \int_{k_1}^{k_2} k_{ice}^4 E(k)dk,
\label{eq:alpha_creep}
\end{equation}
where $I_3=\frac{1}{\pi} \int_0^\pi \sin^{4}\beta d\beta$, and $F_{\rm broken}$ was defined above.
Details of the computation are given in \cite{art:Bea18}.

Finally we recall the various model parameters used in IS2 in the following table. Some are defined
as constants in the {\code W3IS2MD} module, others can be adjusted with the {\F SIS2} namelist.
Expand All @@ -195,10 +197,10 @@ \subsubsection{~$S_{is}$: Floe-size dependent scattering and dissipation} \label
Flow law parameter &$n$ & {\code IS2CREEPN} & 3\\
Flow law parameter &$B$ & {\code IS2CREEPB} & 10$^7$~s$^{1/3}$\\
Elastic energy correction & $C_R$ & {\code IS2BREAKE} & 1.0 \\
Relax. of disloc. compliance & $\delta D^{d}$& {\code IS2ANDISD} & $\Delta_d \Omega b^2/K$ (Pa$^{-1}$)\\
Dislocation density & $\Delta_d$ & N. A. & 1.8$\times10^{9}$ (m$^{-2}$)\\
Restoring stress term & $K$ & N. A. & 0.07 (Pa) \\
Orientation factor & $\Omega$ & N. A. & $\pi^{-1}$ \\
Relax. of disloc. compliance & $\delta D^{d}$& {\code IS2ANDISD} & $2 \times 10^{-9}$~(Pa$^{-1}$)\\
%Dislocation density & $\Delta_d$ & N. A. & 1.8$\times10^{9}$ (m$^{-2}$)\\
%Restoring stress term & $K$ & N. A. & 0.07 (Pa) \\
%Orientation factor & $\Omega$ & N. A. & $\pi^{-1}$ \\
Burgers vector & $b$ & N. A. & 4.52$\times10^{-10}$ (m) \\
Drag term & $B$ & N. A. & $B_0 \exp(Q_v/(k_bT_K)$ (Pa.s)\\
- & $B_0$ & N. A. & 1.205$\times10^{-9}$ (Pa.s)\\
Expand Down
Loading