CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS

UFD Unsteady Pressure

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2022, 07:39
Exclamation UFD Unsteady Pressure
New Member
Aviral Raj
Join Date: Aug 2021
Posts: 2
Rep Power: 0
weezyvi is on a distinguished road
I’ve been told to write the code for UDF unsteady pressure with frequency between 300-500 hz.
The code I am writing is -
DEFINE _PROFILE (unsteady pressure, thread, position)
face tf;
real t = CURRENT TIME;
begin f_loop(f, thread)
F PROFILE(f, thread, position) = 3209122.0 + 5.0*sin(10.*t);
end f loop(f,thread)

I want to know how can I include frequency in this and this code gives multiple errors when I use pressure value as 3209122. On the other hand when I use value such as 101325 it runs.
Please help me out with the pressure value and frequency.

Last edited by weezyvi; June 24, 2022 at 09:05.
weezyvi is offline   Reply With Quote


ansys 13 work bench, fluent, fluent - udf, ufd

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
Pressure fields in FOAM, p field, total pressure, etc. Tobi OpenFOAM Post-Processing 9 March 25, 2022 01:33
Update Pressure values for unsteady, multiphase, parallel - not updating properly dhaya400 Fluent UDF and Scheme Programming 6 June 7, 2021 01:43
viscosity udf don't use correct temperature and strain rate rezvani Fluent UDF and Scheme Programming 8 May 27, 2021 05:40
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 14:42
Unsteady pressure differential between inlet and outlet of the pipe for single phase joshi20h FLUENT 0 September 26, 2012 12:41

All times are GMT -4. The time now is 23:52.