View Issue Details

IDProjectCategoryView StatusLast Update
0003914OpenFOAMPatchpublic2022-10-18 08:24
Reportertniemi Assigned Towill  
PrioritylowSeveritytextReproducibilityN/A
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0003914: Corrections for a couple of typos
DescriptionI have attached a patch, which corrects a couple of typos in the header fields of mapped boundary conditions.
TagsNo tags attached.

Activities

tniemi

2022-10-18 06:50

reporter  

patch.diff (3,821 bytes)   
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/mappedInternalValue/mappedInternalValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/mappedInternalValue/mappedInternalValueFvPatchField.H
index 6e93e847e..1dcb6978d 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/mappedInternalValue/mappedInternalValueFvPatchField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/mappedInternalValue/mappedInternalValueFvPatchField.H
@@ -31,7 +31,7 @@ Description
 Usage
     \table
         Property     | Description                | Required | Default value
-        fieldName    | name of field to be mapped | no       | this field name
+        field        | name of field to be mapped | no       | this field name
         setAverage   | set the average value?     | no       | yes if average \\
                                                                is specified, \\
                                                                no otherwise
@@ -43,8 +43,8 @@ Usage
     \verbatim
     <patchName>
     {
-        type            mappedInternal;
-        fieldName       T;
+        type            mappedInternalValue;
+        field           T;
         average         300;
         interpolationScheme cellPoint;
         value           uniform 300;
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/mappedValue/mappedValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/mappedValue/mappedValueFvPatchField.H
index 68137734f..56c93368b 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/mappedValue/mappedValueFvPatchField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/mappedValue/mappedValueFvPatchField.H
@@ -31,7 +31,7 @@ Description
 Usage
     \table
         Property     | Description                | Required | Default value
-        fieldName    | name of field to be mapped | no       | this field name
+        field        | name of field to be mapped | no       | this field name
         setAverage   | set the average value?     | no       | yes if average \\
                                                                is specified, \\
                                                                no otherwise
@@ -42,8 +42,8 @@ Usage
     \verbatim
     <patchName>
     {
-        type            mapped;
-        fieldName       T;
+        type            mappedValue;
+        field           T;
         average         300;
         value           uniform 300;
     }
diff --git a/src/finiteVolume/fields/fvPatchFields/derived/mappedValueAndPatchInternalValue/mappedValueAndPatchInternalValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/mappedValueAndPatchInternalValue/mappedValueAndPatchInternalValueFvPatchField.H
index 4acd0959a..7bcd87657 100644
--- a/src/finiteVolume/fields/fvPatchFields/derived/mappedValueAndPatchInternalValue/mappedValueAndPatchInternalValueFvPatchField.H
+++ b/src/finiteVolume/fields/fvPatchFields/derived/mappedValueAndPatchInternalValue/mappedValueAndPatchInternalValueFvPatchField.H
@@ -31,7 +31,7 @@ Description
 Usage
     \table
         Property     | Description                | Required | Default value
-        fieldName    | name of field to be mapped | no       | this field name
+        field        | name of field to be mapped | no       | this field name
         setAverage   | set the average value?     | no       | yes if average \\
                                                                is specified, \\
                                                                no otherwise
@@ -43,7 +43,7 @@ Usage
     <patchName>
     {
         type            mappedValueAndPatchInternalValue;
-        fieldName       T;
+        field           T;
         average         300;
         value           uniform 300;
     }
patch.diff (3,821 bytes)   

will

2022-10-18 08:24

manager   ~0012811

Thanks for the report and patch, Timo. Fixed here:

https://github.com/OpenFOAM/OpenFOAM-dev/commit/512e5dddd11d9b8e892faf117ed36a2a599fa44a

Issue History

Date Modified Username Field Change
2022-10-18 06:50 tniemi New Issue
2022-10-18 06:50 tniemi File Added: patch.diff
2022-10-18 08:24 will Assigned To => will
2022-10-18 08:24 will Status new => resolved
2022-10-18 08:24 will Resolution open => fixed
2022-10-18 08:24 will Fixed in Version => dev
2022-10-18 08:24 will Note Added: 0012811