View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001283 | OpenFOAM | Bug | public | 2014-05-08 18:25 | 2014-05-09 08:58 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Fedora | OS Version | 20 |
Summary | 0001283: oscillatingFixedValue documentation appears to be wrong | ||||
Description | $FOAM_SRC/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.H describes the function applied by that BC as: x_p = (1 + a sin(\pi f t))x_{ref} + x_o where x_p | patch values x_{ref} | patch reference values x_o | patch offset values a | amplitude f | frequency [1/s] t | time [s] If that were the case, the real frequency of x_p would be f/2. Looking at $FOAM_SRC/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C shows that the function actually used is: return 1.0 + a*sin(constant::mathematical::twoPi*f*t); So -unless I'm overlooking something- it looks like the header need to be changed to reflect the correct formula being used. Kind regards! | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-08 18:25 |
|
New Issue | |
2014-05-09 06:34 | shildenbrand | Note Added: 0003047 | |
2014-05-09 08:57 |
|
Relationship added | duplicate of 0001169 |
2014-05-09 08:58 |
|
Note Added: 0003048 | |
2014-05-09 08:58 |
|
Status | new => resolved |
2014-05-09 08:58 |
|
Resolution | open => fixed |
2014-05-09 08:58 |
|
Assigned To | => user2 |