Top Banner
Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric Moore NASA/Marshall Space Flight Center & Paul Schallhorn NASA/Kennedy Space Center Thermal Fluids Analysis Workshop (TFAWS) August 15-19, 2011, Newport News, VA
34

Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software

Alok Majumdar, Andre Leclair, Ric Moore

NASA/Marshall Space Flight Center

&

Paul Schallhorn

NASA/Kennedy Space Center

Thermal Fluids Analysis Workshop (TFAWS)

August 15-19, 2011, Newport News, VA

Page 2: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Content

• Introduction• Additional Capabilities of Version 6

– Fluid Mixture Option with Phase Change– Pressure Regulator Model with Forward Looking

Algorithm– Prescribed Flow Option– Two-dimensional Navier-Stokes Solver– SI Option

• Concluding Remarks2

Page 3: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Introduction

• GFSSP stands for Generalized Fluid System Simulation Program

• It is a general-purpose computer program to compute pressure, temperature and flow distribution in a flow network

• It was primarily developed to analyze – Internal Flow Analysis of a Turbopump– Transient Flow Analysis of a Propulsion System

• GFSSP development started in 1994 with an objective to provide a generalized and easy to use flow analysis tool for thermo-fluid systems

3

Page 4: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Development History

• Version 1.4 (Steady State) was released in 1996• Version 2.01 (Thermodynamic Transient) was released

in 1998• Version 3.0 (User Subroutine) was released in 1999• Graphical User Interface, VTASC was developed in 2000• Selected for NASA Software of the Year Award in 2001• Version 4.0 (Fluid Transient and post-processing

capability) is released in 2003• Version 5 (Conjugate Heat Transfer) is released in 2007

4

Page 5: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

5

Network Definition

= Boundary Node

= Internal Node

= Branch

H2

N2

O2

H2 + O2 +N2

H2 + O2 +N2

GFSSP calculates pressure, temperature, and concentrations at nodes and calculates flow rates through branches.

Page 6: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

6

Program Structure

Graphical User Interface (VTASC)

Solver & Property Module User Subroutines

Input Data

File

New Physics

• Time dependent

process

• non-linear boundary

conditions

• External source term

• Customized output

• New resistance / fluid

option

Output Data File

• Equation Generator

• Equation Solver

• Fluid Property Program

• Creates Flow Circuit

• Runs GFSSP

• Displays results graphically

Page 7: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

7

Mathematical Closure

Unknown Variables Available Equations to Solve

1. Pressure 1. Mass Conservation Equation

2. Flowrate 2. Momentum Conservation Equation

3. Fluid Temperature 3. Energy Conservation Equation of Fluid

4. Solid Temperature 4. Energy Conservation Equation of Solid

5. Specie Concentrations 5. Conservation Equations for Mass Fraction of Species

6. Mass 6. Thermodynamic Equation of State

Page 8: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

8

Graphical User Interface

Page 9: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

9

Capabilities

• Steady or unsteady flow• Compressible or incompressible flow• Single fluid or mixture• 25 flow resistance and 33 fluid options• Options for new components and physics through User

Subroutine• Options for new fluid through table look-up• Conjugate Heat Transfer• Interface with Thermal Analysis Code, SINDA-G/PATRAN• Translator of SINDA/Fluint Model

Page 10: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Additional Capabilities of Version 6

• Fluid Mixture Option with Phase Change• Pressure Regulator Model with Forward Looking

Algorithm• Prescribed Flow Option• Two-dimensional Navier-Stokes Solver• SI Option

10

Page 11: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Fluid Mixture Option with Phase Change

• The mixture capability in earlier versions of GFSSP does not allow phase change in any constituent of the mixture

• In liquid propulsion applications, there are situations where one of the constituents is saturated, i.e. mixture of liquid and vapor in equilibrium– For example during purging of liquid oxygen by ambient helium, a

mixture of helium, LO2 and GO2 exist

• Why is there such a limitation?– Because the energy conservation equation of the mixture is solved in

terms of temperature– For calculating phase change, energy equation for each species must

be solved in terms of enthalpy or entropy

11

Page 12: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Mathematical Formulation

• Mass Conservation– Mixture Mass – Concentration of Species

• Momentum Conservation– Mixture Momentum

• Energy Conservation– Temperature option

• Energy Conservation is formulated in terms of temperature• Applicable for gas mixture

– Enthalpy option – 1• Temperature is calculated by an iterative Newton-Raphson method

– Enthalpy option - 2• Separate Energy Equations are solved for Individual Species• Applicable for liquid-gas mixture with phase change

12

Page 13: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

13

Enthalpy Option - 1

13

Nodej = 1

mji. Node

j = 3mij.

Nodej = 2

mij.

Nodej = 4

mji.

mji.

mij.

= -

SingleFluidk = 1

SingleFluidk = 2

Fluid Mixture

Fluid Mixture

Nodei

nj

jij

nk

kkj

nj

j

nk

ki

iijkjkj

im

mMAXx

Qmh

mMAXhx

hf

f

1 1,

1 1,,

,

0,

0,

0,1

,,

i

nk

kiikiki hTphx

f

Mixture Enthalpy Equation

Temperature Equation

Temperature equation is solved iteratively adjusting Ti until right hand side of Temperature equation becomes zero

Page 14: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

14

Separate Energy Equation for Individual Species (SEEIS) – Enthalpy Option - 2

Nodej = 1

mji. Node

j = 3mij.

Nodej = 2

mij.

Nodej = 4

mji.

mji.

mij.

= -

SingleFluidk = 1

SingleFluidk = 2

Fluid Mixture

Fluid Mixture

Nodei

TermSourceTermAdvection

QQhMAXhmMAXnj

j

TermTransient

J

phm

J

phm

HES

ikikijmjkij

kiki

kiki

0,0,1

21

Page 15: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

15

Thermodynamic Properties

• Temperature and other properties of individual species are calculated from node pressure and enthalpy of the species:

ikip

ikiik

ikiik

ikiik

ikiik

hpfC

hpfK

hpf

hpf

hpfT

ik,

,

,

,

,

• The nodal properties are calculated by averaging the properties of species:

f

f

n

kikiki

n

kikiki

c

c

1

_

1

_

15

• Temperature is currently calculated by averaging based on molar concentration of species

• Alternate method of temperature calculation based on Vapor Liquid Equilibrium for multi-component, multi-phase mixture is in progress

Page 19: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Pressure Regulator Model with Forward Looking Algorithm

• In Marching Algorithm, area is guessed and adjusted only once in each time step

• Adjustment of area is calculated based on difference between calculated and desired pressure

• Area adjustment can be done by backward differencing algorithm (Schallhorn-Majumdar) or forward looking algorithm (Schallhorn-Hass)

• Schallhorn-Hass Algorithm has been implemented in GFSSP Version 602

19

Page 20: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Backward & Forward Differencing Algorithm

20

Backward Differencing Scheme

Forward Differencing Scheme

Page 21: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Application of Forward Looking Algorithm

Reference: Forward Looking Pressure Regulator Algorithm for Improved Modeling Performance with the Generalized Fluid System Simulation Program by Paul Schallhorn & Neal Hass, AIAA Paper No. 2004-3667

21

Air tank

Pressure Regulator

Ambient

Exit

Page 22: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

22

Pressure History(Schallhorn & Haas Algorithm)

Tank Pressure

Pressure downstream of regulator

Note oscillations over time

Page 23: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Fixed Flow Option

• A new branch option has been introduced to fix flowrate in a given branch

• The fixed flow branch can only be located adjacent to a Boundary Node

• For unsteady option, a history file will be needed to specify flowrate and area at all timesteps

• With this new option a user can prescribe either pressure or flowrate as boundary condition

• Flow Regulator option is also available in unsteady mode to fix flowrate in an internal branch

23

Page 24: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

24

2

m

p

System Characteristics

Pump Characteristics

Operating Point

2

m

p

System Characteristics

Pump Characteristics

Operating Point

Algorithm for Fixed Flow Option(Schallhorn)

25 where ; ; 1 10

Substituting A and C , one gets:

p A C m m A m m C where

m mm

m

Page 25: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

25

New Resistance Option – Fixed Flow

Page 26: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

26

Flowrate Area

Properties of Fixed Flow Option

Page 27: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

27

Assigned Flowrates

0 2 4 6 8 10

160

120

80

40

0

-40

TIME SECONDS

WinPlot v4.60 rc1

2:22:02PM 05/11/2011

Ex1_fixflw_2B.CSV F12 LBM/S Ex1_fixflw_2B.CSV F52 LBM/S

Results of Fixed Flow Option

Page 28: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Two-dimensional Navier-Stokes Solver

• Higher fidelity solutions are often needed that are not within the capacity of system level codes.

• GFSSP’s momentum equation has been extended to perform multi-dimensional calculation

28

12 inches

12 inches

uwall = 100 ft/sec

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

4849

4748

4647

4546

4142343527282021

40413334

39403233

26271920

38393132

25261819

24251718

44453738303123241617

1314

1213

1112

1011

910

67

56

4344

45

34

23

36372930222315168912

714 1421

613 1320

2128

2027

512

411

1219

1118

1926

1825

2835 3542

2734

2633

3441

3340

4249

4148

4047

39462532 3239

38453138243117241017310

29

18

916

815

1623

1522

2330

2229

3037

2936

3744

3643

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Side Wall

Bottom WallBottom WallBottom Wall Bottom WallBottom WallBottom Wall

Top WallTop WallTop WallTop WallTop WallTop Wall

Page 29: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

29

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

-0.4 -0.2 0 0.2 0.4 0.6 0.8 1

Dimensionless Velocity

Dim

ensi

on

less

Hei

gh

t

GFSSP Prediction (7x7 Grid)

Burggraf 's 51x51 Grid Prediction (1966)

Shear Driven Square Cavity Centerline Velocity DistributionShear Driven Square Cavity Centerline Velocity DistributionShear Driven Square Cavity Centerline Velocity Distribution

Velocity Field and Pressure Contours

Predicted Stream Traces

Page 30: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

30

S I Option

• SI Option is for input/output

• GFSSP solver works in Engineering Unit

• User Subroutine must be in Engineering Unit

Page 31: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Concluding Remarks

• GFSSP Version 6 will have additional capabilities to model:– Fluid Mixture Option with Phase Change– Pressure Regulator Model with Forward Looking Algorithm– Prescribed Flow Option– Two-dimensional Navier-Stokes Solver– SI Option

• GFSSP is available (with no cost) to all Federal Government Organizations and their Contractors

• Concepts/NREC has the license for commercial distribution to domestic and international Companies or Universities

• A process is in work to make an educational version available to all Accredited US Universities for teaching and research

31

Page 32: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

Acknowledgement

• The authors wish to acknowledge Melissa Van Dyke of NASA/MSFC and KSC’s Launch Service Program for the support of the work

32

Page 33: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

References

1. Generalized Fluid System Simulation Program - Majumdar; Alok Kumar, Bailey; John W. ; Schallhorn; Paul Alan ; Steadman; Todd E. , United States Patent No. 6,748,349, June 8, 2004

2. Majumdar, A. K., “Method and Apparatus for Predicting Unsteady Pressure and Flow Rate Distribution in a Fluid Network,” United States Patent No. US 7,542,885 B1, June 2, 2009.

3. Hass, Neal and Schallhorn, Paul, “Method of simulating flow-through area of a pressure regulator”, United States Patent No. US 7890311 ,February 15, 2011

4. Generalized Fluid System Simulation Program (Version 5) – User’s Manual by Alok Majumdar, Todd Steadman and Ric Moore (available in http://gfssp.msfc.nasa.gov/links.html )

5. Majumdar, A. K., “A Second Law Based Unstructured Finite Volume Procedure for Generalized Flow Simulation”, Paper No. AIAA 99-0934, 37th AIAA Aerospace Sciences Meeting Conference and Exhibit, January 11-14, 1999, Reno, Nevada.

33

Page 34: Generalized Fluid System Simulation Program (GFSSP) Version 6 – General Purpose Thermo-Fluid Network Analysis Software Alok Majumdar, Andre Leclair, Ric.

References

6. Majumdar, A. & Steadman, T, “Numerical Modeling of Pressurization of a Propellant Tank”, Journal of Propulsion and Power, Vol 17, No.2, March-April 2001, pp- 385-390.

7. Cross, M.F., Majumdar, A. K., Bennett, J.C., and Malla, R. B., “Modeling of Chill Down in Cryogenic Transfer Lines”, Volume 39, No. 2, March-April, 2002, pp 284-289.

8. LeClair, Andre & Majumdar, Alok, “Computational Model of the Chilldown and Propellant Loading of the Space Shuttle External Tank”, AIAA-2010-6561, 46th AIAA / ASME / SAE / ASEE Joint Propulsion Conference, July 25-28, 2010, Nashville, TN

9. Majumdar, A and Ravindran, S.S., “Numerical Prediction of Conjugate Heat Transfer in Fluid Network”, Volume 27, No. 3, May-June 2011, pp 620-630.

10. Schallhorn, Paul & Majumdar, Alok, “Implementation of Finite Volume based Navier Stokes Algorithm within General Purpose Flow Network Code”, submitted for 50th AIAA Aerospace Sciences Meeting to be held on 9-12 January, 2012 in Nashville, Tennessee.

34