Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change checkpointing to handle new fields at later timesteps #345

Open
vidulejs opened this issue Dec 5, 2024 · 0 comments
Open

Change checkpointing to handle new fields at later timesteps #345

vidulejs opened this issue Dec 5, 2024 · 0 comments

Comments

@vidulejs
Copy link

vidulejs commented Dec 5, 2024

setupCheckpointing is called only at the start of the simulation, limiting checkpointing to only the initial fields. However, potentially a new field may be written at a later timestep. Maybe a turbulence model is turned on after initializing with a laminar flow, maybe a function object, etc.

There was a bug associated with a temporary field 'grad(U)' popping up during a step on the 'kOmegaSST' turbulence model calculation, see pull request #344. But this was the opposite case so to say, because a field was present at initialization but not at later timesteps.

I still need to think about the implementation and if this is really needed. Perhaps it's needed if users report problems related to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant