TUT: add value entry for some uniformFixedValue bcs (#2014)

- generally OK to miss for easily evaluated functions, but highly
  misleading with expressions (where the evaluate may be invalid
  during construction).
This commit is contained in:
Mark Olesen
2021-03-15 18:57:29 +01:00
parent bf0a48d68e
commit d15a396a6a
6 changed files with 15 additions and 10 deletions

View File

@ -25,6 +25,7 @@ boundaryField
inlet inlet
{ {
type uniformFixedValue; type uniformFixedValue;
value $internalField;
uniformValue uniformValue
{ {
type expression; type expression;

View File

@ -38,8 +38,8 @@ boundaryField
terrain terrain
{ {
type uniformFixedValue; type uniformFixedValue;
uniformValue (0 0 0);
value uniform (0 0 0); value uniform (0 0 0);
uniformValue (0 0 0);
} }
ground ground

View File

@ -22,14 +22,16 @@ boundaryField
{ {
inlet inlet
{ {
type uniformFixedValue; type uniformFixedValue;
uniformValue table value $internalField;
(
(0 (0 0 0.1)) uniformValue table
(1 (0 0 0.1)) (
(4 (0 0 0.3)) (0 (0 0 0.1))
(14 (0 0 0.5)) (1 (0 0 0.1))
); (4 (0 0 0.3))
(14 (0 0 0.5))
);
} }
outlet outlet

View File

@ -23,6 +23,7 @@ boundaryField
inlet inlet
{ {
type uniformFixedValue; type uniformFixedValue;
value $internalField;
uniformValue uniformValue
{ {
type expression; type expression;

View File

@ -25,6 +25,7 @@ boundaryField
inlet inlet
{ {
type uniformFixedValue; type uniformFixedValue;
value $internalField;
uniformValue table uniformValue table
( (
(0 (0 0 0)) (0 (0 0 0))

View File

@ -28,7 +28,7 @@ boundaryField
"(hullWall|propellerWall|rudderWall)" "(hullWall|propellerWall|rudderWall)"
{ {
type calculated; type calculated;
value uniform (0 0 0); value uniform (0 0 0);
} }