mikaem / Oasis

55 stars 48 forks source link

NSfracStep start_timestep_hook/temporal_hook #29

Open Tom303-afk opened 4 years ago

Tom303-afk commented 4 years ago

Good evening,

In my attempt to add a 2-element windkessel afterload to the outlet boundary of a 3d tube, I am trying to calculate the pressure from this 2-element windkessel system in temporal_hook() and to apply this pressure to the outlet in start_timestep_hook. However, when I return this variable (calculated pressure) in a dictionary in temporal_hook, it does not save and it just stays 0.

How can I add a variable to the NSfracStep-problem that updates for every timestep, starting at 0?

With kind regards,