Skip to content

Modelica.Fluid.Vessels.ClosedVolume roots #4370

Open
@HansOlsson

Description

@HansOlsson

The model Modelica.Fluid.Vessels.ClosedVolume contains:

    vesselArea = pi*(3/4*V)^(2/3),
    heatTransfer(surfaceAreas={4*pi*(3/4*V/pi)^(2/3)}));

There is a proposal to introduce the nth root in Modelica that can be used instead of x^(2/3) (and help unit-checking), since Modelica does not have rational numbers, and that could be used directly for heatTransfer.surfaceAreas, which just computes radius from Volume and then Area based on that. As documented a Sphere has: Volume 4*pi*r^3/3 and Area 4*pi*r^2, so it all makes sense.

But I don't understand the corresponding formula for vesselArea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    L: FluidIssue addresses Modelica.Fluid (excl. Dissipation)requires Modelica 3.7Issue that requires Modelica Language Specification 3.7

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions