Test-rigidBodyDynamics: Corrected and improved visualisation of pendulumAndSpring

This commit is contained in:
Will Bainbridge
2023-03-03 15:51:57 +00:00
parent 9df3600f11
commit f50ff139fc
2 changed files with 36 additions and 27 deletions

View File

@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | Website: https://openfoam.org
# \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -48,6 +48,6 @@ set output "pendulumAndSpring.eps"
plot \
"pendulumAndSpring.dat" u 1:2 w l t "x", \
"pendulumAndSpring.dat" u 1:(57.29578*$2) w l axes x1y2 t "omega"
"pendulumAndSpring.dat" u 1:(180/pi*$3) w l axes x1y2 t "omega"
#------------------------------------------------------------------------------