Skip to content

Solver for heat equation with a source term and different boundary conditions #1088

Answered by kinnala
abhishek-appana asked this question in Q&A
Discussion options

You must be logged in to vote

This part does not make sense:

@BilinearForm
def rest(u, v, _):
    return dt*h*(u - T_inf)*v

It is clearly not bilinear, i.e., linear both in $u$ and $v$.
I suggest you carefully write down the weak formulation of your problem.

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
12 replies
@gdmcbain
Comment options

@kinnala
Comment options

@gdmcbain
Comment options

@gdmcbain
Comment options

@abhishek-appana
Comment options

Answer selected by abhishek-appana
Comment options

You must be logged in to vote
1 reply
@gdmcbain
Comment options

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