Skip to content

Commit 0f707f6

Browse files
author
Clovis Lambert
committed
kolmo_law: more testing
1 parent 06985b5 commit 0f707f6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

fluidsim/solvers/ns3d/test_solver.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,13 @@ def test_output(self):
301301
sim2.output.kolmo_law.plot_hv_dependencies(tmin=tmin, tmax=tmax)
302302
sim2.output.kolmo_law.plot_Jhv_vector(tmin=tmin, tmax=tmax)
303303

304-
result = sim2.output.kolmo_law.load_temp_average(tmin=tmin, tmax=tmax)
304+
result = sim2.output.kolmo_law.load_temp_average()
305305

306306
S2_k_r = result["S2_k_r"]
307+
Jl_k_r = result["Jl_k_r"]
307308
assert S2_k_r[0] == 0, S2_k_r[0]
309+
assert Jl_k_r[0] == 0, Jl_k_r[0]
310+
assert Jl_k_r[-1] == 0, Jl_k_r[-1]
308311

309312
sim3 = fls.load_state_phys_file(path_run, modif_save_params=False)
310313
sim3.params.time_stepping.t_end += 0.2

0 commit comments

Comments
 (0)