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

Define unsteady BC

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

LinkBack Thread Tools Display Modes
Old   July 30, 2013, 10:11
Default Define unsteady BC
New Member
Join Date: Apr 2012
Posts: 6
Rep Power: 5
ehsan1986 is on a distinguished road
Hi everybody,
I am working on a gas flow between cylinder and piston of CI engine.
I have assumed Combustion chamber pressure as a pressure inlet.
I want to write a UDF to define a pressure inlet.
Equation between combustion chamber pressure and crankshaft angle is:
y=combustion chamber pressure
x=crankshaft angle
y(x)= -1.16e-06*x^3-8.24e-04*x^2+0.042*x+3.66

Now, my questions about writing a UDF for this case are:

1. How can I the number of steps?
2. How can I define start and end point?

I would be pleased if someone explain this for me with a written UDF.
ehsan1986 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
UDF: trying to implement a Kinetic Equation source term er.mkumar Fluent UDF and Scheme Programming 28 June 29, 2015 00:08
SR_Rate UDF For a MEMs model timjm Fluent UDF and Scheme Programming 0 February 22, 2013 11:53
UDF compiling problem epc1 Fluent UDF and Scheme Programming 0 September 25, 2012 19:36
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
Define source Ridha FLUENT 0 November 2, 2002 19:15

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