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

Problem in sampling data

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2012, 14:04
Question Problem in sampling data
  #1
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 14
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Dear Foamers
HI
I simulated a multiphase flow. After simulation completed I sampled data for drawing velocity profile. Unfortunately the sampled data are very different from what I saw in paraview.
Is there anyone know what happened to sampling?

Here you can see their comparison:
Attached Images
File Type: jpg ps.jpg (28.4 KB, 49 views)

Last edited by MOHAMMAD67; April 30, 2012 at 14:32.
MOHAMMAD67 is offline   Reply With Quote

Old   April 30, 2012, 14:50
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
How do you define the paraview line and the sampling line for the sample utility?

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 30, 2012, 15:03
Default Line Defining
  #3
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 14
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Dear ALberto

I defined a line in paraview (start and end point) and then copy them to sample dict.
Attached Files
File Type: gz sampleDict.tar.gz (1.4 KB, 22 views)
MOHAMMAD67 is offline   Reply With Quote

Old   April 30, 2012, 15:18
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
You will obtain the same result with sample, if you set

interpolationScheme pointMVC;

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   May 1, 2012, 03:16
Default Problem solved!
  #5
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 14
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Dear Alberto
thanks for your help. My problem was solved by your point.

the correct answer is attached here.
Attached Images
File Type: jpg after.jpg (29.5 KB, 47 views)
MOHAMMAD67 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam to Fluent data conversion Problem vemps OpenFOAM 1 August 8, 2011 03:30
"Data sampling for Time Statistics" Madhukar Rapaka FLUENT 2 June 20, 2011 12:28
Volume Fraction, profile data problem cfxmar CFX 5 August 19, 2009 09:09
Problem with export data from prostar Shanta Siemens 1 November 28, 2004 00:48
Problem in Track Data selen Siemens 2 August 7, 2003 14:06


All times are GMT -4. The time now is 22:17.