|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 5 ![]() |
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
);
// ************************************************************************* /
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 6 ![]() |
||
|
|
|
|
|
|
|
#3 |
|
Member
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 5 ![]() |
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... |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 6 ![]() |
I am sorry that this is the only information I could provide. I don't have any other idea on it.
Good luck! |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2010
Posts: 6
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#6 |
|
New Member
Andrea Aprovitola
Join Date: Nov 2009
Posts: 15
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |