Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
major changes:
readwrite.F90 -> read input 'realgas'
broadcast 'realgas'
write slice tve
write flowfield tve
solver.F90 -> calculate source term with subroutine 'srcttp'
mainloop.F90 -> time advance
initialization.F90 -> initialize temperature with subroutine 'heatbathini'
fludyna.F90 -> update q, updatefvar, q2fvar, fvar2q, add vibration energy
commvar -> constants for realgas model
commarray -> memory allocation for vibration temperature and energy
issues: 1. in fludyna.F90, adding the vibration energy to the total energy is not modularized. This causes compilation failure when -DTTP=FALSE
2. the memory allocation is supposed to be completed in models.F90 and comsolver.F90. But failed due to segmentation fault. Now it is done directly in commarray.F90