|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Paul
Join Date: Mar 2022
Posts: 2
Rep Power: 0 ![]() |
Good morning,
I'm new in this forum. I would use OpenFOAM in my thesis. I have to do a simulation about an incompressible fluid through a duct. The outlet pressure should fall fron an intitial value to the atmospheric pressure. Therefore, I want to use a csv File where I've written all the pressure values during the simulation.I've had some problems, the simulation doesn't run, so, I'm looking for an advice. I show the initial condition written in the 0 folder. Regards outlet { type fixedProfile; profile tableFile; profileCoeffs { nHeaderLine 1; refColumn 1; componentColumns 2 (0 1); separator " "; mergeSeparators no; file "0/data.csv"; interpolationScheme linear; } } data.csv is like this: 0.0000 5000000 0.0001 4995100 0.0002 4990200 0.0003 4985300 . . . . 0.1000 100000 --> FOAM FATAL IO ERROR: incorrect first token, expected <int> or '(', found on line 1 the doubleScalar 0 file: 0/data.csv at line 1. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 743
Rep Power: 14 ![]() |
A table file hast to look like this
Code:
( ( 0.0000 5000000 ) ( 0.0001 4995100 ) ( 0.0002 4990200 ) ( 0.0003 4985300 ) );
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Paul
Join Date: Mar 2022
Posts: 2
Rep Power: 0 ![]() |
Thanks, with the parenthesis in the data file, the simulation runs correctly.
|
|
![]() |
![]() |
![]() |
Tags |
boundary condition, incompressible fluid |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 16, 2020 23:44 |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 18:02 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 10:00 |
Velocity vector in impeller passage | ngoc_tran_bao | CFX | 24 | May 3, 2016 21:16 |
Problem with SIMPLEC-like finite volume channel flow boundary conditions | ghobold | Main CFD Forum | 3 | June 15, 2015 11:14 |