CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   isoSurfaces (https://www.cfd-online.com/Forums/openfoam-post-processing/220919-isosurfaces.html)

Bdew8556 September 26, 2019 20:45

isoSurfaces
 
Hey foamers.

I'm running a simulation in parallel on 8 processors on my local PC.

I'm trying to plot a velocity isosurface for U = 11m/s
I've made a "surfaces" file in my system file:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

surfaces
{
type surfaces;
libs ("libsampling.so");
writeControl writeTime;

surfaceFormat vtk;
fields (p U);

interpolationScheme cellPoint;

surfaces
(
zNormal
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
point (0 0 0);
normal (0 0 1);
}
interpolate true;
}

isoU
{
type isoSurface;
isoField U;
isoValue 11;
interpolate true;
}


);
}


// ************************************************** *********************** //

I've also added to my controlDict

functions
{
#includeFunc residuals
#include "surfaces"
#include "isosurfaces"

}

I copied the "surfaces" file and called it "isosurfaces" just in case that was the issue.

I run it with the command

'C:/Program Files/Microsoft MPI/Bin/mpiexec.exe' -np 8 simpleFoam.exe -parallel 2>&1 | tee solution.log


it solves the first iteration no problem but then comes back with this:

Cannot find isosurface field U in database or directory "C:/OpenFOAM/18.10/AUBD501827-dev/run/Parkville_amended/629A/processor6/2932"


Anyone have any ideas why??


All times are GMT -4. The time now is 21:59.