Skip to content
Snippets Groups Projects
Commit bc86a540 authored by Ashwin Vishnu's avatar Ashwin Vishnu
Browse files

Viscosity calculation values

parent c14af414
No related branches found
No related tags found
1 merge request!20Calculate viscosity uses correct dissipative wavenumber
......@@ -147,7 +147,7 @@
else:
raise ValueError("Unknown viscosity scale: %s" % viscosity_scale)
values = calcul_viscosity(
result = calcul_viscosity(
C,
viscosity_scale,
viscosity_type,
......@@ -155,7 +155,7 @@
verbose=False,
*args,
)
for v in values:
for v in result.values():
attr, order, nu = v
self.sim.params.__setattr__(attr, nu)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment