validation of computational fluid dynamic simulations with ... · elements n(i,j,k), where k...

1
• typical steady state CFD simulations severely underestimate the highly dynamic processes in atmopheric pressure ion sources. • The combination of simulated Schlieren images and the BOS method is demonstrated to be a great tool for the validation of CFD simulations and the dependences on various physical parameters. • The great advantage of this setup is the straigth foreward implementation and simple operation of the experiments. CFD-Simulation: For prove of concept a simplified, rotationally symmetric model of the nebulizer was used. Boundary conditions: T_Neb = 553 K v_Neb = 3D parabolic, v_max= 2.8 m/s p_out = 1 atm Fluid properties: standard air a) laminar b) turbulent (k-ε-model with IT = 0.002, LT = 0.001 cm) Output: irregular mesh of fluid density Interpolation: Delaunay triangulation over the irregular mesh Output: regular 3D-array of fluid density (Fig. 1) Calculation of the refractive index: Refractive index n in each element of the array from the density ρ as determined with the Gladstone-Dale equation: with G = 0.23e-3 m^3/kg (Gladstone-Dale constant [4]) Output: regular 3D-array of the refractive index distribution Light deflection: As light travels through a continuous medium with a spatial gradient of refractive index, it is deflected. If the gradient is small, the deflection angle is given by the integration along the line-of- sight (projection along z-axis): For the numerical calculation of the deflection angle (in a 3D-array with elements n(i,j,k), where k indicates axis of projection) a discretization (dz->Δz) of the integral is used: Validation: Contrasting juxtaposition of the simulated Schlieren image and the experementally measured Background Oriented Schlieren (BOS) pictures (Fig.: 2) Validation of Computational Fluid Dynamic Simulations with Background Oriented Schlieren Technique Alexander Haack; Sebastian Klopotowski; Walter Wissdorf; Thorsten Benter Conclusions Literature Ackknowledgement Introduction Methods From CFD to Synthetic Schlieren Images Experiment vs. Simulation Outline 1.6 L/min 2.5 L/min 2.0 L/min 3.0 L/min Deflection Angle Short Time Exposure "Low Flow" Conditions "High Flow" Conditions Neb. Flow Drygas Flow Results & Discussion A critically assessed and experimentally validated numerical AP ion source model opens a gateway to a whole new design approach, i.e., from trial and error towards model driven engineering. Within such models, fluid dynamics plays a major role due to several substantial gas flows present in an API source. The validity and applicability of any CFD model along with the required specific model assumptions generally need to be verified experimentally. Previous research: •A digital model of an atmospheric pressure ion source was generated using Computational Fluid Dynamics (CFD) in collaboration with the RWTH Aachen (University of Aachen, Germany). This model was further validated using Particle Image Velocimetry (PIV) [3]. • Since PIV as validation method is experimentally and also cost-wise rather demanding, the community is seeking for alternatives. Last year, we presented the principle application of the Background Oriented Schlieren Method (BOS)[7] to visualize the hot gas flow in an Bruker Multi Purpouse Ion Source (MPIS) [2]. Our approach: • The advantages of the Background Oriented Schlieren method as a supporting tool for validation purposes are demonstrated. The BOS apparatus used shows the refractive index gradient caused by the temperature differences between heated gas flows and the cold background gas. • The results of fluid dynamic calculations are not directly comparable with Schlieren images. Howerver, from these datas synthetic Schlieren images can be calculated. [6] Summary: • Although BOS generates much less data as PIV, it is nevertheless capable to determine gross deviations from model and experiment. • Images with short exposure times show even the turbulent flow in atmospheric pressure ion sources. Ion Source: - Multiple Purpose Ion Source (MPIS) BOS: - Camera: Canon EOS M - Objective: EF-M 18-55mm f/3,5-5,6 IS STM - Aperture: 29, - ISO: 400 - Pattern: 8x10e8 Dots/m^2, Dot size 0.3 mm CFD: - COMSOL Multiphysics© (V 4.4) COMSOL, Inc. - ANSYS© CFX-12.0 Solver. ANSYS, Inc. Calculation & Plotting: - Python 2.7.5, http://www.python.org - NumPy 1.7.1, http://www.numpy.org - Matplotlib 1.2.1, http://www.matplotlib.org - scipy 0.12.0, http://www.scipy.org - OpenPIV 1.0.7, http://www.openpiv.net Financial support is gratefully acknowledged to the German Research council under contract: DFG (BE2124/6-1 and BE2124/4-1) [1] Alexander Haack; Validierung fluiddynamischer Simulationen mit Hilfe der Schlierenfotografie; Bachelor Thesis, University of Wuppertal, 2014. [2] Klopotowski, S.; Haack, A.; Benter, T.: Visualization and optimization of the fluid dynamics in high-flow atmospheric pressure ion sources, using the Background Oriented Schlieren method (BOS), Proceedings of the 61st ASMS Conference, Minneapolis, USA, 2013. [3] Poehler, T.; Kunte, R.; Hoenen, H.; Jeschke, P.; Wissdorf, W.; Brockmann, K.; Benter, T., Numerical simulation and experimental validation of the three- dimensional flow field and relative analyte concentration distribution in an atmospheric pressure ion source. Journal of the American Society for Mass Spectrometry, 22(11):2061-2069, 2011. [4] Venkatakrishnan, L.; Meier, G.E.A.: Density measurements using the Background Oriented Schlieren technique. Experiments in Fluids, 37(2):237–247, April 2004, ISSN 0723-4864. [5] Liepmann, H.W.; Roshko, A.: Elements of Gasdynamics. John Wiley, New York, NY, USA, 1957. [6] Yates, L.A.: Interferograms, schlieren, and shadowgraphs constructed from real-and ideal-gas, two-and three-dimensional computed flowfields. NASA STI/Recon Technical Report N, 1992. [7] Richard, H.; Raffel, M.; Rein, M.; Kompenhans, J.; Meier, G.E.A: Demonstration of the applicability of a Background Oriented Schlieren (BOS) method. In: 10th International Symposium on Applications of Laser Techniques to Fluid Mechanics, 2000. Synthetic Schlieren images • Schlieren images were successfully generated from the results of fluid-dynamic calculations, either from a simplified model or at true experimental conditions. • In all probiability in all CFD simulations the application of a turbulence model is necessary. • The long time exposure gives only an averaged picture. In reality turbulences and oscillations strongly affect the fluid flow. These turbulence are not visible in the simulated Schlieren images since an equilibrium state is calculated from the CFD-solver. Experiment vs. Simulation • The dependence of the nebulizer deflection angle from the drygas flow is obvious in both the BOS and in the synthetic Schlieren images. • The deflection angles of the simulated/synthetic Schlieren images do not match. The calculated angles are larger than experimental values for the same drygas flow. However both data sets converge at higher drygas flows. Known issues • The actual Drygas flow is coupled to the capillary gas flow (0.8 L/min in the experiment) into the mass spectrometer. Since this interaction is not treated properly in the simulation the actual drygas flow between the simulation and the experiment may differ. • Since the capillary inlet is located behind a sprayshield the actual capillary gas flow could not be observed using PIV for validation. • In the setup used the drygas heats the glas capillary indirectly. Therefore the drygas temperature affects the capillary gas flow, thus varies with different drygas temperatures. • Because of experimental limitations, the validation by PIV was only performed at room temperature. Standart atmospheric pressure ion source operate at temperatures 100 to 200 degrees above RT. This renders the a the validation of the CFD model. Fig. 1: Interpolated density field from the laminar (left) and turbulent (right) simulation conditions Fig. 2: Synthetic (simulated) Schlieren images for laminar (top left) and turbulent (top right) fluid flow. The picture at the bottom right corner shows the experimentally measured BOS image CFD-Simulation Fig. 4: Undisturbed Nebulizer gas flow. The gas temperature was set to 206 °C (measured 183 °C); fluid flow: 1.8 bar corresponding to 1.1 L/min Fig. 5: Undisturbed drygas flow. The temperature was set to 350 °C (measured 120 °C); fluid flow: 2.5 L/min, the net flow is 1.6 L/min , the capillary sucks approximately 0.85 L/min Fig. 3: Interpolated density field from the CFD simulation of the MPIS [3]. Nebulizer pressure: 1.8 bar (1.1 L/min fluid flow); gas temperatur 183 °C; drygas flow: 1.6 L/min at a gas temperature of 131 °C • Interaction of both gas flows inside MPIS • BOS and synthetic Schlieren images with constant Nebulizer pressure • The CFD model was already validated with PIV [3] Fig. 6: Measured and simulated Schlieren Images at different drygas flows, nebulizer pressure at 1.8 bar. The deflection of the Nebulizer flow by the drygas is clearly visible. left row: experiment; right row: synthetic Schlieren images α = 8° α = 35° α = 50° α = 60° α = 40° α = 60° Fig. 7: Dependence of the deflection angle α form the drygas flow. The data form the simulations are shown as red circles, the BOS-pictures with blue crosses. Fig. 8: Not averaged stream interactions for two diffrent drygas flows at 131 °C. Nebulizer pressure was constantly at 1.8 bar and a temperature of 183 °C • Generally, simulations and measurements show only averaged density fields. The exposure time is about half a second. With the help of a flash light, exposure times down to miliseconds are achiveble. • The turbulent structure of the interacting gas flows becomes clearly visible in the "snapshots". • The complex structures (e.g. vortices) are not stable. Within short periods, the pattern change rapidly and dramatically • These highly visible transient patterns are not visible in the BOS-pictures with longer exposure times. 2.0 L/min 2.5 L/min Fig. 9: Not averaged stream interactions, with 3.8 L/min drygas flow at 131°C and a Nebulizer pressure of 5.7 bar at 183 °C. Both images are taken with a time diffenrence of less than 30 seconds • There in an offset between synthetic Schlieren images and BOS data of approximitly 0.5 L/min. • There are inaccuracies in the determination of the capillary flow. The mass flow is determined by the temperature of the capillary, which in turn depends on drygas temperature and flow. Outlook • An improved experimental setup and workflow may give new insights into the highly dynamic processes in atmospheric pressure ion sources. • Moving pictures are the next step for a better understanding of the processes taking place inside the ion source. • It is envisioned to visualize the interaction of the flows from a different angle. A simulation of such Schlieren images is straigth forward, the experimental setup however is much more difficult. With a comparison from two (perpendicular) angles, a validation could be even more accurate.

