update doc

This commit is contained in:
2024-04-18 15:18:55 +02:00
parent 044c7daab2
commit e0469997ba

View File

@@ -71,7 +71,17 @@ def main():
parser_a = subparsers.add_parser( parser_a = subparsers.add_parser(
'frequency', help="eigen frequencies", prefix_chars='-', 'frequency', help="eigen frequencies", prefix_chars='-',
description="Eigen frequenccies of an Euler-Bernoulli beam.") description=r"""Eigen frequencies of an Euler-Bernoulli beam.
βₙ² ⎛E I⎞¹/₂ π
fₙ = --- ⎜---⎟ with βₙ = -- aₙ
2π ⎝ρ A⎠ L
aₙ is a numerically solved value.
!!! Currently only the first four frequencies can be calculated.
""",
formatter_class=argparse.RawTextHelpFormatter)
parser_a.add_argument('N', type=int, help='Mode number') parser_a.add_argument('N', type=int, help='Mode number')
parser_a.add_argument('E', type=float, help='Young\'s modulus') parser_a.add_argument('E', type=float, help='Young\'s modulus')
parser_a.add_argument('I', type=float, help='Second moment of area') parser_a.add_argument('I', type=float, help='Second moment of area')