-
-
August 8, 2019 at 3:25 pm
ayankola
SubscriberHello,
I am trying to run simulation on Ansys Fluent 19.0 in which I will like to store my data on User Defined Memory using UDF after which I will like to read the data stored in the User Defined Memory using UDF and use it for simulation. To make my question clearer, the following is the case study I want to run.
I want to run and flow simulation on a cylindrical mesh by first solving for the flow (using dynamic mesh function of Ansys Fluent) and store the velocity values in the x, y and z direction in a User Defined Memory using the attached UDF. After calculating the flow, I will like to turn off the dynamic mesh function and read the values of the velocity from the User Defined Memory to run the species transport by solving for species equation only for as many cycle as possible.
Find attached the UDF for the writing to memory and UDF for the reading from memory.
When I tried to implement this on Ansys fluent 19, I did not know what value to put in for Number of User-Defined Memory Locations and Number of User-Defined Node Memory Locations. I have tried to read this on the online Ansys documentation but I did not understand it. Your assistance will be appreciated.
Thank you for your support.
-
August 9, 2019 at 9:21 am
Rob
Ansys EmployeeStaff aren't allowed to open attachments, so please repost. Images of what you're doing will be useful too.
-
August 9, 2019 at 2:24 pm
-
August 9, 2019 at 2:34 pm
-
August 9, 2019 at 4:05 pm
Rob
Ansys EmployeeInteresting approach, and I'm not sure if it'll work: certainly beyond what I can help with on an open forum like this.
If you want to save each velocity component for each time step you'll need three UDM per time step. Remember Fluent is a cell based solver, so not sure why you want the node values too?
-
August 9, 2019 at 8:10 pm
ayankola
SubscriberYou mean if I have 100 time steps, I will need 3*100 of UDM locations? Also, where will I get the velocity values after writing it on memory? or how can I link it to my read UDF in order for me to use it for simulation?
-
August 12, 2019 at 10:58 am
Rob
Ansys EmployeeYes. Once it's written you'll need to read the UDM back onto the velocity field for each step, and make sure you read the correct UDM back at the correct time & into the correct velocity field.
-
- You must be logged in to reply to this topic.

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
-
2564
-
2074
-
1289
-
1106
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.