Assign radiation model using PyAEDT in Icepak
ansys-satyajeet
Member, Employee Posts: 14
✭✭✭
Best Answer
-
You can assign Discrete Ordinate Radiation or Ray Tracing model using the lines below
Discrete Ordinate Model
setup = ipk.create_setup("do_model_rad") setup.props["Radiation Model"] = "Discrete Ordinates Model" setup.props["Flow Iteration Per Radiation Iteration"] = 10 setup.props["ThetaDivision"] = 2 setup.props["PhiDivision"] = 2 setup.props["ThetaPixels"] = 2 setup.props["PhiPixels"] = 2 setup.update()
Ray Tracing Model
setup = ipk.create_setup("rt_model_rad") setup.props["Radiation Model"] = "Ray Tracing Model" setup.props["Flow Iteration Per Radiation Iteration"] = 10 setup.props["Maximum Radiation Iteration"] = 5 setup.props["Faces Per Surface Cluster"] = 20 setup.props["Face-to-Face Cluster Method"] = False setup.props["Resolution"] = 5 setup.update()
You can switch off radiation model using the lines below
Radiation Model OFFsetup = ipk.create_setup("rad_off") setup.props["Radiation Model"] = "Off" setup.update()
0