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

UDF for finding a flow time where a condition is met

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2017, 06:34
Default UDF for finding a flow time where a condition is met
  #1
New Member
 
Join Date: Dec 2016
Posts: 4
Rep Power: 7
RobertK is on a distinguished road
Hello All,
I am trying to write UDF for post-processing and DOE. However, I don't write them too often and newer from the scratch so that's why I post this question. I am somehow familiar with C abut I work mostly with Python.
Below the problem description.

I run transient state heat-transfer analysis. What I am interested in is a time point (flow time) at which a maximum temperature at a given (named) face is reached for the first time. The logic of the function should be something like this:
time_point = -1
if T>1000 and time_point<0:
time_point = flowtime
Do you have any ideas what would be the best approach to this UDF? Or maybe there is another way to do this?
So far I am able to do it manually by exporting the face monitor data and post-process them outside FLUENT but i would like to have it as a results parameter.

Thank you in advance!
RobertK is offline   Reply With Quote

Reply

Tags
heat transfer modelling, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 06:28
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 11:54
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 08:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 17:01.