|
[Sponsors] |
read a file .txt with nurecial values of time and acceleration |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 21, 2011, 08:02 |
read a file .txt with nurecial values of time and acceleration
|
#1 |
New Member
Elias Paez
Join Date: Nov 2011
Location: Madrid
Posts: 25
Rep Power: 14 |
Hi all!
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 Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Discrete acceleration in time | feupes | FLUENT | 0 | August 31, 2010 07:35 |
help: acceleration change wrt time | rajat kumar bhuyan | FLUENT | 0 | May 23, 2007 03:59 |
Dual Time Stepping | CFD Student | Main CFD Forum | 20 | October 24, 2005 16:57 |