CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

I really have no idea how should I rewrite csv file for U inlet

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2023, 06:58
Default I really have no idea how should I rewrite csv file for U inlet
New Member
Join Date: Jun 2020
Location: Prag
Posts: 21
Rep Power: 6
breznak is on a distinguished road

I have a given velocity profile in csv file. The file looks like this:

X, Y, Z, Ux, Uy, Uz ,
and so on
It means there are Ux Uy Uz values for every each coordinates.

And my ../0/U looks like this:
    type         uniformFixedValue;
        type             tableFile;
        format           csv;
        nHeaderLine      4;              // number of header lines
        refColumn        0;              // time column index
        componentColumns (1);            // data column index
        separator        ",";            // optional (defaults to ",")
        mergeSeparators  no;             // merge multiple separators
        file             "U_inlet.csv";
How should I rewrite csv file? My simulation is steady so I am using simpleFoam so there cannot be time values...
breznak is offline   Reply With Quote

Old   June 15, 2023, 02:47
Vinzenz Götz
Join Date: Mar 2021
Location: Munich, Germany
Posts: 31
Rep Power: 5
Vinzmann is on a distinguished road
Why do you use a csv for your velocity BC if your simulation is steady state?
You should consider using a transient solver or just use the last value for U for your simulation.
Vinzmann is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24

All times are GMT -4. The time now is 22:39.