-
-
June 19, 2022 at 12:12 pm
jscsgh
SubscriberHiya,
I am modelling a transient case with two phases, and I would like to know the temperature development of the nodes in a certain thread. I used udf to export the coordinates of the wanted nodes successfully. However, I had some problems when I tried to export the temperature. I defined the field variable name using the following lines:
char *what = "temperature";
Node_Function_Values(d, what);
And I tried to obtain the temperature value using NODE_VALUE(v). But it reports as follows when I tried to print the temperature value.
Error: floating point exceptionError Object: #f
The fl process could not be started.
What is the possible reason which would cause this?
Is it possible that the field variable name that I am using is not right, since it is a multiphase case. How can I know the list of field variable names that I can use in the function Node_Function_Values(d, what); for a multiphase case.
Many thanks for your time and wish to hear from you soon.
Best regards
Heng -
June 20, 2022 at 8:03 am
Rob
Ansys EmployeeDepending on what you want to do with the data you may find the File>Export options to be better, node data can be written out every some time steps for analysis.
Which multiphase model? Some use a phase domain, some calculate temperature at the mixture level.-
June 21, 2022 at 2:18 pm
jscsgh
SubscriberHi Robert, many thanks for your reply, and appologies that I didn't respond to your answer asap (in the old forum, once I received a reply, I will receive an email...it seems that this feature is not available in the new forum).
Regarding the export options, I will check that. But the idea is that I am planning to export the node temperature in a certain thread with specific sequencing every time step. That's the reason why I would like to use UDF to export, but it seems that the function Node_Function_Values(d,temperature) is not working for a multiphase model.
In terms of the multiphase model, I am using VOF model and I would like to export the mixture temperature of the node each timestep.
Again many thanks for your time, and if you have some idea on how to use Node_Function_Values(d,temperature) in a multiphase case, please do let me now. Cheers!
-
-
June 21, 2022 at 11:34 am
DrAmine
Ansys EmployeeASCII Export should make the job.
-
June 21, 2022 at 2:31 pm
jscsgh
SubscriberDear Amine, many thanks for your reply. I have tried ASCII Export, but the result is that the node coordinate is listed in a random order. I am planning to export them in a required sequence and in a certain thread. That's the reason why I am using UDF. Do you know how I can use Node_Function_Values(d,temperature) in a VOF multiphase case. Many Thanks again!
-
-
June 21, 2022 at 2:59 pm
Rob
Ansys EmployeeNo worries, IT are still hunting gremlins, once they're all caught I think we'll have emails etc.
Strictly Fluent uses cell values, so have a look at C_T(c,t)
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
3744
-
2573
-
1821
-
1236
-
594
© 2023 Copyright ANSYS, Inc. All rights reserved.