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

sample along a curved pipe wall

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 9, 2014, 04:51
Default sample along a curved pipe wall
  #1
New Member
 
jas
Join Date: Feb 2014
Posts: 5
Rep Power: 5
jasxxx is on a distinguished road
hi
i'm trying to get the pressure along a curved pipe wall.
for example if i have 3 points defining the curve (as in blockMeshDict - edge -arc setup) & when i try the simple sampleDict as below i get an error.
i've searched around but not found any real help.
works fine with straight lines.
is there a better way to get pressure, etc along a curved wall for plotting in excel.
please help.

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location system;
object sampleDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

setFormat xmgr;

surfaceFormat vtk;

interpolationScheme cellPoint;

fields
(
p
);

sets
(
section_curve1
{
type curve;
axis distance;

points ((-1.0 0.0 0.0)
(-0.71 -0.71 0.0)
(0.00 1.0 0.0));
}

);

surfaces
(
);
jasxxx is offline   Reply With Quote

Old   March 19, 2014, 20:17
Default try cloud type
  #2
New Member
 
Jim Conger
Join Date: Jan 2014
Location: California, USA
Posts: 21
Rep Power: 5
james.conger is on a distinguished road
One of the options with the sample utility is to specify a series of points explicitly. This is the 'cloud' option. You can then extract values from each of your solutions at exactly those points using sample.
james.conger 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
Wall normal grid configuration in pipe hnemati Main CFD Forum 1 January 7, 2014 09:52
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
[ICEM] Export ICEM mesh to Gambit / Fluent romekr ANSYS Meshing & Geometry 1 November 26, 2011 13:11
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
Axissymmetric pipe Simulation with unequal zero wall velocity Thomas Baumann OpenFOAM 6 July 15, 2009 04:36


All times are GMT -4. The time now is 14:59.