From e629d33a08e97b04810c9d0be8d4671d262c61cf Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Tue, 22 Jul 2008 13:07:45 +0200 Subject: [PATCH] paraview reader: export FOAM_CASE env variable --- .../graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C index 678ae8e958..2d9d480686 100644 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.C @@ -471,6 +471,9 @@ Foam::vtkPV3Foam::vtkPV3Foam fullCasePath = cwd(); } + // Set the case as an environment variable - some BCs might use this + setEnv("FOAM_CASE", fullCasePath, true); + // Create time object dbPtr_.reset (