CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

read data from text file into vector to define boundary profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2018, 01:33
Default read data from text file into vector to define boundary profile
  #1
New Member
 
ALI
Join Date: Jul 2016
Posts: 14
Rep Power: 10
ars511 is on a distinguished road
Hi.
I would like to read a text file containing values of velocity and use them as my inlet boundary. I have no Idea how to do that. Can anyone help me?
tnx
ars511 is offline   Reply With Quote

Old   July 7, 2018, 05:34
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Using a profile would be easier than writing a UDF (which would involve interpolating from your grid points in the text file onto the computational mesh). The profiles can also vary with time.
`e` is offline   Reply With Quote

Reply

Tags
read text data


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 11:19


All times are GMT -4. The time now is 14:00.