|
[Sponsors] |
December 27, 2018, 13:38 |
UDF for y displacement
|
#1 |
Member
Mustafa
Join Date: May 2013
Posts: 54
Rep Power: 13 |
Need help
I am working on a Stirling engine , To describe the motion of piston , I have written a UDF for the y displacement or position . Is it correct * moving piston-CG movement of piston*/ #include "udf.h" DEFINE_CG_motion(piston,dt,y,time,dtime) { real x y = 0.06869+0.06496 * (sin(3.14*(x-0.22597)/0.54806)); } regards, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for vapor pressure | anuarun | Fluent UDF and Scheme Programming | 12 | December 24, 2021 10:12 |
Replicating Scalable Wall Function with a UDF | yousefaz | FLUENT | 0 | August 4, 2017 02:30 |
UDF in Fluent | Andrew | Fluent UDF and Scheme Programming | 5 | March 7, 2016 03:38 |
Displacement of particles with an udf | Michael Heim | FLUENT | 0 | July 6, 2004 14:08 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |