CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Write interpolated patch data of coarse mesh (https://www.cfd-online.com/Forums/openfoam-solving/65130-write-interpolated-patch-data-coarse-mesh.html)

braennstroem June 4, 2009 13:55

Write interpolated patch data of coarse mesh
 
Hi,

with functions like:

Code:

wallPressure
    {
        // Type of functionObject
        type surfaces;

        // Where to load it from (if not already in solver)
        functionObjectLibs ("libsampling.so");

        // Output every 10th time step
        interval 10;

        surfaceFormat raw;

        fields
        (
            p
        );

        surfaces
        (
            walls
            {
                type            patch;
                patchName      walls;
                triangulate    false;
            }
        );
    }

I am able to extract fields on defined patches for a certain intervall. That works fine, but does anyone have an idea, how to write out these patch fields on using a patch mesh, which is coarser than the original one? Maybe one can combine some available tools like 'surfaceCoarsen' or the GAMG levels?

Regards!
Fabian1


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