Function1::Table: simplified and rationalised

TableBase, TableFile and Table now combined into a single simpler Table class
which handle both the reading of embedded and file data using the generalised
TableReader.  The new EmbeddedTableReader handles the embedded data reading
providing the functionality of the original Table class within the same
structure that can read the data from separate files.

The input format defaults to 'embedded' unless the 'file' entry is present and
the Table class is added to the run-time selection table under the name 'table'
and 'tableFile' which provides complete backward comparability.  However it is
advisable to migrate cases to use the new 'table' entry and all tutorial cases
have been updated.
This commit is contained in:
Henry Weller
2020-11-16 23:48:47 +00:00
parent 37ebdfe36e
commit 4e183e33d4
43 changed files with 377 additions and 821 deletions

View File

@ -23,7 +23,7 @@ solidBodyMotionFunction sixDoFMotion;
CofG (0 0 0);
translationRotation tableFile;
translationRotation table;
// interpolationScheme spline;
file "$FOAM_CASE/constant/6DoF.dat";

View File

@ -152,7 +152,7 @@ saturation
scale 1;
value
{
type tableFile;
type table;
format csv;
nHeaderLine 1;
refColumn 1;

View File

@ -189,7 +189,7 @@ saturation
scale 1;
value
{
type tableFile;
type table;
format csv;
nHeaderLine 1;
refColumn 1;

View File

@ -235,7 +235,7 @@ saturation
scale 1;
value
{
type tableFile;
type table;
format csv;
nHeaderLine 1;
refColumn 1;

View File

@ -326,7 +326,7 @@ saturation
scale 1;
value
{
type tableFile;
type table;
format csv;
nHeaderLine 1;
refColumn 1;
@ -351,7 +351,7 @@ saturation
scale 1;
value
{
type tableFile;
type table;
format csv;
nHeaderLine 1;
refColumn 1;

View File

@ -36,7 +36,7 @@ boundaryField
wall
{
type fixedProfile;
profile tableFile;
profile table;
profileCoeffs
{

View File

@ -36,7 +36,7 @@ boundaryField
wall
{
type fixedProfile;
profile tableFile;
profile table;
profileCoeffs
{

View File

@ -36,7 +36,7 @@ boundaryField
wall
{
type fixedProfile;
profile tableFile;
profile table;
profileCoeffs
{

View File

@ -36,7 +36,7 @@ boundaryField
wall
{
type fixedProfile;
profile tableFile;
profile table;
profileCoeffs
{