Presentation is loading. Please wait.

Presentation is loading. Please wait.

Processing of a CAD/CAE Jobs in grid environment using Elmer Electronics Group, Physics Department, Faculty of Science, Ain Shams University, Mohamed Hussein.

Similar presentations


Presentation on theme: "Processing of a CAD/CAE Jobs in grid environment using Elmer Electronics Group, Physics Department, Faculty of Science, Ain Shams University, Mohamed Hussein."— Presentation transcript:

1 Processing of a CAD/CAE Jobs in grid environment using Elmer Electronics Group, Physics Department, Faculty of Science, Ain Shams University, Mohamed Hussein A.Razik GRID Computing Group LIT LAB

2

3 Aim of the Task The aim of my task is to simulate a physical phenomena which is heat transfer by using Elmer software and execute this simulation on the grid and take the result from the grid to the PC via user interface.

4

5 What is Elmer? Elmer is a finite element software package for the solution of partial differential equation(s),dealing with multiphysical simulations. The Elmer package contains solvers for a variety of mathematical models. The following list summarizes the capabilities of Elmer in specialized fields.

6 Physical models in Elmer Heat transfer: models for conduction, radiation and phase change Fluid flow: the Navier-Stokes, Stokes and Reynolds equations, k-" model Species transport: generic convection-diffusion equation Elasticity: general elasticity equations, dimensionally reduced models for plates and shells Acoustics: the Helmholtz equation Electromagnetism: electrostatics, magnetostatics, induction Micro fluidics: slip conditions, the Poisson-Boltzmann equation Level set method: Euleri an free boundary problems Quantum Mechanics: density functional theory (Kohn-Sham)

7 Numerical methods in Elmer Numerical methods in Elmer For approximation and linear system solution Elmer offers a great number of possibilities. The following list summarizes some of the most essential ones. All basic element shapes in 1D, 2D and 3D with the Lagrange shape functions of degree k 2 Higher degree approximation using p-elements Time integration schemes for the first and second order equations Solution methods for Eigen value problems Direct linear system solvers (Lapack & Umfpack) Iterative Krylov subspace solvers for linear systems ILU preconditioning of linear systems Parallelization of iterative methods The discontinuous Galerk in method Stabilized finite element formulations, including the methods of residual free bubbles and SUPG Adaptively, particularly in 2D

8

9 Introductio n to Message Passing Interface (MPI) What is MPI? ◦Message Passing Interface  Message passing is a method by which data from one processor memory is copied to another processor memory Why MPI? ◦MPI library functions enable programmers to write portable codes, which can run on  distributed-memory/shared memory multiprocessor machines  cluster of workstations 9

10 Parallel processing Parallel processing is the ability to carry out multiple operations or tasks simultaneously. Parallel Processing in Computers The simultaneous use of more than one CPU or processor core to execute a program or multiple computational threads. Ideally, parallel processing makes programs run faster because there are more engines (CPUs or cores) running it.

11 Parallel Implementation in Elmer The general concept of a parallel run within Elmer is displayed in Figure. Elmer uses domain decomposition for distributing the load to multiple processes that are being run on either different cores or CPUs. To that end, the initial mesh has to be split into parts that – with respect to the applied models – lead to similar loads of the processors.

12

13

14 Practice on Elmer software The aim task is to run a simulation experiment on the grid and this simulation is worked parallel and take the result and store it on the pc via user interface. We have a physical problem heat transfer begins with certain boundary conditions after certain time we study the heat transfer.

15 Workflow to create Elmer file Open your input file (example: samples/grd/angle3d.grd):

16 Workflow Optionally configure mesh generator and remesh:

17 Workflow The values in the config dialog are inherited from cmd line tools: As shown in special window

18 Workflow Remeshing is perfomed in a separate thread:

19 Workflow Manipulate boundaries: Select boundaries by holding down the CTRL-key while double clicking. Choose ”unify surface” to join:

20 Workflow Define an equation (PDE-system) to solve: As shown in special window

21 Workflow Let us define the ”heat equation” as an example: As shown in special window

22 Workflow Similarly, we can next define material properties and parameters: As shown in special window

23 Workflow Add body force:

24 Workflow set boundary conditions:

25 Workflow Generate solver input file (sif):

26 Workflow Save the model:

27 Workflow Run solver:

28 Workflow Convergence monitor reveals possible problems:

29

30

31 Processing of the data on the grid Processing of the data on the grid Job submission of Elmer file to the grid

32 Job status

33 Retrieve job's output

34 Transfer the result from the grid to the pc via interface.

35 Workflow Visualize the results by Elmer post:

36

37 Acknowledgement I would like to thank: Alexander Ujhinskiy Nikolay kutovskiy For continuous efforts for teaching the aspects and completing the jobs of the grid. Thanks for sincerely help. AND Thanks for supervisors of the school for help and attentions. Prof.Dr.Ali Ellithi & Prof.Dr. Ali Khalil

38 Thank you for your attention

39 ?

40 Workflow Edit the solver input file (if needed):

41 Workflow Turn on/off boundary index numbering for verification:

42 Workflow Data is given in the ”General” and ”Heat equation” tabs:


Download ppt "Processing of a CAD/CAE Jobs in grid environment using Elmer Electronics Group, Physics Department, Faculty of Science, Ain Shams University, Mohamed Hussein."

Similar presentations


Ads by Google