View Issue Details

IDProjectCategoryView StatusLast Update
0001169OpenFOAMBugpublic2014-05-09 08:57
Reportershildenbrand Assigned Towill  
PrioritylowSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
PlatformHP Z820OSLinux UbuntuOS Version13.10
Summary0001169: Description in "oscillatingFixedValueFvPatchField.H" has "pi" instead of "2*pi"
DescriptionIn oscillatingFixedValueFvPatchField.H the description says

\f[
   x_p = (1 + a sin(\pi f t))x_{ref} + x_o
\f]

where as in oscillatingFixedValueFvPatchField.C

it says
   return 1.0 + a*sin(constant::mathematical::twoPi*f*t);

The description should be
  x_p = (1 + a sin(2 \pi f t))x_{ref} + x_o
TagsNo tags attached.

Relationships

has duplicate 0001283 resolveduser2 oscillatingFixedValue documentation appears to be wrong 

Activities

will

2014-02-20 10:53

manager   ~0002866

Thanks for the report.

Fixed in commit c71c6e9020448cc3b3ab058daac9a7f82e5f8d84

Issue History

Date Modified Username Field Change
2014-02-19 12:31 shildenbrand New Issue
2014-02-20 10:53 will Note Added: 0002866
2014-02-20 10:53 will Status new => resolved
2014-02-20 10:53 will Resolution open => fixed
2014-02-20 10:53 will Assigned To => will
2014-05-09 08:57 user2 Relationship added has duplicate 0001283