Skip to content

Commit 0021a1f

Browse files
committed
MNT: post merge fixes from testing refactors.
1 parent a82c8e9 commit 0021a1f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/user/motors/tanks.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ Fluid are then passed to tanks when they are defined.
7676
.. note::
7777

7878
One may define the fluid density as a function of temperature (K) and
79-
pressure (Pa). In this case, the fluid would be defined as such:
79+
pressure (Pa). The data can be imported from an external source, such as
80+
a dataset or external libraries.
81+
In this case, the fluid would be defined as such:
8082

8183
>>> Fluid(name="Liquid Nitrous Oxide", density=lambda t, p: 44 * p / (8.314 * t))
8284

rocketpy/plots/fluid_plots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ def all(self):
3131
------
3232
None
3333
"""
34+
self.fluid.density_function()

0 commit comments

Comments
 (0)