-
-
January 4, 2024 at 2:46 pm
Gu Xuan
SubscriberI 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)
-
January 17, 2024 at 12:56 pm
Luca B.
Forum ModeratorRADIATION_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
-
January 17, 2024 at 1:47 pm
Gu Xuan
SubscriberThank 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:
Â
-
January 17, 2024 at 2:40 pm
Rob
Forum ModeratorClick on Help in Fluent and then paste the link into the browser that opens.Â
-
January 18, 2024 at 4:20 am
-
January 18, 2024 at 11:37 am
Rob
Forum ModeratorIf 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.Â
-
January 18, 2024 at 2:55 pm
Gu Xuan
SubscriberThank 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?
-
January 18, 2024 at 3:22 pm
Rob
Forum ModeratorLocal 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.Â
-
January 18, 2024 at 3:40 pm
Rob
Forum ModeratorNot quite that simple as it's not a scalar macro. However, you may find something here  /knowledge/?s=radiation Â
-
January 23, 2024 at 3:26 am
Gu Xuan
SubscriberThank 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.
-
January 23, 2024 at 10:02 am
Rob
Forum ModeratorUniversity 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.Â
-
January 23, 2024 at 2:21 pm
Gu Xuan
SubscriberThank you for your reply.
I am university user.
Â
Â
-
- The topic ‘UDF-Obtain Surface Incident Radiation’ is closed to new replies.
-
5834
-
1906
-
1420
-
1305
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.