Upload: others

Post on 01-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Validation of Computational Fluid Dynamic Simulations with ... · elements n(i,j,k), where k indicates axis of projection) a discretization (dz->Δz) of the integral is used: Validation:

• typical steady state CFD simulations severelyunderestimate the highly dynamic processes inatmopheric pressure ion sources.

• The combination of simulated Schlieren images andthe BOS method is demonstrated to be a great toolfor the validation of CFD simulations and thedependences on various physical parameters.

• The great advantage of this setup is the straigthforeward implementation and simple operation ofthe experiments.

CFD-Simulation:

For prove of concept a simplified,rotationally symmetric model of thenebulizer was used.

Boundary conditions:

T_Neb = 553 K

v_Neb = 3D parabolic, v_max= 2.8 m/s

p_out = 1 atm

Fluid properties:

standard air

a) laminar

b) turbulent (k-ε-model with IT = 0.002,LT = 0.001 cm)

Output: irregular mesh of fluid density

Interpolation:

Delaunay triangulation over the irregularmesh

Output: regular 3D-array of fluid density(Fig. 1)

Calculation of the refractive index:

Refractive index n in each element of thearray from the density ρ as determinedwith the Gladstone-Dale equation:

with G = 0.23e-3 m^3/kg (Gladstone-Daleconstant [4])

