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

Problem in sampling data

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 30, 2012, 13:04
Question Problem in sampling data
  #1
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 6
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, 26 views)

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

Old   April 30, 2012, 13:50
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
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 live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 30, 2012, 14:03
Default Line Defining
  #3
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 6
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, 15 views)
MOHAMMAD67 is offline   Reply With Quote

Old   April 30, 2012, 14:18
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
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 live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   May 1, 2012, 02:16
Default Problem solved!
  #5
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 6
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, 23 views)
MOHAMMAD67 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
OpenFoam to Fluent data conversion Problem vemps OpenFOAM 1 August 8, 2011 02:30
"Data sampling for Time Statistics" Madhukar Rapaka FLUENT 2 June 20, 2011 11:28
Volume Fraction, profile data problem cfxmar CFX 5 August 19, 2009 08:09
Problem with export data from prostar Shanta CD-adapco 1 November 28, 2004 00:48
Problem in Track Data selen CD-adapco 2 August 7, 2003 13:06


All times are GMT -4. The time now is 02:05.