building a cfd grid over thaigrid infrastructure putchong uthayopas, ph.d department of computer...

22
Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University, Thailand Email: [email protected]

Upload: madison-larson

Post on 27-Mar-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Building a CFD Grid Over ThaiGrid Infrastructure

Putchong Uthayopas, Ph.D

Department of Computer Engineering,

Faculty of Engineering, Kasetsart University, Thailand

Email: [email protected]

Page 2: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Introduction

Computation Fluid Dynamics (CFD) is a study of fluid behavior by using numerical technique that allows user to analyze Fluid Flow, Heat Transfer and Others Related Phenomena.

CFD are widely used in industries for. Automotive design, Aerospace design,

Turbo machinery design, and much more...

Page 3: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

CAMETA ProjectComputer Aided Mechanical Engineering Technology and Application

Collaboration among 3 research laboratories CFD lab at SUT, CML at KU and PRG at KU

Goal Explore how to apply advanced CFD

analysis to solve industry problems Develop advanced CFD techniques ,

algorithms, and software Explore the use of Beowulf cluster and

parallel processing to solve large and complex CFD problem

Partly funding from NECTEC

Page 4: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

CAMETA Software

Page 5: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Software Architecture Client/Server Client

GUI Sequential Grid generation, Solvers SCV Visualization Tool

Servers Parallel 3D grid generation Parallel CFD solvers

2D laminar and Turbulence flow Task are pushed to server using a remote

procedure technology called ACI (Active Cluster Interface) developed by us

Page 6: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Result of Parallel Grid Generation and Solver

Runtime Graph

0.00

1000.00

2000.00

3000.00

4000.00

5000.00

6000.00

7000.00

1 node 2 nodes 4 nodes 8 nodesNode Number

Runtime

20 40 60 80 100

Runtime Graph

0.00

5000.00

10000.00

15000.00

20000.00

25000.00

1 node 2 nodes 4 nodes 8 nodesNode Number

Runtime

201*101 301*101 401*101 501*101 601*101 801*101

Page 7: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Prediction ModelsOptimum Cluster Node

0

2

4

6

8

10

201*101 301*101 401*101 501*101 601*101 801*101Problem Size

Node

Num

ber

Optimum Cluster Node

Problem Size Optimum Cluster Node

201*101 2.39

301*101 3.58

401*101 4.56

501*101 5.46

601*101 6.25

801*101 8.13

Page 8: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Some Target Applications Design of Air flow in clean room for

complex electronics product assembly Collaboration with Seagate and

Philips

Page 9: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Challenges on Grid Transition How to create a Virtual Research

organization Single Virtual Computing Resources

Authorization, Authentication, Security Mechanism for Transparent Resources

Access • Computing and Data access

Virtual Collaboration Infrastructure Multi-organizational Geographically Separated

Page 10: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

2 Layers of Grid

Page 11: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Building CAMETA Computational Grid

PIRUN72 nodes AMATA

16 nodes

Uninet

Thaisarn3

CFD Beowulf16 nodes

Page 12: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Proposed Distributed Software Architecture

KUComputing

System

SUTComputing

System

Globus

Netsolve/Ninf

ACI

CFD Applications

Page 13: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Proposed Architecture for Parametric Job Submission

ClusterHardware

SCE

ClusterHardware

SCE

ClusterHardware

SCE

Globus Grid (ThaiGrid)

SCE/GRID Resource Scheduler

JOB JOB JOB JOB JOBOpen SCE is a scalable and integrated cluster environmenthttp://www.opensce.org

Page 14: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Grid Usage

Provided uniform security mechanism across the computing environment

Provide services such as communication, information, job staging

Provide mechanism for large scale data access

Page 15: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

People Grid

Based on Access Grid Technology Infrastructure for multipoint

collaboration over internet Based on IP multicast Telepresence

Access Grid allows the life live conversation, collaboration across the participating labs

Page 16: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Todo

Computational Grid Building basic Globus grid (done) Install and test netsolve, Ninf Adapt ACI interface to run on

netsolve Grid communication service

Develop more solvers that conform to these standard

Improve grid usability by developing some software tools

Page 17: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Todo

People Grid Accelerate the deployment of access

grid among the project partners Build software tools and infrastructure

that allows easy access grid deployment Personal and tiny access grid nodes Accommodate non multicast environment See Omega project

Page 18: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Milestone

Thaigrid infrastructure : done Q1:

Evaluation of Netsolve, Ninf Develop ACI on grid Access launch for all parties

Q2 Convert applications Evaluation Clean multicast

Page 19: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Final Remarks

Grid is about People : Education, training is needed Software infrastructure : still in an infancy

state, too complex for average users, inflexible.

Network No Multicast ! Slow, unreliable !

All these need to be solved to get users on the grid

Page 20: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

The End

Any Question ?

Page 21: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Result of Parallel Grid Generation

Speedup 2 nodes 4 nodes 8 nodes

20 0.92 1.69 3.06

40 1.11 2.21 4.0460 1.17 2.27 4.39

80 1.37 2.50 4.80

100 1.20 2.20 4.13

Speedup Graph

0.00

1.00

2.00

3.00

4.00

5.00

6.00

20 40 60 80 100Data Size

Spee

dup

2 nodes 4 nodes 8 nodes

Page 22: Building a CFD Grid Over ThaiGrid Infrastructure Putchong Uthayopas, Ph.D Department of Computer Engineering, Faculty of Engineering, Kasetsart University,

Result of Parallel Solver

Speedup2 nodes4 nodes8 nodes

201*101 1.38 2.63 4.98

301*101 1.65 3.00 5.88

401*101 1.71 3.27 6.22

501*101 1.76 3.30 6.54

601*101 1.66 3.23 5.95

801*101 1.37 3.00 5.16

Speedup Graph

0.001.00

2.003.00

4.005.00

6.007.00

201*101 301*101 401*101 501*101 601*101 801*101Data Size

Spee

dup

2 nodes 4 nodes 8 nodes