Skip to content

Fluid_Aspect_Course_2_2_7

Jason Harvey edited this page Feb 19, 2021 · 1 revision

Fluid Aspect Course 2.2.7: Fluid Objects

  • MonoFluid: holds the state of one fluid constituent (GUNNS_O2, etc) in a PolyFluid
  • PolyFluid: has one MonoFluid for each constituent in the network, holds the state of the mixture

In Nodes

Every fluid node has 2 PolyFluids:

  • mInflow: represents the mixed state of all flows coming into the node.
    • Only used as a temporary mixing place for inflows before it is added to the mContent.
  • mContent: represents the state of the contents in the node’s volume.
    • The fluid states in mContent are balanced at the end of the network frame. Once balanced, their state is consistent with the network solution (except for state error).

In Links

  • All links have a pointer to a PolyFluid called mInternalFluid that is dynamically allocated to an actual PolyFluid object, but only when that link class needs it.
    • This pointer can be NULL.
    • This fluid is used by some links that modify the fluid passing through it.
  • Some links add more PolyFluid objects to track other fluid states separately.
    • All of these link fluids are generally only for temporary use by the link and don’t represent balanced states that are consistent with the network solution.
    • Keep this in mind when looking at these fluid states.

Previous Page / Next Page

Clone this wiki locally