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

UDF of time dependent pressure read value from a text file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2016, 10:19
Unhappy UDF of time dependent pressure read value from a text file
  #1
New Member
 
zhichao.zhao
Join Date: Aug 2016
Location: Munich
Posts: 3
Rep Power: 10
zhichaozhao is on a distinguished road
Hallo, Friends.
I meet some problems when i write the UDF code for a time dependent pressure, which will added as the boundary conditions of outlet.
I only have a table of pressure values with times, the function should work like : read the values of P from the file P.text each time step and distribute that on the outlet (outlet bc is varing with time).

i try to use DEFINE_PROFILE and CURRENT_TIME macro. but there is not equation of pressure with time, only have fixed table.
Anyone know how to add a profile to UDF will be appreciated.
zhichaozhao is offline   Reply With Quote

Reply


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
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 14:42
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 05:35
Problem in UDF time dependent vloumetric heat source eng_yasser_2020 Fluent UDF and Scheme Programming 0 March 30, 2014 08:07
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 21:30.