SlideShare a Scribd company logo
Using HPC To Advance
Water Desalination By
Electrodialysis
Clara Druzgalski
Department of Mechanical Engineering
Stanford University
Water Desalination
Distillation
Reverse
Osmosis
Electrodialysis
Electrodialysis: Industrial
Electrodialysis water
treatment plants in
Barcelona, Spain produce
257 million liters of water per
day.
Abrera (2007)
200 million liters
Sant Boi del Llobregat
(2009) 57 million liters
Credit: Sant Boi del Llobregat
Electrodialysis: Applications
GrayWhite Black
Portable water
treatment
Salt production Biomedical analysis:
lab-on-a-chip devices
Electrodialysis
Model Problem
Channel Height 10-6 meters
Smallest
Feature
10-9 meters
Applied voltage 1-3 Volts
Example Dimensional Values
Model Problem: Experiments
Well-described
by 1D theory
Electroconvective
chaos: 1D theory
no longer predictive
“
Should we use a commercial
code like Comsol Multiphysics
or build a high performance
code from scratch?
?
Commercial Software
 Commercial codes often use artificial
smoothening for numerical robustness.
This dissipates small structures
generated by turbulent and chaotic fluid
motion.
 Commerical codes must be general
enough to handle a wide variety of
problems, but this limits the user’s ability
to take advantage of crucial time-saving
algorithms
Commercial Software
Custom HPC Software
EKaos a high performance direct
numerical simulation code that
simulates electrokinetic chaos.
  No artificial smoothening
 Over 100 times faster than
Comsol on a single node in
2D.
EKaos
2D EKaos Simulation
Concentration
Charge Density
Experimental Observation
Joeri C. de Valença, R.
Martijn Wagterveld,
Rob G. H. Lammertink,
and Peichun Amy Tsai
Phys. Rev. E 92,
031003(R) – Published
8 September 2015
Simulation vs. Experiment
Experiment:
De Valenca, et. al.
Simulation:
Davidson, et. al.
Submitted to
Scientific Reports
2D EKaos: Current-Voltage
16
2D EKaos: Current-Voltage
Qualitative matching with experiment
17
3D EKaos Simulation
165 million mesh points
That’s over 1 billion degrees of freedom
11 terabytes of data
Per simulation
100,000 time steps
To reach converged statistics
Each 3D EKaos
simulation…
“
Why is a simulation of just one small
section of a desalination channel so
computationally expensive?
?
The computational cost is
determined by the range of relevant
length and time scales that must be
resolved.
Algorithm
Details
The mathematical details
behind a high performance
code
Governing Equations
Species	Conserva.on:	
Navier-Stokes:	
Gauss’s	Law:	
c+ Concentration of cation
c- Concentration of anion
ϕ Electric potential
u Velocity vector
P Pressure 22
y
x
Governing Equations
Species	Conserva.on:	
Navier-Stokes:	
Gauss’s	Law:	
23
y
x	
Reservoir:	
Boundary	Condi.ons	
Membrane:	
Periodic	in	x	and	z	direc.ons
Dimensionless Parameters
Parameter Description Range Value
ϵ Screening length, EDL size 10-6 – 10-3 10-3
Δϕ Applied voltage 20-120 120
κ Electrohydrodynamic coupling const. O(1) 0.5
c0
+ Cation concentration at membrane >1 2
Sc Schmidt number 103 103
24
Spatial Discretization
25
  EKaos: 2D and 3D Direct numerical
simulation (DNS)
 3D has over 165 million spatial grid points
 Staggered mesh configuration
 Non-uniform mesh is used in the
membrane-normal direction to handle
sharp gradients
 Discretization: 2nd order central finite
