Skip to content
Snippets Groups Projects
Commit 271935c1 authored by Henry Weller's avatar Henry Weller
Browse files

calculatedFvPatchField: 'value' entry is now required to avoid problems with non-initialization

parent 65edfca2
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ Description ...@@ -39,7 +39,7 @@ Description
myPatch myPatch
{ {
type calculated; type calculated;
value uniform (0 0 0); // optional value entry value uniform (0 0 0); // Required value entry
} }
\endverbatim \endverbatim
...@@ -89,7 +89,7 @@ public: ...@@ -89,7 +89,7 @@ public:
const fvPatch&, const fvPatch&,
const DimensionedField<Type, volMesh>&, const DimensionedField<Type, volMesh>&,
const dictionary&, const dictionary&,
const bool valueRequired=false const bool valueRequired=true
); );
//- Construct by mapping given patchField<Type> onto a new patch //- Construct by mapping given patchField<Type> onto a new patch
......
...@@ -24,6 +24,7 @@ boundaryField ...@@ -24,6 +24,7 @@ boundaryField
".*" ".*"
{ {
type calculated; type calculated;
value $internalField;
} }
frontAndBack frontAndBack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment