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
{
type uniformFixedValue;
value $internalField;
uniformValue
{
type expression;

View File

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

View File

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

View File

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

View File

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

View File

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