Skip to content

Add a tutorial on P1 radiation with a python heat source - #236

Open
pragyaangaur wants to merge 2 commits into
su2code:developfrom
pragyaangaur:tutorial-p1-radiation-python
Open

pragyaangaur wants to merge 2 commits into
su2code:developfrom
pragyaangaur:tutorial-p1-radiation-python

Conversation

@pragyaangaur

Copy link
Copy Markdown

This adds a multiphysics tutorial on the P1 radiation model and the python wrapper, as suggested in su2code/SU2#3021. A closed air cavity is heated by a rotated elliptical source that is set point by point from python with PYTHON_CUSTOM_SOURCE. The case is run without radiation and with the P1 model at two absorption coefficients. The tutorial explains the P1 options, shows how to set a custom source and read the temperature back in python, and checks the energy balance. Without radiation the conductive heat into the walls matches the source to 0.6 percent, and with radiation the difference shows how much heat leaves by radiation.

The case file is in su2code/Tutorials#90. All numbers in the tutorial come from runs on SU2 develop.

The tutorial heats a closed air cavity with a rotated elliptical source applied through PYTHON_CUSTOM_SOURCE and the python wrapper, and compares runs without radiation and with the P1 model. It checks the energy balance and shows how much heat leaves by radiation. The case file is in the Tutorials repository under multiphysics/P1_radiation_python.
The tutorial now uses the cavity.cfg shipped with the case, drops the run at 10 1/m, and shows the converged results at 1 1/m with TOTAL_HEATFLUX including the radiative wall flux. It states that the absorption coefficient is for demonstration only and explains the 0.6 percent gap between the discrete and the exact source.

This branch has not been deployed

No deployments
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.

2 participants