SlideShare a Scribd company logo
1 of 24
GEON-HONG KIM
ML & CFD
NINANO COMPANY INC.
GEON-HONG KIM
This work has been conducted with support
of Hyundai Heavy Industries Co., Ltd. and
NINANO COMPANY Inc.
ACKNOWLEDGE
GEON-HONG IS WELL.
Engineer, Ph.D.
GEON-HONG KIM
2018.12.01 - Present Technical Director, NINANO
COMPANY
2018.10.01 – 2019.07.31 Parental Leave (HHI)
2018.01.01 – Present Engineer(Senior), HHI
2014.01.01 – 2018.12.31 Engineer, HHI
2013.07.01 – 2013.12.31 Engineer(Junior), HHI
How to combine the Machine
Learning with the computational fluid
dynamics
Idea Description
Computational Results of combining
the ML and CFD
ML-CFD Results
Today’s
Contents
NC IdeaDescription
In this section, I will briefly discuss the concept of techniques that
combine machine learning and computational fluid dynamics.NINANO
COMPANY
Inc.
For a hull shape design
and optimization…
• The hull design is a very user-dependent task.
• Experienced designer VS Junior designer?
• What if the experienced designer retires?
• Designing 3D hull shapes based on the 2D lines
plan
• Difficult to parametrize the lines
• Almost impossible to uniquely define hull shapes
using the ship parameters (LWL, B, D, CB etc.)
No human designer any longer Parameter-FREE Optimization
User Dependency Difficult to Parameterize
For a hull shape design
and optimization…
User Dependency Difficult to Parameterize
◀︎ They will work for us.
Veteran designer will live
in a machine forever…
Go away,
human.
Employing the concept of the
Immersed Boundary Method (IBM)
- Especially, the cut-cell method
Pixelated Volume
Fraction
Machine Learning
Optimal Hull Form
ML-CFD
Framework
consists of,
 Geometry Handler
⎼ automatically generate and modify the
geometry
 Volume Fraction Evaluator
⎼ Make a volume fraction array of a
given geometry in the Design Space
 CFD Simulator
⎼ generate mesh, run simulations, and
tell the results to the ML-CFD
Framework
 ML Framework for Prediction
