Skip to content
Snippets Groups Projects
Commit 59c420cf authored by Pierre Augier's avatar Pierre Augier
Browse files

2022strat_turb_toro: add k_max lambda and Re_\lambda

parent a2d32d08
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,3 @@
## Todo list
- Add straight lines in spectra figures
- Add Re_lambda and lambda k_max
......@@ -223,8 +223,6 @@
Table \ref{table-methods-1couple} shows ...
\todo{Include product kmax * Taylor microscale}
\begin{figure}
\centerline{
\includegraphics[width=0.48\textwidth]{%
......
......@@ -8,8 +8,8 @@
columns = [
"N", "Rb",
"nx", "nz",
"k_max*eta", "epsK2/epsK",
"Fh", "R2",
"k_max*eta", "epsK2/epsK", "k_max*lambda",
"Fh", "R2", "Re_lambda",
# "R4",
# "Uh2", "epsK",
# "Gamma", "I_velocity", "I_dissipation",
......@@ -17,8 +17,8 @@
header = [
"$N$", "$\R_i$",
"$n_x$", "$n_z$",
r"$\kmax\eta$", r"$\epsK_2/\epsK$",
"$F_h$", r"$\R_2$",
r"$\kmax\eta$", r"$\epsK_2/\epsK$", r"$\kmax\lambda$",
"$F_h$", r"$\R_2$", r"$Re_\lambda$"
# r"$\R_4$",
# "${U_h}^2$", r"$\epsK$",
# "$\Gamma$", "$I_{velo}$", "$I_{diss}$",
......
......@@ -188,7 +188,8 @@
formatters = {
"Rb": formatter_R,
"k_max*eta": lambda v: f"{v:.2f}",
"k_max*lambda": lambda v: f"{v:.2f}",
"epsK2/epsK": lambda v: f"{v:.2f}",
"Fh": lambda v: f"{v:.3f}",
"R2": formatter_R,
"R4": lambda v: f"{v:.0f}",
......@@ -191,7 +192,8 @@
"epsK2/epsK": lambda v: f"{v:.2f}",
"Fh": lambda v: f"{v:.3f}",
"R2": formatter_R,
"R4": lambda v: f"{v:.0f}",
"Re_lambda": formatter_R,
}
Fh_limit = 0.06
......
......@@ -9,3 +9,5 @@
print(f"Using {len(paths)} simulations")
df = get_customized_dataframe(paths)
df["k_max*lambda"] = df["k_max"]* df["lambda"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment