Momentum by force equation in UDF
Hello,
I am simulating a wall by momentum equations in Cell Zone Conditions. The flow is stationary. I have the force given by equation like: F=c*uxn Where: F - force vector c - constant u - velocity vector n - wall normal vector Force generally is F=momentum/time derivative. So, my question is, how to provide time in UDF in steady/stationary flow? For example for X direction of flow I would have something like: Lx=c*ux*nx and I have to convert the force into momentum, so I would need to derive by time: Lx/dt=Mx=c*ux*nx/dt Code:
#include "udf.h" Code:
source=L/dt; Thank you for help! |
All times are GMT -4. The time now is 04:27. |