View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000354 | OpenFOAM | Bug | public | 2011-12-13 15:08 | 2015-01-01 14:17 |
Reporter | Assigned To | henry | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | linux | OS | ubuntu 11.10 | OS Version | (please specify) |
Summary | 0000354: difference in pressure values when generated from sampleDict and ControlDict | ||||
Description | I put the following code inthe sampleDict file: fields (alpha1 p); surfaces ( wallPressure { type patch; patches (leftWall); interpolate true; triangulate false; } ); I also put the same code in the controlDict file: wallPressure { type surfaces; functionObjectLibs ("libsampling.so"); outputControl outputTime; outputInterval 10; surfaceFormat raw; interpolationScheme cellPoint; fields ( alpha1 p ); surfaces ( walls { type patch; patches (leftWall); interpolate true; triangulate false; } ); } I am modeling a rectangular tank with the fluid halfway up the tank, as a variation of the sloshingTank2D. After running OpenFOAM, I checked the pressures for the left wall at the same time interval. The output from controlDict for the first few lines is: # p POINT_DATA 82 # x y z p -0.5 -19.97 -10 536249 0.5 -19.97 -10 536249 0.5 -19.97 -9.5 536249 -0.5 -19.97 -9.5 536249 0.5 -19.97 -9 530098 -0.5 -19.97 -9 530098 0.5 -19.97 -8.5 522683 -0.5 -19.97 -8.5 522683 The output from the sampleDict file is: # p POINT_DATA 82 # x y z p -0.5 -19.97 -10 533173 0.5 -19.97 -10 536942 0.5 -19.97 -9.5 536942 -0.5 -19.97 -9.5 533173 0.5 -19.97 -9 533173 -0.5 -19.97 -9 526390 0.5 -19.97 -8.5 526390 -0.5 -19.97 -8.5 518337 There are significant difference pressure values between the two. Can anyone tell me why this may be occuring? | ||||
Tags | sample | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-13 15:08 |
|
New Issue | |
2013-12-31 17:30 |
|
Note Added: 0002729 | |
2014-12-29 18:37 | wyldckat | Tag Attached: sample | |
2015-01-01 14:17 | henry | Note Added: 0003441 | |
2015-01-01 14:17 | henry | Status | new => closed |
2015-01-01 14:17 | henry | Assigned To | => henry |
2015-01-01 14:17 | henry | Resolution | open => fixed |