|
[Sponsors] |
I really have no idea how should I rewrite csv file for U inlet |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Březňák
Join Date: Jun 2020
Location: Prag
Posts: 25
Rep Power: 6 ![]() |
Hello,
I have a given velocity profile in csv file. The file looks like this: Code:
X, Y, Z, Ux, Uy, Uz , -1.95E-02,-1.70E-02,4.08E-01,0.00E+00,0.00E+00,0.00E+00, -1.94E-02,-1.70E-02,4.08E-01,0.00E+00,0.00E+00,0.00E+00, -1.94E-02,-1.69E-02,4.08E-01,-1.76E-03,-1.57E-03,4.35E-01, -1.95E-02,-1.69E-02,4.08E-01,0.00E+00,0.00E+00,0.00E+00, -1.94E-02,-1.68E-02,4.08E-01,-2.13E-03,-6.79E-04,5.45E-01, ... and so on And my ../0/U looks like this: Code:
inlet { type uniformFixedValue; uniformValue { 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"; } } |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Vinzenz Götz
Join Date: Mar 2021
Location: Munich, Germany
Posts: 31
Rep Power: 6 ![]() |
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. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |