Skip to content

guillaume-florent/aaFoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aaFoam

OpenFOAM utilities, work in progress ...

Utilities

Field files diffing

aaFoamDiff.py file_1 file_2

Works on non uniform field files (timestep > 0 /U /p ....) that are defined on identical meshes.

Produces a <field>_diff file in the folder of file_1

The values are file_1 minus file_2

Forces monitoring

aaFoamForcesWatcher.py -l 50 -t 173 -r 5

aaFoamForcesWatcher.py -h

Run at case root, during the run or when the case is solved

Opens a live plot of the forces (requires the forces function in system/controlDict) as it reads the postProcessing/forces/0/force.dat file.

Requirements

Python 3, numpy & matplotlib

Thanks

Most of the OpenFOAM files parsing code comes from https://github.com/dayigu

Great forces file parsing ideas : https://github.com/lordvon/OpenFOAM_Tutorials/HowToPlotForces/plot_forces_of5_live.py

About

OpenFOAM pre and post processing utilities

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published