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

Define unsteady BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2013, 10:11
Default Define unsteady BC
  #1
New Member
 
ehsan
Join Date: Apr 2012
Location: UK
Posts: 14
Rep Power: 14
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

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
UDF: trying to implement a Kinetic Equation source term er.mkumar Fluent UDF and Scheme Programming 35 March 22, 2019 10:20
SR_Rate UDF For a MEMs model timjm Fluent UDF and Scheme Programming 1 October 10, 2018 02:16
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 11:48
Define source Ridha FLUENT 0 November 2, 2002 18:15


All times are GMT -4. The time now is 11:28.