|
[Sponsors] |
August 15, 2016, 11:17 |
Velocity profile UDf
|
#1 |
New Member
Erik Jan
Join Date: Aug 2016
Posts: 7
Rep Power: 10 |
Dear all,
I am quite new to this, but I did a lot of research and as far as I know there are no real examples to find overhere. Anyway, my goal is to write an UDF that will calculate a 3d velocity profile derived from MRI. Per hart beat I have 30 velocity profiles available in a 17x14 matrix. looking quite similar to this: http://www.ila.de/typo3temp/pics/tur...a95adbbee7.png I am wondering how I should approach to calculate the velocity profile within fluent. Currently I am thinking of using bilinear interpolation to interpolete between the datapoints. I don't know how fluent loops over the inlet boundary. e.g. I have no clue how to match a face at the inlet to the (interpolated) value within the matrix. Can anyone steer me into the correct direction? my raw data are 30 matrices that look like the one below Code:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 21 47 37 0 0 0 0 0 0 0 0 0 0 0 0 30 21 36 53 35 33 45 76 0 0 0 0 0 0 0 0 59 55 46 49 59 60 50 38 50 29 0 0 0 0 0 0 53 62 71 77 80 78 69 57 47 35 18 64 0 0 0 0 56 67 70 83 103 110 96 76 61 54 48 33 29 0 0 0 0 52 76 86 99 113 114 100 85 74 66 60 59 45 24 0 0 38 51 73 95 112 117 109 99 91 85 74 64 62 44 12 0 0 57 57 67 88 112 120 111 102 97 90 74 54 46 40 0 0 0 65 65 63 77 101 113 106 105 105 93 71 47 38 58 0 0 0 0 63 57 66 87 96 91 96 98 78 58 48 46 0 0 0 0 0 52 47 53 69 78 72 75 77 55 36 45 0 0 0 0 0 0 0 0 36 40 54 50 46 63 69 41 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF - Inlet Velocity Profile (Ansys Fluent) | vinayak4399 | Fluent UDF and Scheme Programming | 3 | August 25, 2020 15:15 |
UDF for 3d velocity inlet profile in channel flow | Thejas4ansys | Fluent UDF and Scheme Programming | 0 | April 1, 2016 16:09 |
Velocity profile UDF | egge24 | Fluent UDF and Scheme Programming | 2 | May 10, 2012 14:03 |
Logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 0 | April 23, 2009 20:09 |
Multi step transient UDF velocity profile problem | William177 | FLUENT | 1 | February 3, 2008 07:47 |