Skip to content

Commit

Permalink
citation for catenary solution added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-7800 committed Feb 23, 2024
1 parent adbdb6c commit 9698a3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/CatenaryCase/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ def plot_video(


def plot_catenary(plot_params: dict, xlim=(0, 1), ylim=(-0.5, 0.5), base_length=1.0):
"""
Catenary analytical solution from Routh, Edward John (1891). "Chapter X: On Strings". A Treatise on Analytical Statics. University Press.
"""
matplotlib.use("TkAgg")
position = np.array(plot_params["position"])
n_elem = position.shape[-1]
lowest_point = np.min(position[-1][2])
x_catenary = np.linspace(0, base_length, 100)

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Examples can serve as a starting template for customized usages.
* __Purpose__: Demonstrate simulation of ring rod.
* __Features__: RingCosseratRod, OneEndFixedRod, GravityForce
* [CatenaryCase](./CatenaryCase)
* __Purpose__: Demonstrate simulation of cosserat rod under gravity with fixed ends.
* __Purpose__: Demonstrate simulation of cosserat rod under gravity with fixed ends, compared with Catenary Analytical Solution from Routh, Edward John (1891). [<strong>"Chapter X: On Strings".</strong>](https://books.google.com/books?id=3N5JAAAAMAAJ&pg=PA315#v=onepage&q&f=false). A Treatise on Analytical Statics. University Press.
* __Features__: CosseratRod, FixedConstraint, GravityForce

## Functional Examples
Expand Down

0 comments on commit 9698a3a

Please sign in to comment.