|
[Sponsors] |
read data from text file into vector to define boundary profile |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 7, 2018, 01:33 |
read data from text file into vector to define boundary profile
|
#1 |
New Member
ALI
Join Date: Jul 2016
Posts: 14
Rep Power: 10 |
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 |
|
July 7, 2018, 05:34 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
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.
|
|
Tags |
read text data |
|
|
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 |