Skip to content

Morse swirling jet: add the inlet profile script - #216

Merged
bigfooted merged 2 commits into
developfrom
morse_inlet_script
Nov 27, 2026
Merged

bigfooted merged 2 commits into
developfrom
morse_inlet_script

Conversation

@bigfooted

Copy link
Copy Markdown
Contributor

Adds incomp_rans/morse_swirl_jet/morse_inlet.py, which generates the inlet profile inlet_jet.dat used by the regression test inc_turb_morse_swirl_jet (su2code/SU2#3016).

The script fills the template SU2 writes (example_inlet_jet.dat) with the measured axial, radial and swirl velocity at x/D = 0.5 (ERCOFTAC case 026, morse1.dat, not included), converted to Cartesian components on the wedge face. The eddy viscosity follows from the measured shear stress, nu_t = -u'v'/(dU/dr), or is uniform with --nut_ratio.

The mesh and the converged restart solution_flow.dat are already in develop (#215); the regression test restarts from it for 10 iterations.

🤖 Generated with Claude Code

morse_inlet.py writes inlet_jet.dat from the ERCOFTAC station 1
measurements (morse1.dat) and the inlet template written by SU2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The command-line options are replaced by constants at the top of the script.
The uniform nu_t option and the swirl sign are removed; the script writes
the same inlet_jet.dat as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bigfooted
bigfooted merged commit ba0cd0e into develop Nov 27, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant