CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Write uds to results

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By MayTheFlowBeWithYou

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2017, 06:15
Question Write uds to results
  #1
Member
 
MayTheFlowBeWithYou's Avatar
 
I have to remain anonymous, I'm sorry.
Join Date: Jun 2017
Location: The Netherlands, Delft University of Technology
Posts: 48
Rep Power: 9
MayTheFlowBeWithYou is on a distinguished road
Dear cfd-online community,

For a simulation I'm trying to do, I made a UDF that utilizes two UDS's. The code runs perfectly fine, but the problem is that fluent only writes the solution of one of the UDS's (I can't see uds-1 in CFD-post). I am 100% sure that I allocated space for two UDS's (uds-0 and uds-1) and that both of them are present since they have an inlet (in fact, they both have the same inlet and are introduced to the system in an equal amount). I am also 100% sure that uds-1 is actually present during simulation, since I can make my UDF printf the values during the iterations.

Does anyone know why uds-1 doesn't get written to the results?
MayTheFlowBeWithYou is offline   Reply With Quote

Old   July 11, 2017, 10:27
Default
  #2
Member
 
MayTheFlowBeWithYou's Avatar
 
I have to remain anonymous, I'm sorry.
Join Date: Jun 2017
Location: The Netherlands, Delft University of Technology
Posts: 48
Rep Power: 9
MayTheFlowBeWithYou is on a distinguished road
Just as an update to whomever finds this thread for the same issue. I didn't find the answer yet, but I have a work-around. In Fluent 18.1 if you go to File -> Export -> Solution Data..., you can write a "custom" solution file where you can choose which variables you want to write. I just choose CFD post compatible, write the file and then open a separate CFD-post where I load this file.

It's less convenient than the automatic functionality from fluent (which I still believe should also be able to do this, I just don't know how), but it works. Additionally you can also write other formats like ASCII or tecplot.
bestucan likes this.
MayTheFlowBeWithYou is offline   Reply With Quote

Reply

Tags
aaaaaaaaawwqqqqqqqqqqq


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
Different Results from Fluent 5.5 and Fluent 6.0 Rajeev Kumar Singh FLUENT 6 December 19, 2010 12:33
how to build a txt file and write the results in? roy FLUENT 0 August 22, 2005 22:36
A good question about UDS Z FLUENT 1 March 31, 2005 16:14
UDS transport: strange results Ale FLUENT 1 November 6, 2003 07:28


All times are GMT -4. The time now is 19:42.