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

Question about sampleDict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2018, 23:26
Default Question about sampleDict
  #1
New Member
 
Jun
Join Date: Nov 2015
Posts: 20
Rep Power: 7
mykkujinu2201 is on a distinguished road
Dear all,

I have a question about sampleDict of OpenFoam.
I am currently working on post-processing.
I need to sample field data along a line.
The problem is that I do not know about the start point and the end point of the line. The line must consist of pressure maxima on every y-z cross section along x axis.
Also, the line is not straight.
Is it possible to use sampleDict in this situation?
Or should I code on my own?

Jun
mykkujinu2201 is offline   Reply With Quote

Old   June 21, 2018, 07:06
Default The problem has been solved.
  #2
New Member
 
Jun
Join Date: Nov 2015
Posts: 20
Rep Power: 7
mykkujinu2201 is on a distinguished road
I solved the problem by sampling y-z cross sections with different x values.

After the cross section, I did post process with MATLAB.

I opened the sampled file at MATLAB and found the position to sample again.

At the last, I did sample the values at the points.

By the way, does anyone have better way?
mykkujinu2201 is offline   Reply With Quote

Reply

Tags
openfoam, postprocessing, sampledict

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
Question on sampleDict musahossein OpenFOAM Running, Solving & CFD 8 May 8, 2013 18:48
small question about the functionalities of topological changes in OpenFoam ngj OpenFOAM Running, Solving & CFD 2 February 28, 2013 11:02
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 14:51
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 05:37


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