Skip to content

Commit

Permalink
added update to run
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Oct 16, 2023
1 parent 7d3ed08 commit f39dc30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions festim/hydrogen_transport_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ def run(self, final_time: float):
progress.update(float(self.dt))
t += float(self.dt)

# update boundary conditions
for bc in self.boundary_conditions:
bc.update(t)

self.solver.solve(self.u)

mobile_xdmf.write_function(self.u, t)
Expand Down

0 comments on commit f39dc30

Please sign in to comment.