Output: regular 3D-array of therefractive index distribution

Light deflection:

As light travels through a continuousmedium with a spatial gradient ofrefractive index, it is deflected. If thegradient is small, the deflection angle isgiven by the integration along the line-of-sight (projection along z-axis):

For the numerical calculation of thedeflection angle (in a 3D-array withelements n(i,j,k), where k indicates axis ofprojection) a discretization (dz->Δz) of theintegral is used:

Validation:

Contrasting juxtaposition of thesimulated Schlieren image and theexperementally measuredBackground Oriented Schlieren(BOS) pictures (Fig.: 2)

Validation of Computational Fluid Dynamic Simulations with

Background Oriented Schlieren Technique

Alexander Haack; Sebastian Klopotowski; Walter Wissdorf; Thorsten Benter

Conclusions

Literature

Ackknowledgement

Introduction

Methods

From CFD to Synthetic Schlieren Images

Experiment vs. SimulationOutline

1.6 L/min

2.5 L/min

2.0 L/min

3.0 L/min

Deflection Angle

Short Time Exposure

"Low Flow" Conditions "High Flow" Conditions

Neb. Flow

Drygas Flow

Results & Discussion

A critically assessed and experimentally validatednumerical AP ion source model opens a gateway to awhole new design approach, i.e., from trial and errortowards model driven engineering. Within suchmodels, fluid dynamics plays a major role due toseveral substantial gas flows present in an APIsource.

