Skip to content

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

License

Notifications You must be signed in to change notification settings

staneuski/froth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1e1a0c9 · Dec 14, 2024

History

11 Commits
Jul 29, 2024
Dec 14, 2024
Nov 12, 2024
Nov 17, 2023
Nov 21, 2023
Nov 15, 2023
Nov 15, 2023
Feb 16, 2024

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