CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Export data and load it in inlet

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2014, 05:22
Default Export data and load it in inlet
  #1
Val
New Member
 
Valentin
Join Date: Jun 2014
Posts: 4
Rep Power: 3
Val is on a distinguished road
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.
Attached Images
File Type: jpg inlet.jpg (85.3 KB, 3 views)
File Type: jpg sample_data.jpg (81.9 KB, 4 views)
Val is offline   Reply With Quote

Old   August 20, 2014, 05:15
Default
  #2
Val
New Member
 
Valentin
Join Date: Jun 2014
Posts: 4
Rep Power: 3
Val is on a distinguished road
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.
Val is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I load FLUENT time mean data into CFD-Post? ivanbuz CFX 6 April 16, 2015 01:51
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


All times are GMT -4. The time now is 13:43.