Skip to content

OpenFOAM addons and case (functionObjects, fvConstraints, etc.) templates

License

Notifications You must be signed in to change notification settings

staneuski/froth

Repository files navigation

froth

froth is OpenFOAM addons (including libraries) and $WM_PROJECT_SITE case templates.

addons

Add custom #includeEtc dictionaries by setting WM_PROJECT_SITE

export WM_PROJECT_SITE=$HOME/Documents/froth

ParaView

Animate ParaView state using pvbatch:

field=U
pvbatch $WM_PROJECT_SITE/etc/visualise.py state.pvsm animate /tmp/frames/$field.png --dict $WM_PROJECT_SITE/etc/caseDicts/functions/visualisation/animation.png.json &&
ffmpeg -y -framerate 10 -pattern_type glob -i "$foam_case/postProcessing/frames/$field.*.png" -qscale:v 8 -codec:a libvorbis postProcessing/U.ogv &&
rm -rf postProcessing/frames/$field.*.png

About

OpenFOAM addons and case (functionObjects, fvConstraints, etc.) templates

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published