difference scheme
Time Integration
Species	Conserva.on	
Navier-Stokes	
Gauss’s	Law	
26
Time Integration
Species	Conserva.on	
2nd	Order	Implicit	Scheme	
Semi-Implicit:	1st	order	
27
Time Integration
Itera.ve	Algorithm	
δ-form	
Lineariza.on	
28
Time Integration
Itera.ve	Algorithm	
δ-form	
Lineariza.on	
29
Time Integration
Equa.on	in	δ-form	
Remove	Direc.onal	Coupling	
Move	non-s.ff	terms	to	leQ	hand	side	
30
Time Integration
Equa.on	in	δ-form	
Remove	Direc.onal	Coupling	
Move	non-s.ff	terms	to	leQ	hand	side	
31
Time Integration
Equa.on	in	δ-form	
Analy.cal	subs.tu.on	using	Gauss’s	Law	
Remove	Direc.onal	Coupling
Time Integration
Final	Equa.on	
•  LeQ	hand	side	operator	is	linear	and	now	only	involves	local	
coupling	between	δc+	and	δc-	
•  We	need	to	solve	for	u*,	v*,	w*,	P*,	and	ϕ*	at	each	
itera.on	
33
Pseudo-spectral Solver
Conserva.on	of	momentum	
Pressure	equa.on	
Gauss’s	Law	
34
By taking advantage of the geometry
and using physical insight we were able
to:
1. Design operators that reduced the
matrix bandwidth
2. Use fast and robust math libraries
such as LAPACK and FFTW
3.  Reduce communication cost across
processors by designing the
algorithm with parallelization in mind.
Conclusions
 Developed EKaos: a parallel 3D DNS code to
simulate electroconvective chaos.
 Developed a numerical algorithm for efficiently
solving the coupled Poisson-Nernst-Planck and
Navier-Stokes equations
 Improved prediction of mean current density that
has been observed in experiments
 Comparison of 2D and 3D simulations show
qualitative similarities, but quantitative differences
 Electroconvective chaos can generate structures
similar to turbulence.
36
Thanks!
Any questions?
You can find me at:
cdruzgal@stanford.edu

More Related Content

PPTX
Nonlinear dynamics of cable nets - An engineering course
Isabella Vassilopoulou
 
PPTX
CEM Workshop Lectures (5/11): Best Practices in RCS Prediction
Abhishek Jain
 
PPTX
CEM Workshop Lectures (6/11): FVTD Method in CEM
Abhishek Jain
 
PPT
ELECTRODIALYSIS
Poonam Singh
 
PPTX
Collids by shashi bhusan rath
Shashi Rath
 
PPT
Osmosis 2
clairebloom
 
PPT
In Situ Leaching, ISL
Lewon Kararas
 
PPTX
Tropical Rainforest Productivity and Nutrient Cycling
World Forestry Center
 
Nonlinear dynamics of cable nets - An engineering course
Isabella Vassilopoulou
 
CEM Workshop Lectures (5/11): Best Practices in RCS Prediction
Abhishek Jain
 
CEM Workshop Lectures (6/11): FVTD Method in CEM
Abhishek Jain
 
ELECTRODIALYSIS
Poonam Singh
 
Collids by shashi bhusan rath
Shashi Rath
 
Osmosis 2
clairebloom
 
In Situ Leaching, ISL
Lewon Kararas
 
Tropical Rainforest Productivity and Nutrient Cycling
World Forestry Center
 

Viewers also liked (6)

PPTX
Microextraction
Anvita Bharati
 
PPT
Unit 1 water_technology
Kushaal Singla
 
PPTX
Liquid-Liquid Extraction
Koch Modular Process Systems, LLC.
 
PPTX
Crystallization of sugar
Ammar Babar
 
PPT
Liquid liquid extraction and flocculation
vikash_94
 
PPTX
Shock - Pathophysiology / Types & Management
Uthamalingam Murali
 
Microextraction
Anvita Bharati
 
Unit 1 water_technology
Kushaal Singla
 
Liquid-Liquid Extraction
Koch Modular Process Systems, LLC.
 
Crystallization of sugar
Ammar Babar
 
Liquid liquid extraction and flocculation
vikash_94
 
Shock - Pathophysiology / Types & Management
Uthamalingam Murali
 
Ad

Similar to Using HPC to Advance Water Desalination By Electrodialysis (11)

PPTX
Electrodialysis1
W. M. Aliff Afiq W. M. Azhar
 
PDF
EvolutionEDI_AWT06
Chris Gallagher
 
PPTX
Electro Dialysis ED
ASharma44
 
PPTX
UCI conference ppt
Isabelle Kwan
 
PPTX
ELECTRODIALYSIS(2024) ppt for electrodialysis.pptx
AyushSingh142905
 
PPTX
Electrodialysis
Tauseef Hassan
 
PDF
635Project
Yang He
 
PDF
Introduction to Electrocoagulation - water treatment
AbdelRahman Kamal
 
PDF
ELECTRO DIALYSIS FOR THE DESALINATION OF BACKWATERS IN KERALA
civej
 
