Skip to content
Snippets Groups Projects
Commit 5a348322 authored by andy's avatar andy
Browse files

ENH: Updated boundary condition documentation

parent 82518f17
Branches
Tags
No related merge requests found
Showing
with 132 additions and 52 deletions
...@@ -28,14 +28,37 @@ Group ...@@ -28,14 +28,37 @@ Group
grpCoupledBoundaryConditions grpCoupledBoundaryConditions
Description Description
Base class for "jump" of a field<type> This boundary condition provides a jump condition, using the \c cyclic
condition as a base.
The jump is specified as a fixed value field, applied as an offset to the
'owner' patch.
\heading Patch usage
\table
Property | Description | Required | Default value
patchType | underlying patch type should be \c cyclic| yes |
jump | current jump value | yes |
\endtable
Example of the boundary condition specification:
\verbatim
myPatch
{
type fixedJump;
patchType cyclic;
jump uniform 10;
}
\endverbatim
The above example shows the use of a fixed jump of '10'.
Note Note
not used directly The underlying \c patchType should be set to \c cyclic
SeeAlso SeeAlso
Foam::fanFvPatchScalarField Foam::jumpCyclicFvPatchField
Foam::fanPressureFvPatchScalarField
SourceFiles SourceFiles
fixedJumpFvPatchField.C fixedJumpFvPatchField.C
......
...@@ -27,6 +27,36 @@ Class ...@@ -27,6 +27,36 @@ Class
Group Group
grpCoupledBoundaryConditions grpCoupledBoundaryConditions
Description
This boundary condition provides a jump condition, across non-conformal
cyclic path-pairs, employing an arbitraryMeshInterface (AMI).
The jump is specified as a fixed value field, applied as an offset to the
'owner' patch.
\heading Patch usage
\table
Property | Description | Required | Default value
patchType | underlying patch type should be \c cyclic| yes |
jump | current jump value | yes |
\endtable
Example of the boundary condition specification:
\verbatim
myPatch
{
type fixedJumpAMI;
patchType cyclic;
jump uniform 10;
}
\endverbatim
The above example shows the use of a fixed jump of '10'.
Note
The underlying \c patchType should be set to \c cyclicAMI
SeeAlso SeeAlso
Foam::jumpCyclicAMIFvPatchField Foam::jumpCyclicAMIFvPatchField
......
...@@ -27,11 +27,39 @@ Class ...@@ -27,11 +27,39 @@ Class
Group Group
grpCoupledBoundaryConditions grpCoupledBoundaryConditions
Description This boundary condition provides a jump condition, using the \c cyclic
Uniform jump condition as a base. The jump is specified as a time-varying uniform
value across the patch.
\heading Patch usage
\table
Property | Description | Required | Default value
patchType | underlying patch type should be \c cyclic| yes |
jumpTable | jump value | yes |
\endtable
Example of the boundary condition specification:
\verbatim
myPatch
{
type fixedJump;
patchType cyclic;
jumpTable constant 10;
}
\endverbatim
The above example shows the use of a fixed jump of '10'.
Note
The uniformValue entry is a DataEntry type, able to describe time
varying functions. The example above gives the usage for supplying a
constant value.
The underlying \c patchType should be set to \c cyclic
SeeAlso SeeAlso
Foam::jumpCyclicFvPatchField Foam::fixedJumpFvPatchField
SourceFiles SourceFiles
uniformJumpFvPatchField.C uniformJumpFvPatchField.C
......
...@@ -28,7 +28,36 @@ Group ...@@ -28,7 +28,36 @@ Group
grpCoupledBoundaryConditions grpCoupledBoundaryConditions
Description Description
Uniform jump This boundary condition provides a jump condition, using the \c cyclicAMI
condition as a base. The jump is specified as a time-varying uniform
value across the patch.
\heading Patch usage
\table
Property | Description | Required | Default value
patchType | underlying patch type should be \c cyclic| yes |
jumpTable | jump value | yes |
\endtable
Example of the boundary condition specification:
\verbatim
myPatch
{
type uniformJumpAMI;
patchType cyclicAMI;
jumpTable constant 10;
}
\endverbatim
The above example shows the use of a fixed jump of '10'.
Note
The uniformValue entry is a DataEntry type, able to describe time
varying functions. The example above gives the usage for supplying a
constant value.
The underlying \c patchType should be set to \c cyclic
SeeAlso SeeAlso
Foam::jumpCyclicAMIFvPatchField Foam::jumpCyclicAMIFvPatchField
......
...@@ -29,23 +29,8 @@ Group ...@@ -29,23 +29,8 @@ Group
Description Description
This boundary condition provides an energy jump condition across a pair This boundary condition provides an energy jump condition across a pair
of coupled patches. of coupled patches. It is not applied directly, but is employed on-the-fly
when converting temperature boundary conditions into energy.
\heading Patch usage
\table
Property | Description | Required | Default value
jump | energy jump values | yes |
\endtable
Example of the boundary condition specification:
\verbatim
myPatch
{
type energyJump;
jump uniform 100;
}
\endverbatim
SeeAlso SeeAlso
Foam::fixedJumpFvPatchField Foam::fixedJumpFvPatchField
......
...@@ -29,26 +29,12 @@ Group ...@@ -29,26 +29,12 @@ Group
Description Description
This boundary condition provides an energy jump condition across a pair This boundary condition provides an energy jump condition across a pair
of coupled patches. of coupled patches with an arbitrary mesh interface (AMI). It is not
applied directly, but is employed on-the-fly when converting temperature
\heading Patch usage boundary conditions into energy.
\table
Property | Description | Required | Default value
jump | energy jump values | yes |
\endtable
Example of the boundary condition specification:
\verbatim
myPatch
{
type energyJumpAMI;
jump uniform 100;
}
\endverbatim
SeeAlso SeeAlso
Foam::fixedJumpFvPatchField Foam::fixedJumpAMIFvPatchField
SourceFiles SourceFiles
energyJumpAMIFvPatchScalarField.C energyJumpAMIFvPatchScalarField.C
......
...@@ -29,7 +29,7 @@ Group ...@@ -29,7 +29,7 @@ Group
Description Description
This boundary condition provides a temperature jump condition across a This boundary condition provides a temperature jump condition across a
coupled pair of cyclic patches when solving for energy. coupled pair of cyclic patches, when solving for energy.
The jump is specified as a \c DataEntry type, to enable the use of, e.g. The jump is specified as a \c DataEntry type, to enable the use of, e.g.
contant, polynomial, table values. contant, polynomial, table values.
...@@ -39,7 +39,6 @@ Description ...@@ -39,7 +39,6 @@ Description
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
patchType | underlying patch type should be \c cyclic| yes | patchType | underlying patch type should be \c cyclic| yes |
jump | current jump value | yes |
jumpTable | jump data, e.g. \c csvFile | yes | jumpTable | jump data, e.g. \c csvFile | yes |
\endtable \endtable
...@@ -54,7 +53,7 @@ Description ...@@ -54,7 +53,7 @@ Description
} }
\endverbatim \endverbatim
The above example shows the use of a constant jump condition. The above example shows the use of a constant jump condition of 300 K.
Note Note
The underlying \c patchType should be set to \c cyclic The underlying \c patchType should be set to \c cyclic
......
...@@ -29,7 +29,8 @@ Group ...@@ -29,7 +29,8 @@ Group
Description Description
This boundary condition provides a temperature jump condition across a This boundary condition provides a temperature jump condition across a
coupled pair of cyclic patches when solving for energy. coupled pair of non-conformal cyclic patches using an arbitrary mesh
interface (AMI), when solving for energy.
The jump is specified as a \c DataEntry type, to enable the use of, e.g. The jump is specified as a \c DataEntry type, to enable the use of, e.g.
contant, polynomial, table values. contant, polynomial, table values.
...@@ -39,7 +40,6 @@ Description ...@@ -39,7 +40,6 @@ Description
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
patchType | underlying patch type should be \c cyclic| yes | patchType | underlying patch type should be \c cyclic| yes |
jump | current jump value | yes |
jumpTable | jump data, e.g. \c csvFile | yes | jumpTable | jump data, e.g. \c csvFile | yes |
\endtable \endtable
...@@ -54,14 +54,14 @@ Description ...@@ -54,14 +54,14 @@ Description
} }
\endverbatim \endverbatim
The above example shows the use of a constant jump condition. The above example shows the use of a constant jump condition of 300 K.
Note Note
The underlying \c patchType should be set to \c cyclic The underlying \c patchType should be set to \c cyclicAMI
SeeAlso SeeAlso
Foam::uniformJumpFvPatchField Foam::uniformJumpAMIFvPatchField
Foam::energyJumpFvPatchScalarField Foam::energyJumpAMIFvPatchScalarField
SourceFiles SourceFiles
uniformTemperatureJumpAMIFvPatchScalarField.C uniformTemperatureJumpAMIFvPatchScalarField.C
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment