Skip to content
Snippets Groups Projects
Commit fd215065 authored by GabrielFollet's avatar GabrielFollet
Browse files

added stability criteria examples

parent f7827a50
No related branches found
No related tags found
1 merge request!21added stability criteria examples
This diff is collapsed.
......@@ -68,6 +68,12 @@ class Mesh:
self.t_final = t_final
print('Solving complete!')
print(f' t_final = {t_final}, Nt = {Nt}, D = {D}')
value = constant
print(r'Amplification factor =', constant)
print("max Temp",max(unknowns[-1, :]))
if constant<1:
print("stable")
return unknowns
......
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