The validity and applicability of any CFD model alongwith the required specific model assumptionsgenerally need to be verified experimentally.

Previous research:

• A digital model of an atmospheric pressure ionsource was generated using Computational FluidDynamics (CFD) in collaboration with the RWTHAachen (University of Aachen, Germany). This modelwas further validated using Particle ImageVelocimetry (PIV) [3].

• Since PIV as validation method is experimentally andalso cost-wise rather demanding, the community isseeking for alternatives. Last year, we presented theprinciple application of the Background OrientedSchlieren Method (BOS)[7] to visualize the hot gasflow in an Bruker Multi Purpouse Ion Source (MPIS)[2].

Our approach:

• The advantages of the Background OrientedSchlieren method as a supporting tool for validationpurposes are demonstrated. The BOS apparatus usedshows the refractive index gradient caused by thetemperature differences between heated gas flowsand the cold background gas.

• The results of fluid dynamic calculations are notdirectly comparable with Schlieren images. Howerver,from these datas synthetic Schlieren images can becalculated. [6]

Summary:

• Although BOS generates much less data as PIV, it isnevertheless capable to determine gross deviationsfrom model and experiment.

• Images with short exposure times show even theturbulent flow in atmospheric pressure ion sources.

Ion Source:

- Multiple Purpose Ion Source (MPIS)

BOS:

- Camera: Canon EOS M

- Objective: EF-M 18-55mm f/3,5-5,6 IS STM

- Aperture: 29, - ISO: 400

- Pattern: 8x10e8 Dots/m^2, Dot size 0.3 mm

CFD:

- COMSOL Multiphysics© (V 4.4) COMSOL, Inc.

- ANSYS© CFX-12.0 Solver. ANSYS, Inc.

Calculation & Plotting:

- Python 2.7.5, http://www.python.org

- NumPy 1.7.1, http://www.numpy.org

- Matplotlib 1.2.1, http://www.matplotlib.org

- scipy 0.12.0, http://www.scipy.org

- OpenPIV 1.0.7, http://www.openpiv.net

Financial support is gratefully acknowledged to theGerman Research council under contract:

DFG (BE2124/6-1 and BE2124/4-1)

[1] Alexander Haack; Validierung fluiddynamischerSimulationen mit Hilfe der Schlierenfotografie;Bachelor Thesis, University of Wuppertal, 2014.

[2] Klopotowski, S.; Haack, A.; Benter, T.: Visualizationand optimization of the fluid dynamics in high-flowatmospheric pressure ion sources, using the BackgroundOriented Schlieren method (BOS), Proceedings of the61st ASMS Conference, Minneapolis, USA, 2013.

[3] Poehler, T.; Kunte, R.; Hoenen, H.; Jeschke, P.;Wissdorf, W.; Brockmann, K.; Benter, T., Numericalsimulation and experimental validation of the three-dimensional flow field and relative analyteconcentration distribution in an atmospheric pressureion source. Journal of the American Society for MassSpectrometry, 22(11):2061-2069, 2011.

[4] Venkatakrishnan, L.; Meier, G.E.A.: Densitymeasurements using the Background OrientedSchlieren technique. Experiments in Fluids,37(2):237–247, April 2004, ISSN 0723-4864.

[5] Liepmann, H.W.; Roshko, A.: Elements ofGasdynamics. John Wiley, New York, NY, USA, 1957.

[6] Yates, L.A.: Interferograms, schlieren, andshadowgraphs constructed from real-and ideal-gas,two-and three-dimensional computed flowfields. NASASTI/Recon Technical Report N, 1992.

[7] Richard, H.; Raffel, M.; Rein, M.; Kompenhans, J.;Meier, G.E.A: Demonstration of the applicability of aBackground Oriented Schlieren (BOS) method. In: 10thInternational Symposium on Applications of LaserTechniques to Fluid Mechanics, 2000.

Synthetic Schlieren images

• Schlieren images were successfully generatedfrom the results of fluid-dynamic calculations,either from a simplified model or at trueexperimental conditions.

• In all probiability in all CFD simulations theapplication of a turbulence model is necessary.

