View Issue Details

IDProjectCategoryView StatusLast Update
0001545OpenFOAM[All Projects] Bugpublic2015-02-21 14:07
ReporterwyldckatAssigned Tohenry 
PrioritylowSeveritytextReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0001545: timeVaryingMappedFixedValueFvPatchField has the wrong slash for "verbatim" markers and is missing description for "offset"
DescriptionTried searching for more occurrences, but fortunately there is only one:

  find src -name "*.[HC]" -type f | xargs grep -e "/verbatim"

In addition, the "offset" option is not documented.

Attached is the proposed fix for the file and in "Steps To Reproduce" is a quick git diff for easier inspection.
Steps To Reproduce--- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H
@@ -51,17 +51,19 @@ Description
         perturb | perturb points for regular geometries | no | 1e-5
         fieldTableName | alternative field name to sample | no| this field name
         mapMethod | type of mapping | no | planarInterpolation
+ offset | for applying offset to mapped values | no | constant 0.0
     \endtable
 
- /verbatim
+ \verbatim
     myPatch
     {
         type timeVaryingMappedFixedValue;
         setAverage false;
         //perturb 0.0;
         //fieldTableName samples;
+ //offset constant 0.2;
     }
- /endverbatim
+ \endverbatim
 
 SeeAlso
     Foam::fixedValueFvPatchField
Additional InformationI found this one by accident, while trying to figure out how this BC worked.
TagsNo tags attached.

Activities

wyldckat

2015-02-21 13:16

updater  

timeVaryingMappedFixedValueFvPatchField.H (8,160 bytes)

henry

2015-02-21 14:07

manager   ~0003849

Resolved by commit c0932d3f804e754ab1e386203156c4164a6d2cf9

Issue History

Date Modified Username Field Change
2015-02-21 13:16 wyldckat New Issue
2015-02-21 13:16 wyldckat File Added: timeVaryingMappedFixedValueFvPatchField.H
2015-02-21 14:07 henry Note Added: 0003849
2015-02-21 14:07 henry Status new => resolved
2015-02-21 14:07 henry Resolution open => fixed
2015-02-21 14:07 henry Assigned To => henry