Define unsteady BC
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
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.
|All times are GMT -4. The time now is 22:21.|