CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] expressionField + execFlowFunctionObjects + AMI (https://www.cfd-online.com/Forums/openfoam-community-contributions/156944-expressionfield-execflowfunctionobjects-ami.html)

pbachant July 16, 2015 01:09

expressionField + execFlowFunctionObjects + AMI
 
I am having trouble using swak4Foam expressionFields for post-processing a case with a sliding mesh AMI (OF 2.4.x). I am getting these results:

Code:

Create time

Create mesh for time = 0

    Reading U
    Reading p
Creating expression field gradP ...swak4Foam: Allocating new repository for sampledMeshes
swak4Foam: Allocating new repository for sampledGlobalVariables
AMI: Creating addressing and weights between 278 source faces and 282 target faces
AMI: Patch source sum(weights) min/max/average = 0.9999995653, 1.000053043, 1.000021541
AMI: Patch target sum(weights) min/max/average = 0.9999988541, 1.000055873, 1.000021313
 type:volVectorField
Creating expression field gradUx ... type:volVectorField
Creating expression field laplacianUx ... type:volScalarField
Time = 0
    Reading phi
--> FOAM Warning :
--> FOAM FATAL IO ERROR:
cannot find file

file: /home/pete/OpenFOAM/pete-2.4.x/run/unh-rvat-2d/0/phi at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 73.

Time = 0.02


--> FOAM FATAL ERROR:
Field U does not exist


    From function Foam::readAndUpdateFields::read(const dictionary& dict)
    in file misc/readAndUpdateFields/readAndUpdateFields.C at line 128.

FOAM exiting

I've gotten the same expressions to work on a different case without an AMI. Any ideas on what's going wrong here?


All times are GMT -4. The time now is 01:23.