CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Cg_motion udf (https://www.cfd-online.com/Forums/fluent-udf/85737-cg_motion-udf.html)

Atze March 5, 2011 14:36

Cg_motion udf
 
Hi,

I've to analyze a cylinder (2d) constrained with a spring, so the differential equation is S''+w^2 S= F(t) with S= displacement w=sqrt(K/m) and F(t) is the pressure force (time function).

How can i solve this problem? The UDF manual describe F=m*dv/dt and use Euler's formula, so V(t)=(F/m)*Dt+V(t-Dt)

how can i write the correct scheme for my problem?

Thanks


All times are GMT -4. The time now is 23:56.