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:
@ -23,7 +23,7 @@ solidBodyMotionFunction sixDoFMotion;
|
||||
|
||||
CofG (0 0 0);
|
||||
|
||||
translationRotation tableFile;
|
||||
translationRotation table;
|
||||
// interpolationScheme spline;
|
||||
file "$FOAM_CASE/constant/6DoF.dat";
|
||||
|
||||
|
||||
@ -152,7 +152,7 @@ saturation
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type tableFile;
|
||||
type table;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
|
||||
@ -189,7 +189,7 @@ saturation
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type tableFile;
|
||||
type table;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
|
||||
@ -235,7 +235,7 @@ saturation
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type tableFile;
|
||||
type table;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile tableFile;
|
||||
profile table;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile tableFile;
|
||||
profile table;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile tableFile;
|
||||
profile table;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
|
||||
@ -36,7 +36,7 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile tableFile;
|
||||
profile table;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user