![Page 1: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/1.jpg)
Serverworks Lightning Talks Tournament, 29th July, 2016
Easy way to beginComputational Fluid Dynamics (CFD)on Cloud
Takahisa Shiratori
@takashiratori
Dept. Tech. 2
Serverworks Co., Ltd.
Demonstration on YouTube: https://youtu.be/ft6hIxjFQKk?t=12m33s
![Page 2: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/2.jpg)
![Page 3: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/3.jpg)
Computational Fluid Dynamics (CFD)
![Page 4: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/4.jpg)
Calculation Conditions
- Shape of the room
- etc…
CalculationInput
Output
Visualization
Most of CFDs are working with on-premises servers.
Let’s enjoy CFD on !
![Page 5: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/5.jpg)
Why on AWS?
What is the benefit?
![Page 6: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/6.jpg)
Low Initial Cost
Easy Backup
Elastic Computing Resource
![Page 7: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/7.jpg)
Low Initial Cost
On-premises
Cost
Time
![Page 8: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/8.jpg)
Low Initial Cost
Cost
Time
Cloud
Ex) Start-ups, Individuals, …
![Page 9: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/9.jpg)
Low Initial Cost
Cost
Time
Cloud
Quit
![Page 10: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/10.jpg)
Easy Backup
On-premises
![Page 11: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/11.jpg)
Easy Backup
On-premises
![Page 12: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/12.jpg)
Easy Backup
On-premises Cloud
![Page 13: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/13.jpg)
Elastic Computing Resource
![Page 14: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/14.jpg)
Elastic Computing Resource
Click!Click!
Click!
Click!Click!Click!
Scale-up!!
Scale-out!!
![Page 15: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/15.jpg)
CFD Direct http://cfd.direct/
in AWS Marketplace: https://aws.amazon.com/marketplace/pp/B017AHYO16
✓ No software usage fee
✓ OpenFOAM (Simulation) + ParaView (Visualization)
![Page 16: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/16.jpg)
Calculation Conditions
- Shape of the room
- etc…
OpenFOAM
(Calculation)Input
Output
ParaView
(Visualization)
![Page 17: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/17.jpg)
How to prepare the CFD server?
Preparing an AWS Account
Apply to http://www.serverworks.co.jp/services/piece
or access to directly https://aws.amazon.com/
Launching a CFD Direct server (EC2) on AWS
Access to the server with SSH
![Page 18: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/18.jpg)
1. Choose your region2. Click “EC2”
![Page 19: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/19.jpg)
Click “Launch instance”
![Page 20: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/20.jpg)
Click
“Community AMIs”
![Page 21: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/21.jpg)
Input “CFD Direct”, and press Enter
![Page 22: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/22.jpg)
Click “Select” of “CFD Direct From the Cloud”
![Page 23: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/23.jpg)
1. Choose an Instance Type you want to use
2. Click “Next: Configure Instance Details”
![Page 24: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/24.jpg)
The default parameter is enough to just use CFD Direct.
Click “Next: Add Storage”
![Page 25: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/25.jpg)
1. Input the size of the Storage
2. Click “Add New Volume”
if you want two or more volumes
3. Click “Next: Tag Instance”
![Page 26: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/26.jpg)
1. Type a Security group name
2. Choose “SSH” 3.
- If you have static global IP address,
choose “Custom IP” and type your IP.
- If you don’t have static global IP address,
choose “Everywhere”. (but not recommended)
![Page 27: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/27.jpg)
Click “Launch”
![Page 28: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/28.jpg)
1. Choose “Create a new key pair”
2. Type a key pair name
Ensure to store the downloaded private key securely, and be careful not to lose.
3. Click “Download Key Pair”
4. Click “Launch instances”
![Page 29: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/29.jpg)
Click “View Instances”
![Page 30: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/30.jpg)
1. Wait until the Status Checks show “2/2 checks passed”
2. Global IP address of your CFD Direct server is shown here
✓ Access to your CFD Direct server with reference to http://cfd.direct/cloud/aws/remote-desktop/
![Page 31: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/31.jpg)
How does it work?
![Page 32: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/32.jpg)
How much?
t2.micro c4.large c4.4xlarge
vCPU 1 2 16
Memory 1 GiB 3.75 GiB 30 GiB
Hourly fee 0.02 USD/hour 0.133 USD/hour 1.061 USD/hour
Working hours Assumed to be 8 hours/day
Storage Assumed to be 50 GiB
Computing monthly fee 4.88 USD/month 32.46 USD/month 258.89 USD/month
Storage monthly fee 6.00 USD/month
Total monthly fee 10.88 USD/month 38.46 USD/month 264.89 USD/month
in Asia Pacific (Tokyo)
This is a ROUGH estimation.
Please don’t be angry if your usage fee exceeds this.
![Page 33: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/33.jpg)
Summary
Low Initial
Cost
Easy
Backup
Elastic
Computing
ResourceClick!Click!Click!
Cost
Time
Cloud
Quit
![Page 34: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/34.jpg)
Thank you for your kind attention!
Contact Us
Serverworks Co., [email protected]
+81-(0)3-5579-8029日本語 http://www.serverworks.co.jp
English http://www.serverworks.co.jp/en
![Page 35: Easy way to begin Computational Fluid Dynamics on Cloud](https://reader031.vdocuments.us/reader031/viewer/2022030316/58718e3e1a28ab2c198b6e7f/html5/thumbnails/35.jpg)
About Me
Experience
Mar. 2016 – Present Dept. Tech. 2 @ Serverworks
Apr. 2015 – Feb. 2016 Job rotation as newcomer training @ Serverworks
Apr. 2012 – Mar. 2015 Ph.D student in Fluid Mechanics
Takahisa Shiratori 白鳥 貴久
Serverworks Co., Ltd.