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

Post-processing of multiphase flow transient analysis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 29, 2016, 09:23
Default Post-processing of multiphase flow transient analysis
  #1
New Member
 
Join Date: Dec 2015
Posts: 15
Rep Power: 10
koscfd is on a distinguished road
Dear All,

Would it be possible please to help me with the below issue.

I have performed multiphase transient analysis in a pipe section using the interFoam solver and for the post-processing I am using Paraview.

My analysis lasts for 20s and the time-step is 0.1s. This means that every 0.1s, a folder has been created in my case folder with the relevant output.

I would like to extract the pressure profile along the pipe in a .csv file, say for a pipe spacing of 0.1m, for every time step separately ,i.e.,

For pipe node 0.1m (pressure values from 0s to 20s)
For pipe node 0.2m (pressure values from 0s to 20s)
...and so on.

Could you please advise me if this is feasible with Paraview? I understand that I need to take the average of certain cell values for each location. Is the "Line" tool from the "Sources" menu suitable? My pipe model consist of straight sections and bends.

The pressure output is in the form below:

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0.1";
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions      [1 -1 -2 0 0 0 0];
internalField   nonuniform List<scalar> 
87480
(
0
-32.7721
-41.6279
-45.5351
-50.4148
-55.0199
-59.7664
..........
Thank you in advance.
koscfd is offline   Reply With Quote

Old   March 3, 2016, 03:49
Default
  #2
New Member
 
Join Date: Dec 2015
Posts: 15
Rep Power: 10
koscfd is on a distinguished road
Hello,

I managed to export the results in a .csv file for all time steps with two options so far:

1. Cell data to point data
2. Cell centers

For information, the procedure is:
1. Load the file in paraview -> Click Apply
2. Filters/Alphabetical/Cell Data to Point Data -> Click Apply
3. File/Save Data -> Save in .csv
4. After step3, the "configure writer" appears -> Click "Write All Time Steps"
(separate .csv files are created for each time step)

The same procedure can be applied to extract the Cell centers.

What I would need to do is to extract the results of a line starting from the center of the pipe's cross section and running along the pipe (average results). I am able to do this for a straight section using the "Plot over Line" tool, but not for a bend. I tried also the "Sources/Poly Line Source" with which I drew the middle line in straight sections and in bends (as small straight sections). However, it does not seem to be able to read the output from my model.

Could you please advise me if there is a way to extract the average values along a pipe with bends in Paraview?

Thank you in advance,
Koscfd
koscfd is offline   Reply With Quote

Reply


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
transient mass transfer in multiphase flow Tensian Fluent UDF and Scheme Programming 0 November 16, 2015 10:39
Ansys 11.0 CFX - solving electric potentials and multiphase flow cfd_multiphyiscs CFX 2 March 10, 2010 13:43
TRANSIENT ANALYSIS OF JET FLOW shriramjegan FLUENT 0 July 28, 2007 12:04
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59
Multiphase flow modeling Paul CFX 2 August 11, 2003 09:41


All times are GMT -4. The time now is 00:50.