Skip to content

Comments

Initial IdealFluid structure#949

Draft
mog1el wants to merge 2 commits intolean-phys-community:masterfrom
mog1el:Fluids
Draft

Initial IdealFluid structure#949
mog1el wants to merge 2 commits intolean-phys-community:masterfrom
mog1el:Fluids

Conversation

@mog1el
Copy link

@mog1el mog1el commented Feb 16, 2026

  • is well defined
  • Flow out of a volume
  • Mass flux density
  • Equation of continuity
  • Euler's equation
  • Definition of an ideal fluid
  • Definition of the entropy flux density
  • Bernoulli's equation
  • Energy flux

Addressing issue #887

structure IdealFluid where
density: Time → Space → ℝ
velocity: Time → Space→ Space
pressure: Time → Space → ℝ
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to think about the conditions that you put here. Do e.g. L&L suggest that the density need by a smooth function? Does it need to have certain properties with respect to integration? etc.


structure IdealFluid where
density: Time → Space → ℝ
velocity: Time → Space→ Space
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make velocity a map to EluclideanSpace _ _ rather than Space.

Copyright (c) 2026 Michał Mogielnicki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michał Mogielnicki
-/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would move this .Basic.lean file into the directory IdealFluid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants