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

Problems while using the sample post-procesing tool

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2009, 16:41
Default Problems while using the sample post-procesing tool
  #1
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 16
svens is on a distinguished road
Hello together.

I have got a problem while using the post-processing tool sample.

With my the settings in sampleDict:

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

interpolationScheme cell;

setFormat     raw;

sets
(
     pos1    
      {
           type     midPoint;
           axis     y;
           start    (   0.00000000000000        0.000000       0.000000     );
           end      (   0.00000000000000       0.1000000       0.000000     );
      }
     pos2    
      {
           type     midPoint;
           axis     y;
           start    (  0.408163265306122        0.000000       0.000000     );
           end      (  0.408163265306122       0.1000000       0.000000     );
      }
          
.......

     pos49   
      {
           type     midPoint;
           axis     y;
           start    (   19.5918367346939        0.000000       0.000000     );
           end      (   19.5918367346939       0.1000000       0.000000     );
      }
     pos50   
      {
           type     midPoint;
           axis     y;
           start    (   20.0000000000000        0.000000       0.000000     );
           end      (   20.0000000000000       0.1000000       0.000000     );
      }
);


surfaces
();

fields
(
   T
   U
);

// ************************************************************************* /
I'm using a geometry with 40 cells in the y-dimension.
Therefore I thought that there have to be 40 output values at every defined sample position.
Sadly I received just 39 values at some certain points – the value of the last (the 40.) cell is missing in that cases.


Has anyone the same problem? How can I fix it? Is there probably a better way to output defined data than the sample tool?


Thanks a lot - svens
svens is offline   Reply With Quote

Old   July 4, 2009, 08:14
Default
  #2
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Hey!

I wish this could be helpful for you.

http://www.cfd-online.com/Forums/ope...tml#post219114
flying is offline   Reply With Quote

Old   July 4, 2009, 20:49
Default
  #3
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 16
svens is on a distinguished road
Hey flying - thanks for your reply!

Working with shell-scripts is a really amazing option which I did not considered so far.

Sadly it won't solve my problem cause the sample tool have to be executed before as well...
svens is offline   Reply With Quote

Old   July 5, 2009, 05:16
Default
  #4
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
I am sorry that this is the only information I could provide. I don't have any other idea on it.

Good luck!
flying is offline   Reply With Quote

Old   August 27, 2010, 08:42
Default
  #5
New Member
 
Join Date: Mar 2010
Posts: 6
Rep Power: 16
Heesei is on a distinguished road
Hey Svens

Did you find out in the meanwhile why the value in the last cell is missing?

I have the same problem now and I don't know what to do to get the values for all cells.


Cheers,

Irina
Heesei is offline   Reply With Quote

Old   September 2, 2010, 11:13
Default
  #6
And
New Member
 
Andrea Aprovitola
Join Date: Nov 2009
Posts: 16
Rep Power: 16
And is on a distinguished road
Hello to the OpenFOAM community.

I'm experiencing a problem when using the sample utility distributed in OpenFOAM 1.6.x.

I would like to draw the streamwise component Ux along the y direction for the pitzDaily3D tutorial in non reacting conditions. The sampleDict has the following entries:

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

interpolationScheme cell;

setFormat raw;

sets
(
internalField
{
type uniform;
axis y;
start ( 0.01 -0.025 0 );
end ( 0.01 0.025 0 );
nPoints 100;
}
);

surfaces ();

fields ( U );


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


The sample utility seems to work properly when it is invoked:


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Time = 0

Time = 0.05

Time = 0.1

Time = 0.15

Time = 0.2

Time = 0.25

Time = 0.3

Time = 0.35

Time = 0.4

Time = 0.45

anyway the files internalField.xy created in the "/sets/[0-0.45]" folders a

I tried also to compute the single velocity component by selecting in the keyword fields:

fields ( U.component(0) )

but the result is the same. Does anyone can help me to fix this problem ?

Regards

Andrea
And 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
Sample utility problems msrinath80 OpenFOAM Running, Solving & CFD 12 December 21, 2012 05:51
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
Sample has problems with baffles propably problem with particletrackToFace mattijs OpenFOAM Bugs 1 October 22, 2007 09:20
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59
need sample post CFD data sets Joe Conti Main CFD Forum 0 April 17, 2000 15:38


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