FoamToGMV

From OpenFOAMWiki

1 Name

foamToGMV - Translates OpenFOAM data to GMV readable files.

Valid versions: OF version 15.png OF version 16.png OF version 17.png OF Version 20.png OF Version 21.png OF Version 15dev.png OF Version 16ext.png

2 Synopsis

foamToGMV [OPTIONS]

3 Description

This utility needs an auxiliary dictionary file constant/conversionProperties, for which an example is provided in section File constant/conversionProperties.

-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFunctionObjects OF Version 20.png OF Version 21.png

Skip the execution of the functionObjects

-parallel

Run in parallel

-roots <(dir1 .. dirN)> OF Version 20.png OF Version 21.png

Slave root directories for distributed running

-help

Display the help and exit

4 File constant/conversionProperties

Example for the file constant/conversionProperties:

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      conversionProperties;
}

startTime 0; //0.1;
vector U;
format ascii; //ieeei4r8
cells hex;

Description:

startTime

The initial time instance to start with.

vector

Usually this is for the U field, but basically any vector field can be indicated.

format

Only two choices available: ascii or ieeei4r8

cells

There is only one choice: hex