⎼ Volume fraction as an input, CFD
results as a target
How to Solve Ax = b ?
Need to change the MIND
The solution vector x is NOT unknown value any longer.
Find an accurate and
efficient way to
establish A
Prepare as many
clean x and b
as possible
Traditional
CFD
With the development of
computer resources and
models, more efficient and
accurate analysis is
possible even for more
complex flows.
Data
Driven
Modeling
By focusing on abundant data
and analyzing their
correlations, we can
accurately predict the
outcome of newly given
inputs.
Linearization
Discretization
Limiter
Simplification
Abundant Data
Data Cleansing
Overfitting
Regularization
What is the Role of CFD?
Teaches the machine, Validates the AI
Key of System Consistency
Run simulations with various shapes under the SAME
CONDITIONS and teaches the results to the ML
framework
so that it can build more accurate model.
Cost-effective Maintenance Consistency
A machine works 24/7 (for me).
It selects optimal candidates.
All I have to do is to choose the Best.
And I earn the money for it.
I have a
dream
Work Flow : ML-CFD
To make a machine work for me
Volume Fraction
Prepare the INPUT data for
machine learning
CFD Simulations
Estimate the performances and
prepare TARGET data for the ML
Machine Learning
Build a ML model and
predict the performances
Geometry Handler
Automatically update and
manipulate the geometry
Reinforced
LearningKeep learning and updating the
ML model for accurate prediction
ComputationalMethods
To prove the concept, we selected 2D cylinder cases. Run CFD
simulations to estimate the drag coefficients, which is target data.
The volume fractions of each shape was evaluated and given to the
ML framework as an input. A part of the simulated results has been
evaluated the model.
NCNINANO
COMPANY
Inc.
We chose
2D cylinders
for simplicity
Proof-of-Concept
14
Elliptic and diamond cylinders with aspect ratio from 0.5 to 2
have been selected for PoC. The drag coefficients were
estimated at the Reynolds number of about 1E5, which is
close to a critical Re number for a circular cylinder.
Elliptic
AR = 2
AoA = 0.0 deg
Diamond
AR = 0.5
AoA = 0.0 deg
Diamond
AR = 2.0
AoA = 15.0 deg
Computational Fluid Dynamics
Estimate input data, the drag coefficients numerically
Input a and b - generate the geometry data
Run blockMesh to generate mesh on ¼
plane
Run mirrorMesh about x and y axis
Run a simulation
Estimate the drag coefficients
RUNAUTOMATICALLY
(Idonotwork)
0.0
0.00.0 0.0
0.0
0.0
Estimation of Volume Fraction
Estimate the volume fraction by means of a cut-cell method, introduced at the Immersed Boundary Method
0.0 0.0 0.0
0.0 0.25 0.75
0.0 0.5 1.0
0.0
import numpy as np
# for i in range(0, case_num):
# The vf_array looks like a
# pixelated picture
vf_array[i] = [
0.0, 0.0, 0.0 , 0.0,
0.0, 0.5, 0.25, 0.0,
0.0, 1.0, 0.75, 0.0,
0.0, 0.0, 0.0 , 0.0]
input = np.array(vf_array)
# The vf_array might be a 2D array,
# i.e., its shape can be (4,4)
#
# input.shape is (case_num, 4, 4)
Machine Learning
By using the input (vf array) and target (drag coefficients), we can build a simple ML model
Total
175
cases
Train
140
cases
35
case
s
activation=‘relu’
two Dense layers
Build a Sequential model
optimizer=‘rmsprop’
loss = ‘mse’
metric = [‘mae’]
Fit the model
epochs = 400
Evaluate the model
Monitor the error
Machine Learning
By using the input (vf array) and target (drag coefficients), we can build a simple ML model
0.0534
Almost saturated, but still
continues to decline
The MAE rapidly
decreases in the early
stage
Comparison of the drag
coefficients from CFD to
ML prediction
Comparison of
the Relative Error of
the test cases
(35 cases)
+/- 5% error
line
Mean RMS Error: 0.0548
colab notebook : https://colab.research.google.com/drive/1_yt4x0p-Ny_eeduRAO9o8JL2yyof5nPX
ConcludingRemarks
In this section, I will evaluate the current analysis results. And I will
suggest how the ideas introduced in this study can be utilized in
industry.
19
NCNINANO
COMPANY
Inc.
What we can do (At the moment)
It can predict even an arbitrary shape in an instant
Draw your own cylinder
ML-CFD Framework
Get Volume Fraction
ML model
Predict Drag
Coefficient
Put it into the ML-CFD
Framework
REASONAB
LE?
Just use it!
Run CFD
YES
NO
FEEDBACK
Update the model
What we want to do (In the Future)
I am trying to develop the techniques to FIRE designers
Design Anyone
Design Anywhere
Quality Guarantee
Expert designer’s experience
has already melted into the
system
No professional and high-cost
design tool is required
The same output whoever
design an object
Limitations (Achtung!)
It can only be applied to a similar family of the object
HHHHUUUUGGGGEEEE DATA is essential
Consistent evaluating system is necessary
Large HPC system that is working 24/7 is required
• Like other data driven engineering, abundant data is essential to build a precise model
• It takes very long time to gather enough data for building a ML model
• It is very difficult to build TRUST between HUMAN and MACHINE
• It is very important to ensure the PURITY of the DATA
• Experimental and computational data can be applied at once, but they do not guarantee the
consistency
• The main KEY to success of the ML-CFD is REINFORCED LEARNING
• To do this, the evaluation system should be running at the back-end
• CLOUD system might be very expensive for running the system 24/7
CONCLUDING REMARKS
• A combination of CFD and ML framework has been described briefly.
• The volume fraction by means of the cut-cell method (IBM) was adopted as an input to the ML framework.
• CFD results were used as target a value of the ML framework.
• 2D Cylinders were selected for PoC.
• 175 cases were applied were 140 cases were used for training while the rest 35 cases were used for evaluation.
• The ML model predicted the drag coefficients compared to the CFD results with about 5% of relative error in avera
• Considering that a relatively small number of data have been learned, the present results are quite encouraging.
• We expect that the present method can be utilized as a shape optimizer in the industry.
Thank
You
Feel free to contact me:
A-309, 15, Jongga-ro, Jung-gu, Ulsan
+82) 10.3084.1357
facebook.com/kgb3233
geonhong.kim@gmail.com

