Function1: Generalisation and removal of unused code

Function1 has been generalised in order to provide functionality
previously provided by some near-duplicate pieces of code.

The interpolationTable and tableReader classes have been removed and
their usage cases replaced by Function1. The interfaces to Function1,
Table and TableFile has been improved for the purpose of using it
internally; i.e., without user input.

Some boundary conditions, fvOptions and function objects which
previously used interpolationTable or other low-level interpolation
classes directly have been changed to use Function1 instead. These
changes may not be backwards compatible. See header documentation for
details.

In addition, the timeVaryingUniformFixedValue boundary condition has
been removed as its functionality is duplicated entirely by
uniformFixedValuePointPatchField.
This commit is contained in:
Will Bainbridge
2019-10-17 19:11:05 +01:00
parent 64da7a2cc9
commit 7ab73932cf
130 changed files with 1156 additions and 2863 deletions

View File

@ -326,7 +326,8 @@ saturationModel
scale 1;
value
{
type csvFile;
type tableFile;
format csv;
nHeaderLine 1;
refColumn 1;
componentColumns (0);

View File

@ -152,7 +152,8 @@ saturationModel
scale 1;
value
{
type csvFile;
type tableFile;
format csv;
nHeaderLine 1;
refColumn 1;
componentColumns (0);

View File

@ -189,7 +189,8 @@ saturationModel
scale 1;
value
{
type csvFile;
type tableFile;
format csv;
nHeaderLine 1;
refColumn 1;
componentColumns (0);

View File

@ -235,7 +235,8 @@ saturationModel
scale 1;
value
{
type csvFile;
type tableFile;
format csv;
nHeaderLine 1;
refColumn 1;
componentColumns (0);

View File

@ -36,10 +36,11 @@ boundaryField
wall
{
type fixedProfile;
profile csvFile;
profile tableFile;
profileCoeffs
{
format csv; // Input format
nHeaderLine 0; // Number of header lines
refColumn 0; // Reference column index
componentColumns (1); // Component column indices

View File

@ -36,10 +36,11 @@ boundaryField
wall
{
type fixedProfile;
profile csvFile;
profile tableFile;
profileCoeffs
{
format csv; // Input format
nHeaderLine 0; // Number of header lines
refColumn 0; // Reference column index
componentColumns (1); // Component column indices

View File

@ -36,10 +36,11 @@ boundaryField
wall
{
type fixedProfile;
profile csvFile;
profile tableFile;
profileCoeffs
{
format csv; // Input format
nHeaderLine 0; // Number of header lines
refColumn 0; // Reference column index
componentColumns (1); // Component column indices

View File

@ -36,10 +36,11 @@ boundaryField
wall
{
type fixedProfile;
profile csvFile;
profile tableFile;
profileCoeffs
{
format csv; // Input format
nHeaderLine 0; // Number of header lines
refColumn 0; // Reference column index
componentColumns (1); // Component column indices