Fluid_Aspect_Course_6_4 - nasa/gunns GitHub Wiki
Sometimes we might want to constrain one network to follow an “ambient” pressure supplied by another network, without actually flowing between them.
- Simplifies sim bus interface.
- Note this doesn’t conserve mass — mass is gained or lost in the “other” networks.
During run-time, you can break the connection between a supply/demand pair with the demand link’s mMalfBlockage malf:
- In the demand link, set mMalfBlockageValue = 1.0
- In the demand link, set mMalfBlockageFlag = true
- Don’t use the supply link’s malfunction.
- This isolates the demand node from the supply node.
- The demand node stops mirroring the supply node, and no flow occurs between the networks.
- This can be useful for debugging or tuning.
- Note that the demand link no longer functions as a pressure source.
- The pressure constraint is now removed from the demand node, and the demand node’s pressure may drift to some other value based on network conditions.