More Related Content

Similar to [OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of Shape Change in Fixed Space

Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...Modelon
 
Use of cfd in aerodynamic performance of race car
Use of cfd in aerodynamic performance of race carUse of cfd in aerodynamic performance of race car
Use of cfd in aerodynamic performance of race carDesignage Solutions
 
Simplifying MBSE Tasks with Capella and MapleMBSE
Simplifying MBSE Tasks with Capella and MapleMBSESimplifying MBSE Tasks with Capella and MapleMBSE
Simplifying MBSE Tasks with Capella and MapleMBSEObeo
 
CFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdfCFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdfSyfy2
 
Case Study for Plant Layout :: A modern analysis
Case Study for Plant Layout :: A modern analysisCase Study for Plant Layout :: A modern analysis
Case Study for Plant Layout :: A modern analysisSarang Bhutada
 
AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)byteLAKE
 
A process to improve the accuracy of mk ii fp to cosmic charles symons
A process to improve the accuracy of mk ii fp to cosmic    charles symonsA process to improve the accuracy of mk ii fp to cosmic    charles symons
A process to improve the accuracy of mk ii fp to cosmic charles symonsIWSM Mensura
 
Fdp session rtu session 1
Fdp session rtu session 1Fdp session rtu session 1
Fdp session rtu session 1sprsingh1
 
Can Machine Learning Models be Trusted? Explaining Decisions of ML Models
Can Machine Learning Models be Trusted? Explaining Decisions of ML ModelsCan Machine Learning Models be Trusted? Explaining Decisions of ML Models
Can Machine Learning Models be Trusted? Explaining Decisions of ML ModelsDarek Smyk
 
ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...
ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...
ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...IAEME Publication
 
What they did not teach you in engineering school about 3D Pressure Drop anal...
What they did not teach you in engineering school about 3D Pressure Drop anal...What they did not teach you in engineering school about 3D Pressure Drop anal...
What they did not teach you in engineering school about 3D Pressure Drop anal...Delphine Genouvrier
 
Scaling & Transforming Stitch Fix's Visibility into What Folks will love
Scaling & Transforming Stitch Fix's Visibility into What Folks will loveScaling & Transforming Stitch Fix's Visibility into What Folks will love
Scaling & Transforming Stitch Fix's Visibility into What Folks will loveJune Andrews
 
Optimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstnOptimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstnRonald Kayiwa
 
DesignTech Systems - DCS presentation Oct 2017
DesignTech Systems - DCS presentation Oct 2017DesignTech Systems - DCS presentation Oct 2017
DesignTech Systems - DCS presentation Oct 2017DesignTech Systems Ltd.
 
A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...
A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...
A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...Applied CCM Pty Ltd
 
Decision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTX
Decision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTXDecision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTX
Decision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTXSanjayKPrasad2
 
Programming with Relaxed Synchronization
Programming with Relaxed SynchronizationProgramming with Relaxed Synchronization
Programming with Relaxed Synchronizationracesworkshop
 

