Replies: 1 comment 4 replies
-
Update: I was able to confirm that |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is bit similar to the solution iterpolation discussion, but instead of looking at the spatial solution, I am trying to iterate over different temporal solutions.
I am working through one of the notebooks: t017_transient_linear.ipynb
The notebooks predominantly offload the visualization to something like Paraview, which is fine, but I am trying do some of the visualizations, at least for the 2D problems within the Jupyter environment natively, using Julia.
Mostly I have been successful, but I am struggling to visualize solutions at different timesteps of
GenericTransientFESolution()
.The solution is generated here
The last cell in t017_transient_linear.ipynb is able to iterate through different time steps and save the solutions and I was able to verify in paraview that the solutions mimic the gif that is embedded.
Although,
uh
is iteratable, one cannot access different solution slices using the notationuh[1]
, so instead I tried to make it into a vectoruhn[1]
then yields(0.05, SingleFieldFEFunction())
.The problem is that the
SingleFieldFEFunction()
's seem to be identical at every time step and all seem to reflect the solution from the final time step (tF = 10.0
). I seem to be missing something, any advice would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions