|
[Sponsors] |
August 14, 2014, 05:22 |
Export data and load it in inlet
|
#1 |
New Member
Valentin
Join Date: Jun 2014
Posts: 4
Rep Power: 11 |
Hello all !
In order to put a turbulent inflow in my case (double tee junction), i would like to export velocity data from a pre-compute case (simple pipe) and put it for the inlet BC. To export U, i use sample with a sampleDict. First of all, it writes 2 times more cells (5400 instead of 2700), and same values 2 by 2, like if the cell was split (paraFOAM shows the 2700 cells split in two). 5400 ( (0.00282895 0.00289232 0.0437824) (0.00282895 0.00289232 0.0437824) (0.00251195 0.00263565 0.043842) (0.00251195 0.00263565 0.043842) (0.00216303 0.00248173 0.0438021) (0.00216303 0.00248173 0.0438021) ... If i try to put these values in the inlet BC (taking only half of the values), with : Type fixedValue; value nonuniform; OpenFOAM takes the values but not in the right order. I think OpenFOAM writes data in a sprecific order but read them in an other. I join screenshots of what i want to get and what i actually have. Any advices, solutions ? Thanks. |
|
August 20, 2014, 05:15 |
|
#2 |
New Member
Valentin
Join Date: Jun 2014
Posts: 4
Rep Power: 11 |
Unless i missed something, it seems that OpenFOAM reads in a way but writes in an other way, depending how the block is defined. In y case it writes in row but reads in column.
So i meshed my simple pipe in a way and my real case in an other and it worked, but it's not a really satisfying method. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I load FLUENT time mean data into CFD-Post? | ivanbuz | CFX | 7 | April 7, 2016 16:34 |
error in load cas & data files | sara22 | Tecplot | 0 | April 3, 2014 10:21 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
Failed to load data file: cavity.OpenFOAM | c120613 | OpenFOAM | 3 | August 19, 2010 07:01 |
export data from fluent to ansys | galapago | FLUENT | 0 | August 4, 2010 14:04 |