diff --git a/applications/solvers/additiveFoam/createFields.H b/applications/solvers/additiveFoam/createFields.H index 7e159dcc..a197af73 100644 --- a/applications/solvers/additiveFoam/createFields.H +++ b/applications/solvers/additiveFoam/createFields.H @@ -43,7 +43,10 @@ volScalarField alpha1 zeroGradientFvPatchScalarField::typeName ); -IFstream thermoFile(runTime.constant()/"thermoPath"); +IFstream thermoFile +( + runTime.rootPath()/runTime.globalCaseName()/runTime.constant()/"thermoPath" +); graph thermo (