|November 21, 2011, 08:02||
read a file .txt with nurecial values of time and acceleration
Join Date: Nov 2011
Posts: 25Rep Power: 7
Someone know how to make an UDF that reads a file (.txt) with numerical values of time and aceleration. I'll use the acceleration as a source term in the momentun equation.
I though to copy these values in two arrays (one for time and one for acceleration) and if the current time is between two times use a linear inerpolation to calculate the acceleration, but I don't know how to do that and, also I'm not very sure about the efficiency of this method, becouse the arrays are going to be too large (more than 2000).
thank you and excuse me for my english (I'm trying to improve)
|Thread||Thread Starter||Forum||Replies||Last Post|
|Discrete acceleration in time||feupes||FLUENT||0||August 31, 2010 06:35|
|help: acceleration change wrt time||rajat kumar bhuyan||FLUENT||0||May 23, 2007 02:59|
|Dual Time Stepping||CFD Student||Main CFD Forum||20||October 24, 2005 15:57|