Skip to content

postProcessing tool for OpenFOAM, transform OpenFOAM fields to one single file by columns

License

Notifications You must be signed in to change notification settings

ZhangYanTJU/foam2Columns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foam2Columns

OpenFOAM version OpenFOAM version

Usage

It supports any number of fields and transforms them to this format:

L1: x y z var1 var2 var3_x var3_y var3_z ...
L2: x y z var1 var2 var3_x var3_y var3_z ...
.
.
.
Ln: x y z var1 var2 var3_x var3_y var3_z ...

where n is the cell number, and var1(p), var2(T) var3(U)are the input variables:

foam2Columns -fields "(p T)"

Yes, it supports volVectorField:

foam2Columns -vectorFields "(U)"

Or together:

foam2Columns -fields "(p T)" -vectorFields "(U)"

Thanks for ZmengXu. With his help, it supports lagrangian fields:

foam2Columns -lagrangianFields "(d T)"

Or together:

foam2Columns -fields "(p T)" -vectorFields "(U)" -lagrangianFields "(d T)"

The results are save in $FOAM_CASE/postProcessing/foam2Columns/$time/Eulerian_*, and $FOAM_CASE/postProcessing/foam2Columns/$time/Lagrangian_* for lagrangian fields.

About

postProcessing tool for OpenFOAM, transform OpenFOAM fields to one single file by columns

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages