-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heat equation with homogeneous Neumann boundary condition #1040
Comments
The first issue I see is that you don't provide a g(t) = x -> 0
Ug = TransientTrialFESpace(V0, g) @AlexandreMagueresse what about returning an error (or warning) if a non transient FE space is given to |
@Antoinemarteau many thanks! In fact, tutorial 17 was our starting point. In our initial, code, we used the approach you suggested, but it does not make any difference; with your modification, the example code above still does not work. Also, in this case I think it would be reasonable to allow use of a |
Code wouldn't work with Neuman BC [1040](gridap/Gridap.jl#1040).
@urbainvaes After some testing, I agree with all this. The issue is... a magnificent typo in Tutorial 17: the stiffness matrix goes first and the mass second in the I opened a PR. |
With the change |
Hi,
Together with a colleague, we have been trying for a while to solve the heat equation with homogeneous Neumann boundary conditions and a constant (in space and time) heat source.
With Dirichlet boundary conditions, the following code works well, but with homogeneous Neumann boundary condition, it does not work at all. Here is our code:
To convince oneself that this does not work, one can print the evolution of the average temperature (which should increase linearly):
Are we doing something wrong? Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: