GunnsFluidPotential - nasa/gunns GitHub Wiki

GunnsFluidPotential

default_img

Background

This is the simplest pressure source link. It extends GunnsFluidConductor with the ability to create an additional pressure difference between the nodes beyond the normal pressure drop due to flow conductance. This is the base class for some higher-fidelity pump & fan links. The total link pressure rise from input to exit dp is the sum of the ideal pressure source p_source and the pressure drop due to flow conductivity (see GunnsFluidConductor) as:

dp = p_source - (w / G)^2 / rho_avg,

so it is important to keep in mind that there is always some pressure drop from the ideal source pressure whenever there is flow through the link. Like the conductor this link models isentropic expansion, but does not model any other thermal effects and does not modify the mixture of the fluid passing through it.

How To Use in GunnsDraw

This link has the same connection rules as GunnsFluidConductor. This picture shows the various ways fluid potentials can be used.

default_img

Port Connection Rules (These are limitations on the port connection to nodes that the link enforces in run-time):

Other Rules (These are extra rules you should always try to follow):

  • Do not mix fluid phases across the link. That is, both nodes should contain the same phase (gas or liquid), and not different phases.
  • It's always a good idea to keep 2 spare links in fluid networks as a tuning & debugging aid.
  • Use this link in lieu of more complicated pump & fan links when you need a very simple idealized pump/fan without pump performance curves, affinity laws, spin speed, power & torque, heat transfer, etc.
  • As with normal conductors, try to combine conductors and GunnsFluidPotentials in series into a single GunnsFluidPotential whenever possible to reduce network node count.

Configuration Data Parameters:

  • maxConductivity: Same as GunnsFluidConductor. In addition, the pressure source has no effect if conductivity is zero. An "ideal" pressure source can be modeled by setting conductivity to 1.0E+15. Ducted fans & pumps are typically merged with some of their inlet & exit pipe section to reduce node count, which is reflected in this conductivity term.
  • expansionScaleFactor: Same as GunnsFluidConductor.

Input Data Parameters:

  • malfBlockageFlag: Same as GunnsFluidConductor.
  • malfBlockageValue: Same as GunnsFluidConductor.
  • sourcePressure (default = 0.0 (kPa), and non-zero magnitudes should be kept between E-15 and E+15): This is the initial ideal source pressure value. Positive values create a pressure rise from port 0 to port 1, and negative values create a pressure drop from port 0 to port 1.

Common Problems

  • N/A

References

  • N/A
⚠️ **GitHub.com Fallback** ⚠️