• The long time exposure gives only an averagedpicture. In reality turbulences and oscillationsstrongly affect the fluid flow. These turbulenceare not visible in the simulated Schlieren imagessince an equilibrium state is calculated from theCFD-solver.

Experiment vs. Simulation

• The dependence of the nebulizer deflectionangle from the drygas flow is obvious in both theBOS and in the synthetic Schlieren images.

• The deflection angles of the simulated/syntheticSchlieren images do not match. The calculatedangles are larger than experimental values forthe same drygas flow. However both data setsconverge at higher drygas flows.

Known issues

• The actual Drygas flow is coupled to the capillarygas flow (0.8 L/min in the experiment) into themass spectrometer. Since this interaction is nottreated properly in the simulation the actualdrygas flow between the simulation and theexperiment may differ.

• Since the capillary inlet is located behind asprayshield the actual capillary gas flow could notbe observed using PIV for validation.

• In the setup used the drygas heats the glascapillary indirectly. Therefore the drygastemperature affects the capillary gas flow, thusvaries with different drygas temperatures.

• Because of experimental limitations, thevalidation by PIV was only performed at roomtemperature. Standart atmospheric pressure ionsource operate at temperatures 100 to 200degrees above RT. This renders the a thevalidation of the CFD model.

Fig. 1: Interpolated density field from thelaminar (left) and turbulent (right)simulation conditions

Fig. 2: Synthetic(simulated) Schlierenimages for laminar(top left) andturbulent (top right)fluid flow. The pictureat the bottom rightcorner shows theexperimentallymeasured BOS image

CFD­Simulation

Fig. 4: Undisturbed Nebulizer gas flow. Thegas temperature was set to 206 °C(measured 183 °C); fluid flow: 1.8 barcorresponding to 1.1 L/min

Fig. 5: Undisturbed drygas flow. Thetemperature was set to 350 °C (measured120 °C); fluid flow: 2.5 L/min, the net flow is1.6 L/min , the capillary sucks approximately0.85 L/min

Fig. 3: Interpolated density field from theCFD simulation of the MPIS [3]. Nebulizerpressure: 1.8 bar (1.1 L/min fluid flow); gastemperatur 183 °C; drygas flow: 1.6 L/min ata gas temperature of 131 °C

• Interaction of bothgas flows insideMPIS

• BOS and syntheticSchlieren imageswith constantNebulizer pressure

• The CFD model wasalready validatedwith PIV [3]

Fig. 6: Measured andsimulated SchlierenImages at different drygasflows, nebulizer pressureat 1.8 bar. The deflectionof the Nebulizer flow bythe drygas is clearly visible.left row: experiment; rightrow: synthetic Schlierenimages

α = 8°

α = 35°

α = 50°

α = 60°

α = 40°

α = 60°

Fig. 7: Dependence of the deflection angle α formthe drygas flow. The data form the simulations areshown as red circles, the BOS-pictures with bluecrosses.

Fig. 8: Not averaged stream interactions for two diffrent drygasflows at 131 °C. Nebulizer pressure was constantly at 1.8 bar anda temperature of 183 °C

• Generally, simulations and measurements show only averaged density fields.The exposure time is about half a second. With the help of a flash light,exposure times down to miliseconds are achiveble.

• The turbulent structure of the interacting gas flows becomes clearly visible inthe "snapshots".

• The complex structures (e.g. vortices) are not stable. Within short periods,the pattern change rapidly and dramatically

• These highly visible transient patterns are not visible in the BOS-pictures withlonger exposure times.

2.0 L/min 2.5 L/min

Fig. 9: Not averaged stream interactions, with 3.8 L/min drygasflow at 131°C and a Nebulizer pressure of 5.7 bar at 183 °C. Bothimages are taken with a time diffenrence of less than 30 seconds

• There in an offset between synthetic Schlierenimages and BOS data of approximitly 0.5 L/min.

• There are inaccuracies in the determination of thecapillary flow. The mass flow is determined by thetemperature of the capillary, which in turn dependson drygas temperature and flow.

Outlook• An improved experimental setup and workflow may

give new insights into the highly dynamic processes inatmospheric pressure ion sources.

• Moving pictures are the next step for a betterunderstanding of the processes taking place insidethe ion source.

• It is envisioned to visualize the interaction of theflows from a different angle. A simulation of suchSchlieren images is straigth forward, theexperimental setup however is much more difficult.With a comparison from two (perpendicular) angles, avalidation could be even more accurate.