Assign radiation model using PyAEDT in Icepak

ansys-satyajeet
ansys-satyajeet Member, Employee Posts: 14
Photogenic First Anniversary Ansys Employee First Comment
✭✭✭

How to assign radiation models using PyAEDT in Icepak?

Tagged:

Best Answer

  • ansys-satyajeet
    ansys-satyajeet Member, Employee Posts: 14
    Photogenic First Anniversary Ansys Employee First Comment
    ✭✭✭
    edited July 21 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 OFF

    setup = ipk.create_setup("rad_off")
    setup.props["Radiation Model"] = "Off"
    setup.update()