prisms-center / phaseField

PRISMS-PF: An Open-Source Phase-Field Modeling Framework
https://prisms-center.github.io/phaseField/
Other
229 stars 119 forks source link

Storage of old solution fields #313

Open landinjm opened 6 days ago

landinjm commented 6 days ago

Allowing the user to store and access prior solution fields will enable higher order time discretizations.

There might be some tricky stuff we have to do behind the scenes, but the most complicated part is how the user will actually specify what fields they want to keep in the equation dependencies.

Maybe something like `O()' where n is the field n steps in the past.

fractalsbyx commented 6 days ago

Is there a way to functionalize higher-order time schemes, if so, I think that would be preferred.

landinjm commented 6 days ago

As in some user flag for like BDF2 or something?

Potentially for relatively simple cases. Would have to be clear in documentation about what happens behind the scenes.