PDF
Introduction to Mass Transfer Operations (4 of 5)
Chemical Engineering Guy
 
PPT
13 membranes
safwan patel
 
EvolutionEDI_AWT06
Chris Gallagher
 
Electro Dialysis ED
ASharma44
 
UCI conference ppt
Isabelle Kwan
 
ELECTRODIALYSIS(2024) ppt for electrodialysis.pptx
AyushSingh142905
 
Electrodialysis
Tauseef Hassan
 
635Project
Yang He
 
Introduction to Electrocoagulation - water treatment
AbdelRahman Kamal
 
ELECTRO DIALYSIS FOR THE DESALINATION OF BACKWATERS IN KERALA
civej
 
Introduction to Mass Transfer Operations (4 of 5)
Chemical Engineering Guy
 
13 membranes
safwan patel
 
Ad

More from inside-BigData.com (20)

PDF
Major Market Shifts in IT
inside-BigData.com
 
PDF
Preparing to program Aurora at Exascale - Early experiences and future direct...
inside-BigData.com
 
PPTX
Transforming Private 5G Networks
inside-BigData.com
 
PDF
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
inside-BigData.com
 
PDF
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
inside-BigData.com
 
PDF
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
inside-BigData.com
 
PDF
HPC Impact: EDA Telemetry Neural Networks
inside-BigData.com
 
PDF
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
inside-BigData.com
 
PDF
Machine Learning for Weather Forecasts
inside-BigData.com
 
PPTX
HPC AI Advisory Council Update
inside-BigData.com
 
PDF
Fugaku Supercomputer joins fight against COVID-19
inside-BigData.com
 
PDF
Energy Efficient Computing using Dynamic Tuning
inside-BigData.com
 
PDF
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
inside-BigData.com
 
PDF
State of ARM-based HPC
inside-BigData.com
 
PDF
Versal Premium ACAP for Network and Cloud Acceleration
inside-BigData.com
 
PDF
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
inside-BigData.com
 
PDF
Scaling TCO in a Post Moore's Era
inside-BigData.com
 
PDF
CUDA-Python and RAPIDS for blazing fast scientific computing
inside-BigData.com
 
PDF
Introducing HPC with a Raspberry Pi Cluster
inside-BigData.com
 
PDF
Overview of HPC Interconnects
inside-BigData.com
 
Major Market Shifts in IT
inside-BigData.com
 
Preparing to program Aurora at Exascale - Early experiences and future direct...
inside-BigData.com
 
Transforming Private 5G Networks
inside-BigData.com
 
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
inside-BigData.com
 
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
inside-BigData.com
 
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
inside-BigData.com
 
HPC Impact: EDA Telemetry Neural Networks
inside-BigData.com
 
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
inside-BigData.com
 
Machine Learning for Weather Forecasts
inside-BigData.com
 
HPC AI Advisory Council Update
inside-BigData.com
 
Fugaku Supercomputer joins fight against COVID-19
inside-BigData.com
 
Energy Efficient Computing using Dynamic Tuning
inside-BigData.com
 
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
inside-BigData.com
 
State of ARM-based HPC
inside-BigData.com
 
Versal Premium ACAP for Network and Cloud Acceleration
inside-BigData.com
 
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
inside-BigData.com
 
Scaling TCO in a Post Moore's Era
inside-BigData.com
 
CUDA-Python and RAPIDS for blazing fast scientific computing
inside-BigData.com
 
Introducing HPC with a Raspberry Pi Cluster
inside-BigData.com
 
Overview of HPC Interconnects
inside-BigData.com
 

Recently uploaded (20)

PDF
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Software Development Company | KodekX
KodekX
 
DOCX
Top AI API Alternatives to OpenAI: A Side-by-Side Breakdown
vilush
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
NewMind AI Monthly Chronicles - July 2025
NewMind AI
 
PDF
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Enable Enterprise-Ready Security on IBM i Systems.pdf
Precisely
 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Doc9.....................................
SofiaCollazos
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
This slide provides an overview Technology
mineshkharadi333
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Software Development Company | KodekX
KodekX
 
Top AI API Alternatives to OpenAI: A Side-by-Side Breakdown
vilush
 
Software Development Methodologies in 2025
KodekX
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
NewMind AI Monthly Chronicles - July 2025
NewMind AI
 
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Enable Enterprise-Ready Security on IBM i Systems.pdf
Precisely
 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 

Using HPC to Advance Water Desalination By Electrodialysis