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

Uniform line sampling nonuniform output

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2008, 03:00
Default Hello, i have a problem creat
  #1
Member
 
Tobias Holzinger
Join Date: Mar 2009
Location: Munich, Germany
Posts: 46
Rep Power: 17
woody is on a distinguished road
Hello,
i have a problem creating a uniform line sample. I want to read out parameters on a line in radial direction of a axis-symmetric case. Therefore I just copied and adapted the tutorial sampleDict. The sampling process is working, but the radial distances consist of four discontinuities I can't explain. These steps are 2 orders of magnitude larger than the other, equal distances.
My blockMeshDict is:
FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class dictionary;
object blockMeshDict;
}

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


convertToMeters 1;

vertices
(
(0 0 0) /* 0 */
(0.999048222 -0.043619387 0) /* 1 */
(0.999048222 0.043619387 0) /* 2 */
(0 0 120) /* 3 */
(0.999048222 -0.0436193870 120) /* 4 */
(0.999048222 0.0436193870 120) /* 5 */
);

blocks
(
hex (0 1 2 0 3 4 5 3) (33 1 12000) simpleGrading (0.0005 1 1)
);

edges
(
);

....

and the sample Dict has the following entries:
FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "";
local "";

class dictionary;
object sampleDict;
}

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


interpolationScheme cellPoint;

writeFormat raw;

sampleSets
(
uniform
{
name Kq_z100;
axis x;
start (0 0 100);
end (0.99 0 100);
nPoints 100;
}
);

fields
(
T
p
U
);
....

Is there any error in my sample file??? Thanks for your help!
__________________
Tobias Holzinger

Chair of Thermodynamics, TU München
woody is offline   Reply With Quote

Old   February 23, 2009, 05:13
Default Hello Forum, now i found ou
  #2
Member
 
Tobias Holzinger
Join Date: Mar 2009
Location: Munich, Germany
Posts: 46
Rep Power: 17
woody is on a distinguished road
Hello Forum,

now i found out how to post a picture. Here is my plot of the sampled Temperaturedistribution:


__________________
Tobias Holzinger

Chair of Thermodynamics, TU München
woody 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
Help! Sampling! HP FLUENT 0 May 15, 2008 10:29
[OpenFOAM] Output data file on the line of the example zhoubinwx ParaView 0 February 13, 2008 04:59
can "output control " output Nu in expression? prayskyer CFX 3 July 7, 2006 19:37
Sampling on a patch liu OpenFOAM Running, Solving & CFD 3 May 25, 2005 06:52
maximum output line length in fortran under linux Sergei Chernyshenko Main CFD Forum 2 May 11, 2001 07:25


All times are GMT -4. The time now is 03:55.