Similar to [OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of Shape Change in Fixed Space (20)

Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
Multi-core Real-time Simulation of High-Fidelity Vehicle Models using Open St...
 
Use of cfd in aerodynamic performance of race car
Use of cfd in aerodynamic performance of race carUse of cfd in aerodynamic performance of race car
Use of cfd in aerodynamic performance of race car
 
Simplifying MBSE Tasks with Capella and MapleMBSE
Simplifying MBSE Tasks with Capella and MapleMBSESimplifying MBSE Tasks with Capella and MapleMBSE
Simplifying MBSE Tasks with Capella and MapleMBSE
 
CFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdfCFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdf
 
Mobatec in a Nutshell
Mobatec in a NutshellMobatec in a Nutshell
Mobatec in a Nutshell
 
Case Study for Plant Layout :: A modern analysis
Case Study for Plant Layout :: A modern analysisCase Study for Plant Layout :: A modern analysis
Case Study for Plant Layout :: A modern analysis
 
AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)
 
Data envelopment analysis
Data envelopment analysisData envelopment analysis
Data envelopment analysis
 
A process to improve the accuracy of mk ii fp to cosmic charles symons
A process to improve the accuracy of mk ii fp to cosmic    charles symonsA process to improve the accuracy of mk ii fp to cosmic    charles symons
A process to improve the accuracy of mk ii fp to cosmic charles symons
 
Fdp session rtu session 1
Fdp session rtu session 1Fdp session rtu session 1
Fdp session rtu session 1
 
Can Machine Learning Models be Trusted? Explaining Decisions of ML Models
Can Machine Learning Models be Trusted? Explaining Decisions of ML ModelsCan Machine Learning Models be Trusted? Explaining Decisions of ML Models
Can Machine Learning Models be Trusted? Explaining Decisions of ML Models
 
ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...
ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...
ADVANCED TOOL FOR FLUID DYNAMICS-CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERO...
 
What they did not teach you in engineering school about 3D Pressure Drop anal...
What they did not teach you in engineering school about 3D Pressure Drop anal...What they did not teach you in engineering school about 3D Pressure Drop anal...
What they did not teach you in engineering school about 3D Pressure Drop anal...
 
Scaling & Transforming Stitch Fix's Visibility into What Folks will love
Scaling & Transforming Stitch Fix's Visibility into What Folks will loveScaling & Transforming Stitch Fix's Visibility into What Folks will love
Scaling & Transforming Stitch Fix's Visibility into What Folks will love
 
Optimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstnOptimization_model_of the propsed kiiraEV assembly lineprstn
Optimization_model_of the propsed kiiraEV assembly lineprstn
 
DesignTech Systems - DCS presentation Oct 2017
DesignTech Systems - DCS presentation Oct 2017DesignTech Systems - DCS presentation Oct 2017
DesignTech Systems - DCS presentation Oct 2017
 
CNMES15 - Estimation con COSMIC - Alain Abran
CNMES15 - Estimation con COSMIC - Alain AbranCNMES15 - Estimation con COSMIC - Alain Abran
CNMES15 - Estimation con COSMIC - Alain Abran
 
A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...
A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...
A Projection Method Based Fast Transient Solver for Incompressible Turbulent ...
 
Decision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTX
Decision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTXDecision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTX
Decision Optimization - CPLEX Optimization Studio - Product Overview(2).PPTX
 
Programming with Relaxed Synchronization
Programming with Relaxed SynchronizationProgramming with Relaxed Synchronization
Programming with Relaxed Synchronization
 

Recently uploaded

High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 

Recently uploaded (20)

9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 

