Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

UDF-Obtain Surface Incident Radiation

    • Gu Xuan
      Subscriber

      I would like to use UDF to obtain the surface incident radiation or radiation intensity (W/m2) of walls. I wrote a code as below. But it is not correct. I think that maybe RADIATION_INTENSITY is not correct. Could you help me to modify the code? Thank you very much!

      F_STORAGE_R(f,t,SV_WALL_RADIATION_INTENSITY)

    • Luca B.
      Forum Moderator

      RADIATION_INTENSITY is not a valid Macro. I suggest yuu to control the list of possible macro inside Fluent Customization Manual  .

      If you cannot recover the expected value, you can consider to store it into an User-Defined Memory (UDM) Macros ( Chapter 3.2.12.). In this way you can have access to this variable and resuse it inside your UDF

      Luca

    • Gu Xuan
      Subscriber

      Thank you for reply.

      May I ask a question?

      How to use Fluent Customization Manual  ?

      When I click "GET SUPPORT"(Photo 1), I alsways stay this homepage (Photo 2).

      Photo 1:

       

      Photo 2:

       

    • Rob
      Forum Moderator

      Click on Help in Fluent and then paste the link into the browser that opens. 

    • Gu Xuan
      Subscriber

      Thank you for your reply.

      I got it.

      May I ask another question?

      According to Fig.,  if I am unsure whether a particular problem can be handled using a UDF, how did I contact my technical support engineer for assistance?

      Looking forward your reply.

    • Rob
      Forum Moderator

      If you're a Student or other Academic User then we're it, and we're unable to go into much detail on a public forum. Commercial customers can (usually) contact the local office for direct support. 

      Looking at the above, I do know that some of the radiation macros are model dependent, so whilst they may return a value for another model you may want to check other F_STORAGE terms. 

    • Gu Xuan
      Subscriber

      Thank you for your reply.

      Is "the local office " the company in which I bought the software?

      I would like to know how to use UDF to obtain the variable (surface incident radiation) in the contour. Please see the figure.

      I tried many codes such as SV_DO_IRRAD, SV_DO_IRRAD_SHELL, SV_DO_IRRAD_OLD, SV_DO_IRRAD_TMP, etc.

      But they are not correct.

      Could you please share the correct code with me?

    • Rob
      Forum Moderator

      Local office is the Ansys office in your area/timezone. I can't see where you are (which is intentional) so can't advise. Note, Ansys are an American company so "local" can be an interesting concept..... 

      Checking with a colleague re the macro. If you dump the values to a Facet UDM it should be possible to compare values. 

    • Rob
      Forum Moderator

      Not quite that simple as it's not a scalar macro. However, you may find something here  /knowledge/?s=radiation  

    • Gu Xuan
      Subscriber

      Thank you for your reply.

      >Local office is the Ansys office in your area/timezone. I can't see where you are (which is intentional) so can't advise. Note, Ansys are an American company so "local" can be an interesting concept..... 

      I am in Japan. Could you give me some advice?

      >Not quite that simple as it's not a scalar macro. However, you may find something here  /knowledge/?s=radiation  

      I learned the case provided by the URL.

      These materials give me much help.

      But I have some questions.

      F_DO_QA(f,t,nb), what is the meaning of nb.  i is the direction. I understand it. 

      Could you share more materials or cases about this question? I have already searched for a long time. But no useful information.

      Looking forward to your reply.

    • Rob
      Forum Moderator

      University or commercial user? Your supervisor/Ansys contact will know if there any arrangements in place. 

      I don't know what "nb" is, but as it's the DO model it could be a grey band ID. If you have a look in the header file(s) there might be more information. As I'm Ansys staff I'm unable to offer any assistance beyond what's in the documentation or public information. 

    • Gu Xuan
      Subscriber

      Thank you for your reply.

      I am university user.

       

       

Viewing 11 reply threads
  • The topic ‘UDF-Obtain Surface Incident Radiation’ is closed to new replies.
[bingo_chatbox]