|
[Sponsors] |
March 15, 2008, 01:15 |
easy UDF question
|
#1 |
Guest
Posts: n/a
|
Hello Everyone ,
I have a text file that contains a matrix of size 1000 X 1 I would like to import this text file to C as an array So that I can define my boundary that has this profile . I have no idea how to write this C code . Please Help me in writing this UDF . Thank you . Oleg Adams |
|
March 16, 2008, 16:48 |
Re: easy UDF question
|
#2 |
Guest
Posts: n/a
|
look in the UDF manual and find an example for define boundary -Lurk
|
|
March 17, 2008, 06:29 |
Re: easy UDF question
|
#3 |
Guest
Posts: n/a
|
if you have just points, no function, then there is nothing easier than using profile import directly! You do not need udf for that
|
|
March 17, 2008, 07:49 |
Re: easy UDF question
|
#4 |
Guest
Posts: n/a
|
Hello Mr. Bohis ,
Could you please explain the steps ? yes I have a file where it contains the values of the velocity and the time . So I have just points . Thank you In Advance Oleg |
|
March 17, 2008, 08:07 |
Re: easy UDF question
|
#5 |
Guest
Posts: n/a
|
(( point your_profile NUMBER_OF_POINTS (x-coordinate . . . ) (y-coordinate . . . ) (z- coordinate . . . ) (x-velocity . . . ) (y-velocity
. . . ) (z- velocity . . . ) ) save it as myprofile.prof, then file\read\profile then choose each component in velocity panel maybe, you have pressure or tke, tdr, vof to import, then do it same way!! good luck, it is very easy |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Quick and easy QUESTION | Freeman | Main CFD Forum | 12 | December 13, 2005 16:00 |
Quick and easy QUESTION | Freeman | FLUENT | 0 | December 9, 2005 18:39 |
easy question | toni | Siemens | 4 | July 12, 2004 06:29 |
Easy question | Confused | Main CFD Forum | 4 | May 22, 2004 03:14 |
Easy Question | chacha | Main CFD Forum | 1 | February 27, 2004 04:07 |