[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of Shape Change in Fixed Space

  • 1. GEON-HONG KIM ML & CFD NINANO COMPANY INC.
  • 2. GEON-HONG KIM This work has been conducted with support of Hyundai Heavy Industries Co., Ltd. and NINANO COMPANY Inc. ACKNOWLEDGE
  • 3. GEON-HONG IS WELL. Engineer, Ph.D. GEON-HONG KIM 2018.12.01 - Present Technical Director, NINANO COMPANY 2018.10.01 – 2019.07.31 Parental Leave (HHI) 2018.01.01 – Present Engineer(Senior), HHI 2014.01.01 – 2018.12.31 Engineer, HHI 2013.07.01 – 2013.12.31 Engineer(Junior), HHI
  • 4. How to combine the Machine Learning with the computational fluid dynamics Idea Description Computational Results of combining the ML and CFD ML-CFD Results Today’s Contents
  • 5. NC IdeaDescription In this section, I will briefly discuss the concept of techniques that combine machine learning and computational fluid dynamics.NINANO COMPANY Inc.
  • 6. For a hull shape design and optimization… • The hull design is a very user-dependent task. • Experienced designer VS Junior designer? • What if the experienced designer retires? • Designing 3D hull shapes based on the 2D lines plan • Difficult to parametrize the lines • Almost impossible to uniquely define hull shapes using the ship parameters (LWL, B, D, CB etc.) No human designer any longer Parameter-FREE Optimization User Dependency Difficult to Parameterize
  • 7. For a hull shape design and optimization… User Dependency Difficult to Parameterize ◀︎ They will work for us. Veteran designer will live in a machine forever… Go away, human. Employing the concept of the Immersed Boundary Method (IBM) - Especially, the cut-cell method Pixelated Volume Fraction Machine Learning Optimal Hull Form
  • 8. ML-CFD Framework consists of,  Geometry Handler ⎼ automatically generate and modify the geometry  Volume Fraction Evaluator ⎼ Make a volume fraction array of a given geometry in the Design Space  CFD Simulator ⎼ generate mesh, run simulations, and tell the results to the ML-CFD Framework  ML Framework for Prediction ⎼ Volume fraction as an input, CFD results as a target
  • 9. How to Solve Ax = b ? Need to change the MIND The solution vector x is NOT unknown value any longer. Find an accurate and efficient way to establish A Prepare as many clean x and b as possible Traditional CFD With the development of computer resources and models, more efficient and accurate analysis is possible even for more complex flows. Data Driven Modeling By focusing on abundant data and analyzing their correlations, we can accurately predict the outcome of newly given inputs. Linearization Discretization Limiter Simplification Abundant Data Data Cleansing Overfitting Regularization
  • 10. What is the Role of CFD? Teaches the machine, Validates the AI Key of System Consistency Run simulations with various shapes under the SAME CONDITIONS and teaches the results to the ML framework so that it can build more accurate model. Cost-effective Maintenance Consistency
  • 11. A machine works 24/7 (for me). It selects optimal candidates. All I have to do is to choose the Best. And I earn the money for it. I have a dream
  • 12. Work Flow : ML-CFD To make a machine work for me Volume Fraction Prepare the INPUT data for machine learning CFD Simulations Estimate the performances and prepare TARGET data for the ML Machine Learning Build a ML model and predict the performances Geometry Handler Automatically update and manipulate the geometry Reinforced LearningKeep learning and updating the ML model for accurate prediction
  • 13. ComputationalMethods To prove the concept, we selected 2D cylinder cases. Run CFD simulations to estimate the drag coefficients, which is target data. The volume fractions of each shape was evaluated and given to the ML framework as an input. A part of the simulated results has been evaluated the model. NCNINANO COMPANY Inc.
  • 14. We chose 2D cylinders for simplicity Proof-of-Concept 14 Elliptic and diamond cylinders with aspect ratio from 0.5 to 2 have been selected for PoC. The drag coefficients were estimated at the Reynolds number of about 1E5, which is close to a critical Re number for a circular cylinder. Elliptic AR = 2 AoA = 0.0 deg Diamond AR = 0.5 AoA = 0.0 deg Diamond AR = 2.0 AoA = 15.0 deg
  • 15. Computational Fluid Dynamics Estimate input data, the drag coefficients numerically Input a and b - generate the geometry data Run blockMesh to generate mesh on ¼ plane Run mirrorMesh about x and y axis Run a simulation Estimate the drag coefficients RUNAUTOMATICALLY (Idonotwork)
  • 16. 0.0 0.00.0 0.0 0.0 0.0 Estimation of Volume Fraction Estimate the volume fraction by means of a cut-cell method, introduced at the Immersed Boundary Method 0.0 0.0 0.0 0.0 0.25 0.75 0.0 0.5 1.0 0.0 import numpy as np # for i in range(0, case_num): # The vf_array looks like a # pixelated picture vf_array[i] = [ 0.0, 0.0, 0.0 , 0.0, 0.0, 0.5, 0.25, 0.0, 0.0, 1.0, 0.75, 0.0, 0.0, 0.0, 0.0 , 0.0] input = np.array(vf_array) # The vf_array might be a 2D array, # i.e., its shape can be (4,4) # # input.shape is (case_num, 4, 4)
  • 17. Machine Learning By using the input (vf array) and target (drag coefficients), we can build a simple ML model Total 175 cases Train 140 cases 35 case s activation=‘relu’ two Dense layers Build a Sequential model optimizer=‘rmsprop’ loss = ‘mse’ metric = [‘mae’] Fit the model epochs = 400 Evaluate the model Monitor the error
  • 18. Machine Learning By using the input (vf array) and target (drag coefficients), we can build a simple ML model 0.0534 Almost saturated, but still continues to decline The MAE rapidly decreases in the early stage Comparison of the drag coefficients from CFD to ML prediction Comparison of the Relative Error of the test cases (35 cases) +/- 5% error line Mean RMS Error: 0.0548 colab notebook : https://colab.research.google.com/drive/1_yt4x0p-Ny_eeduRAO9o8JL2yyof5nPX
  • 19. ConcludingRemarks In this section, I will evaluate the current analysis results. And I will suggest how the ideas introduced in this study can be utilized in industry. 19 NCNINANO COMPANY Inc.
  • 20. What we can do (At the moment) It can predict even an arbitrary shape in an instant Draw your own cylinder ML-CFD Framework Get Volume Fraction ML model Predict Drag Coefficient Put it into the ML-CFD Framework REASONAB LE? Just use it! Run CFD YES NO FEEDBACK Update the model
  • 21. What we want to do (In the Future) I am trying to develop the techniques to FIRE designers Design Anyone Design Anywhere Quality Guarantee Expert designer’s experience has already melted into the system No professional and high-cost design tool is required The same output whoever design an object
  • 22. Limitations (Achtung!) It can only be applied to a similar family of the object HHHHUUUUGGGGEEEE DATA is essential Consistent evaluating system is necessary Large HPC system that is working 24/7 is required • Like other data driven engineering, abundant data is essential to build a precise model • It takes very long time to gather enough data for building a ML model • It is very difficult to build TRUST between HUMAN and MACHINE • It is very important to ensure the PURITY of the DATA • Experimental and computational data can be applied at once, but they do not guarantee the consistency • The main KEY to success of the ML-CFD is REINFORCED LEARNING • To do this, the evaluation system should be running at the back-end • CLOUD system might be very expensive for running the system 24/7
  • 23. CONCLUDING REMARKS • A combination of CFD and ML framework has been described briefly. • The volume fraction by means of the cut-cell method (IBM) was adopted as an input to the ML framework. • CFD results were used as target a value of the ML framework. • 2D Cylinders were selected for PoC. • 175 cases were applied were 140 cases were used for training while the rest 35 cases were used for evaluation. • The ML model predicted the drag coefficients compared to the CFD results with about 5% of relative error in avera • Considering that a relatively small number of data have been learned, the present results are quite encouraging. • We expect that the present method can be utilized as a shape optimizer in the industry.
  • 24. Thank You Feel free to contact me: A-309, 15, Jongga-ro, Jung-gu, Ulsan +82) 10.3084.1357 facebook.com/kgb3233 geonhong.kim@gmail.com