CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

how can give UDF for mass (m_dot=m0*cos(omega*t)) for Periodic BC

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

LinkBack Thread Tools Display Modes
Old   July 30, 2011, 09:21
Default how can give UDF for mass (m_dot=m0*cos(omega*t)) for Periodic BC
New Member
raj kumar saini's Avatar
Raj K Saini
Join Date: Apr 2011
Location: Mumbai, India
Posts: 10
Rep Power: 8
raj kumar saini is on a distinguished road
Send a message via Skype™ to raj kumar saini
hello guys !!! do u have any Idea how is it work periodic boundary condition in fluent when we choses UDF for mass (m_dot=m0*cos(omega*t))...​.
raj kumar saini is offline   Reply With Quote

Old   August 9, 2011, 10:44
pranab_jha's Avatar
Pranab N Jha
Join Date: Nov 2009
Location: Houston, TX
Posts: 86
Rep Power: 9
pranab_jha is on a distinguished road
real m_dot
real m0 = 5.0 (some value)
real omega
face_t f;

m_dot = m0*cos(omega*t);
begin_f_loop(f,thread){F_PROFILE(f,thread,index) = m_dot;}end_f_loop(f,thread)

Apply this on your pressure boundary. Should work. Read through the UDF manual for fluent. It helps.
pranab_jha is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
would someone give me a example of udf for 6DOF? conan FLUENT 3 January 24, 2011 22:10
UDF hook problem in command line mode. Benlong FLUENT 1 November 12, 2007 15:45
help on UDF (on_demand) Marc FLUENT 4 July 9, 2003 13:50
error of Interpreted udf Zhang Junmei FLUENT 6 December 12, 2001 09:03

All times are GMT -4. The time now is 02:46.