Rationalized the keyword to specify a file name in a dictionary to 'file'

e.g. in tutorials/heatTransfer/buoyantSimpleFoam/externalCoupledCavity/0/T

    hot
    {
        type            externalCoupledTemperature;
        commsDir        "${FOAM_CASE}/comms";
        file            "data";
        initByExternal  yes;
        log             true;
        value           uniform 307.75; // 34.6 degC
    }

Previously both 'file' and 'fileName' were used inconsistently in different
classes and given that there is no confusion or ambiguity introduced by using
the simpler 'file' rather than 'fileName' this change simplifies the use and
maintenance of OpenFOAM.
This commit is contained in:
Henry Weller
2017-01-07 09:38:54 +00:00
parent 80e22788e4
commit 78a396430b
12 changed files with 29 additions and 29 deletions

View File

@ -35,7 +35,7 @@ boundaryField
{
type externalCoupledTemperature;
commsDir "${FOAM_CASE}/comms";
fileName "data";
file "data";
initByExternal yes;
log true;
value uniform 307.75; // 34.6 degC
@ -45,7 +45,7 @@ boundaryField
{
type externalCoupledTemperature;
commsDir "${FOAM_CASE}/comms";
fileName "data";
file "data";
initByExternal yes;
log true;
value uniform 288.15; // 15 degC