Applying Spatially Varying Temperature on Nozzle Wall in SU2 Simulation
Hello CFD community,
I am working on a compressible fluid flow simulation using SU2, and I am currently facing a challenge in applying a spatially varying temperature on the nozzle wall. I initially used the isothermal condition, but now I need to introduce a more realistic temperature distribution along the nozzle wall. Could someone provide guidance on how to modify the SU2 configuration file to implement a spatially varying temperature profile? I appreciate any insights or examples that can help me achieve this in SU2. Thank you! |
You can do this with the python wrapper. There are a couple of examples for unsteady spatially changing wall temperature and heat flux in the testcases repository:
https://github.com/su2code/SU2/tree/...ses/py_wrapper A presentation on the python wrapper: https://www.youtube.com/watch?v=tEDPWybcrfs |
Quote:
|
Applying Spatially Varying Temperature Profile on Nozzle Wall in SU2
Quote:
Here is a brief overview of my current setup: I am running a steady flow simulation in SU2. The boundary conditions in my configuration file include an isothermal temperature on the nozzle wall, as follows: Code:
MARKER_ISOTHERMAL = (WALL, 315) Now, I want to incorporate this spatially varying temperature profile back into the SU2 simulation. Could you please guide me on how to modify the SU2 configuration file or use the Python wrapper to implement this temperature distribution on the nozzle wall? I would appreciate any insights, examples, or step-by-step instructions that could help me achieve this. Thank you in advance for your assistance! |
There is an example in the directory Testcases/py_wrapper/flatplate_unsteady_CHT, First run this one to see if everything is working for you.
This case is for a time dependent wall temperature. But if you get the coordinates of the vertices: Code:
MarkerCoords = SU2Driver.MarkerCoordinates(MarkerID) You can use it for spatially varying temperature when you know T(x,y) |
Quote:
|
Quote:
I attempted to implement the approach you recommended, but unfortunately, I am still encountering some issues. I have attached my Python script, as well as the corresponding configuration (cfg) and mesh files for your review. https://drive.google.com/drive/folde...7L?usp=sharing Could you please take a look at my script and help me identify any errors I may have made? Your guidance would be greatly appreciated. |
All times are GMT -4. The time now is 09:52. |