Skip to content

Commit

Permalink
Merge pull request #188 from OpenTerrace/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
jakobhaervig authored May 30, 2024
2 parents f3386e0 + 5a26dc9 commit e821e69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openterrace/openterrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def _coupling(self):
self.Phase.instances[couple['fluid_phase']].h[0] = self.Phase.instances[couple['fluid_phase']].h[0] - n_bed * Q/(self.Phase.instances[couple['fluid_phase']].rho*self.Phase.instances[couple['fluid_phase']].domain.V) #ok

def run_simulation(self):
"""This is the function full of magic."""
"""If you want to run the simulation, you need to call this function. If data output is specified using the select_output function, the data will live in that specific phase instance. For more details on how to access the data, please refer to the tutorials."""


for t in tqdm.tqdm(np.arange(self.t_start, self.t_end+self.dt, self.dt)):

Expand Down

0 comments on commit e821e69

Please sign in to comment.