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

Non-Restart Unsteady Time, TimeIter, and IC Outputs Not Correct? #2353

Open
3 tasks done
j-signorelli opened this issue Sep 6, 2024 · 0 comments
Open
3 tasks done
Labels

Comments

@j-signorelli
Copy link
Contributor

There seems to potentially be a bug with doing an unsteady dual-timestepping simulation without a provided initial condition (restart file):

When no restart file is provided, the first inner iterations have Time_Iter=0 and Cur_Time=0 (the state before these inner iterations). After completion of this time iteration, a file flow_00000.vtu and all others are outputted. These files are not the initial condition as specified by the configuration file -- they seem to actually be the solution after the first time step. This can be reproduced easily in the config file I have attached to this issue (an updated version of TestCases/plunging_naca0012 for SU2 v8). The flow_00000.vtu file has non-uniform flowfields, which doesn't make sense.

For simulations where a restart file like restart_00000.dat is provided, the Time_Iter=1 and Cur_Time=dt (the state after these inner iterations), and the subsequently outputted files have the correct time iteration appended to it.

I think that for non-restart unsteady simulations, the IC should be outputted as solely just the initialization before any inner iterations are completed, Time_Iter++ and Cur_Time+=dt, and THEN inner iterations performed.

plunging_NACA0012.cfg.txt

Bug report checklist
Please make sure that you have followed the checklist below, many common problems can be solved by:

Desktop (please complete the following information):

  • OS: Linux (Ubuntu 22.04)
  • C++ compiler and version: GNU
  • MPI implementation and version: MPICH
  • SU2 Version: v8.0.1
@j-signorelli j-signorelli changed the title Non-Restart Unsteady Control Parameters + IC Outputs Not Correct? Non-Restart Unsteady Time, TimeIter, and IC Outputs Not Correct? Sep 6, 2024
j-signorelli added a commit to j-signorelli/su2-adapter that referenced this issue Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant