Skip to content

Error when creating 2d burgers problem #2000

Answered by HenKlei
jacktang asked this question in Q&A
Discussion options

You must be logged in to vote

The following works:

from pymor.basic import *

p = burgers_problem_2d()

fom, fom_data = discretize_instationary_fv(p, diameter=1./20., nt=100)

print(fom_data['grid'])

for mu in [0.1, 0.2, 0.3, 1.0]:
    U = fom.solve(mu)
    fom.visualize(U, title=f'Solution exponent={mu}')

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jacktang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants