1 Web Based Interface for Numerical Simulations of Nonlinear Evolution Equations Ryan N. Foster & Thiab Taha Department of Computer Science The University.

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Advertisements

LPDS MTA SZTAKI Equation Solver A Grid solution Important hint: A follow up example demonstrating the Parameter Study solution for the mass calculations.
879 CISC Parallel Computation High Performance Fortran (HPF) Ibrahim Halil Saruhan Although the [Fortran] group broke new ground …
Experimental Design, Response Surface Analysis, and Optimization
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Chapter 3 Steady-State Conduction Multiple Dimensions
Nazgol Haghighat Supervisor: Prof. Dr. Ir. Daniel J. Rixen
Front and Back End: Webpage and Database Management Prepared by Nailya Galimzyanova and Brian J Kapala Supervisor: Prof. Adriano Cavalcanti, PhD College.
Mi-Joung choi, Hong-Taek Ju, Hyun-Jun Cha, Sook-Hyang Kim and J
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 4 Programming and Software EXCEL and MathCAD.
Fall 2007cs4251 Distributed Computing Umar Kalim Dept. of Communication Systems Engineering 31/10/2007.
Landscape Erosion Kirsten Meeker
Development of Empirical Models From Process Data
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
Introduction to Web Applications Instructor: Enoch E. Damson.
Fundamentals of Python: From First Programs Through Data Structures
Interval-based Inverse Problems with Uncertainties Francesco Fedele 1,2 and Rafi L. Muhanna 1 1 School of Civil and Environmental Engineering 2 School.
Numerical Grid Computations with the OPeNDAP Back End Server (BES)
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
Exercise problems for students taking the Programming Parallel Computers course. Janusz Kowalik Piotr Arlukowicz Tadeusz Puzniakowski Informatics Institute.
In Engineering --- Designing a Pneumatic Pump Introduction System characterization Model development –Models 1, 2, 3, 4, 5 & 6 Model analysis –Time domain.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
Chapter 3 Parallel Algorithm Design. Outline Task/channel model Task/channel model Algorithm design methodology Algorithm design methodology Case studies.
Introduction To System Analysis and Design
LPDS MTA SZTAKI Equation Solver Light A Grid solution.
Michael Scalora U.S. Army Research, Development, and Engineering Center Redstone Arsenal, Alabama, & Universita' di Roma "La Sapienza" Dipartimento.
Issues in (Financial) High Performance Computing John Darlington Director Imperial College Internet Centre Fast Financial Algorithms and Computing 4th.
Web Controlled of Robot Georgi Chakarov Ivelin Stoyanov.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Model Task 0A: Programming the 1D upstream scheme ATM 562 Fall 2015 Fovell 1.
M.S. Thesis Defense Jason Anderson Electrical and Computer Engineering Dept. Clemson University.
Time-dependent Schrodinger Equation Numerical solution of the time-independent equation is straightforward constant energy solutions do not require us.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
1 CMPT 275 High Level Design Phase Modularization.
Akram Bitar and Larry Manevitz Department of Computer Science
Lecture 4 TTH 03:30AM-04:45PM Dr. Jianjun Hu CSCE569 Parallel Computing University of South Carolina Department of.
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
Linear Algebra Libraries: BLAS, LAPACK, ScaLAPACK, PLASMA, MAGMA
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Lab for Remote Sensing Hydrology and Spatial Modeling Dept of Bioenvironmental Systems Engineering National Taiwan University 1/45 GEOSTATISTICS INTRODUCTION.
Brookhaven Science Associates U.S. Department of Energy MERIT Project Review December 12, 2005, BNL, Upton NY MHD Studies of Mercury Jet Target Roman Samulyak.
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
HNC COMPUTING - Network Concepts 1 Network Concepts Network Concepts Network Operating Systems Network Operating Systems.
Parallel Computing Presented by Justin Reschke
A Web Based Job Submission System for a Physics Computing Cluster David Jones IOP Particle Physics 2004 Birmingham 1.
A Simulation Framework for Testing Flow Control Strategies Marek Gayer, Milan Milovanovic and Ole Morten Aamo Faculty of Information Technology, Mathematics.
Wave propagation in optical fibers Maxwell equations in differential form The polarization and electric field are linearly dependent.
Advanced Algorithms Analysis and Design
Computer Simulation Henry C. Co Technology and Operations Management,
OPERATING SYSTEMS CS 3502 Fall 2017
Xing Cai University of Oslo
Network Load Balancing
Initial Adaptation of the Advanced Regional Prediction System to the Alliance Environmental Hydrology Workbench Dan Weber, Henry Neeman, Joe Garfield and.
Computational Photonics
Objective of This Course
Algorithm Efficiency Chapter 10.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
GENERAL VIEW OF KRATOS MULTIPHYSICS
OSU Quantum Information Seminar
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Parallel Programming in C with MPI and OpenMP
Web Servers (IIS and Apache)
Akram Bitar and Larry Manevitz Department of Computer Science
Presentation transcript:

1 Web Based Interface for Numerical Simulations of Nonlinear Evolution Equations Ryan N. Foster & Thiab Taha Department of Computer Science The University of Georgia Spring 2007

2 Abstract In Computational Science and Parallel Computing research, model equations have been developed to assist in solving problems in science and engineering. Such equations have aided researchers in developing methods used in the study of weather prediction, optical fiber communication systems, water waves, etc. Often, it is the desire of many researchers to further develop numerical methods and make these model equations, their numerical simulations and plots accessible to users through the Internet. In this presentation, we present a web based graphical user interface for numerical simulation of nonlinear evolution equations such as the nonlinear Schrödinger (NLS), NLS (NLS) with periodic dispersion, and modified coupled NLS (CNLS) equations. Sequential and parallel algorithms for each equation were implemented on sequential and multiprocessor machines.

3 Outline Introduction Goal Model Equations and Methods gnuplot Equation Server Equation Server Architecture Equation Server Configuration Requirements Demo Conclusion

4 Introduction In Computational Science and Parallel Computing research, numerical methods have been developed to assist in solving problems in Science and Engineering. It is the desire of many researchers to further develop numerical methods and make these model equations, their numerical simulations and plots accessible to users through the Internet. Installing, setting up, and maintaining currently available web servers can be a complex and tedious task.

5 Goal Provide developers an easier alternative way to publish model equations and methods on the web Make numerical simulations and plots accessible to users through the internet. Implement without the use of existing web servers (Apache/Tomcat, Axis) and/or additional technology (PHP, JSP, Applets).

6 Model Equations and Methods Nonlinear evolution equations to be considered are: –nonlinear Schrödinger (NLS) type equation –nonlinear Schrödinger (NLS) equation with periodic dispersion –modified coupled nonlinear Schrödinger (CNLS) type equation

7 Nonlinear Schrödinger (NLS) Equation Consider the NLS equation where is a complex-valued function. The initial condition is where = a constant. We assume that satisfies periodic boundary condition with period [ ], where is half the length of the interval.

8 Nonlinear Schrödinger (NLS) Equation (continued) When the [ -P, P ] is normalized to, the NLS equation becomes The interval can be divided into N equal subintervals The equation is then solved using the first-order, second-order, or fourth-order split-step Fourier methods[1].

9 Using the first-order Fourier method, the solution may be advanced from time t to the next time-level t+Δt by the following steps: 1.Advance the solution using only the nonlinear part. through 2.Advance the solution according to the linear part: by means of computing Nonlinear Schrödinger (NLS) Equation (continued)

10 followed by and where Δt denotes the time step, is the discrete Fourier transform and is its inverse. Nonlinear Schrödinger (NLS) Equation (continued)

11 Nonlinear Schrödinger (NLS) Equation (continued) Using the second-order Fourier method, the solution may be advanced from time t to the next time-level t+Δt by the following steps: 1.Advance the solution using only the nonlinear part. through 2.Advance the solution according to the linear part: by means of the discrete Fourier transforms

12 3.Advance the solution using the nonlinear part through Nonlinear Schrödinger (NLS) Equation continued

13 Using the fourth-order Fourier method, the solution may be advanced from time t to the next time-level t+Δt by the following steps: 1.Advance the solution using the second-order split-step Fourier method described with 2.Advance the solution in time from t+ ωΔt to t+(1-ω)Δt by the second-order split-step Fourier method. 3.Advance in time from t+(1-ω)Δt to t+Δt by the second-order split-step Fourier method Nonlinear Schrödinger (NLS) Equation (continued)

14 Parallel Algorithms for Solving the Nonlinear Schrödinger (NLS) Equation Steps to solve the NLS equation on a parallel system: 1.Let A, of size N, be the array that holds the approximate solution to u at time t. 2.The array A is distributed among P processors. Processor n, 0 ≤ n ≤ P − 1, contains array elements A[nN/P] to A[(n+1)N/(P−1)]. 3.Each of the P processor works on its own sub-arrays independently without communicating with others.

15 The FFTW’s MPI library routines are used to implement the parallel discrete Fourier transforms to parallelize the computations of and. Parallel Algorithms for Solving the Nonlinear Schrödinger (NLS) Equation (continued)

16 NLSE with periodic dispersion Consider the NLS equation of the form: where D(t) represents dispersion, given by the following periodic function and g(t) relates to effective nonlinearity, which is given by the periodic function

17 NLSE with periodic dispersion (continued) In the numerical experiments in [4]:,, θ = 0.8, the map period the damping coefficient Γ = 4, and the amplifier spacing with periodic boundary condition: [−20, 20], and initial conditions of the form: t = 0, amplitude A = 1, velocity Ω = 2, initial position, and phase.

18 Modified Coupled Nonlinear Schrödinger (CNLS) Equation Consider this CNLS equation: where: U =,,,,,, g(z) =,,, M is an integer and is a uniform random variable in

19 Modified Coupled Nonlinear Schrödinger (CNLS) Equation (continued) The system in (1) can be written as a coupled system in the form:

20 Modified Coupled Nonlinear Schrödinger (CNLS) Equation (continued) Initial Conditions:,, parameters: n (solitons),, (parameters for the dispersion map, with )

21 Modified Coupled Nonlinear Schrödinger (CNLS) Equation continued As for values to use initially, take: d(z)=1 (constant dispersion), Gamma= 10, z_a= 0.1, z_p= 0.01, N=1, A=1, Omega=0, T=0, Phi=0. propagate up to z_max= 20.

22 Modified Coupled Nonlinear Schrödinger (CNLS) Equation continued Ismail and Taha (to be submitted) developed the following Crank Nicholson method for solving the CNLS equation [6]: where

23 Modified Coupled Nonlinear Schrödinger (CNLS) Equation continued with the Crank Nicolson scheme:

24 Modified Coupled Nonlinear Schrödinger (CNLS) Equation (continued)

25 Modified Coupled Nonlinear Schrödinger (CNLS) Equation (continued) where

26 Modified Coupled Nonlinear Schrödinger (CNLS) Equation (continued) They use the boundary conditions where s=0, 1 at the boundaries i.e. at (m=1,N). By separating real and imaginary parts and assuming …

27 Modified Coupled Nonlinear Schrödinger (CNLS) Equation (continued) … one can get the following system where

28 gnuplot gnuplot is an interactive data and function plotting utility. Features: –Titling, labeling, and two and three-dimensional plotting capability. –Additional plotting tools and numerical features –A data file can serve as input. –Plotting capability through the use of command line. –Available free online.

29 gnuplot continued gnuplot demo

30 Steps 1.Provide model equations to users through a web browser. 2.Allow user to select an equation and method. 3.Obtain input from the user for the selected method. 4.Execute the selected equation and method to obtain simulation results. 5.Return simulation results to the user in data and plot format.

31 1) Provide model equations to users through a web browser.

32 2) Allow user to select an equation and method.

33 3) Obtain input from the user for the selected method.

34 4) Execute the selected equation to obtain simulation results.

35 5) Return simulation results to user in data and plot format.

36 Parallel Implementation For parallel algorithms, the same concept applies: 1.Provide model equation to users through a web browser. 2.Allow user to select the model equation and the parallel method. 3.Obtain input from the user for the selected method. 4.Execute the selected parallel method to obtain simulation results. 5.Return simulation results to the user in a readable data and plot format.

37 Equation Server Architecture

38 Equation Server Architecture continued Client(s) Web Browser LAN/WA N Equation Solver executables GNUPLOT Equation Solver Result(s ) Server(s) Machines where Equation Solver is installed equation input solver numerical method solver equation result solver Equation Solver HTML(s )

39 Equation Server Configuration Equation Server simplifies the complex task of configuring existing web servers by reducing all configurations into one simple configuration file. The configure file specifies –which ports to run on –URL of Equation solvers –Time to remove results from the system –Available equations and input requirements

40 Equation Server Configuration

41 Requirements C++ compiler with a socket library (socket.h). gnuplot, the interactive data and function plotting utility. Machine with system-call capability.

42 Demo The Equation Server is currently running on three machines. Two of which, are high performance machines (machines with the capability to run parallel codes on multiple processors). 1.atlas (1 dedicated processor) » 2.taha (4 dedicated processors) » 3.altix (8 dedicated processors) »

43 Conclusion Several Numerical Methods for solving nonlinear evolution equations were presented. These methods include: Finite Difference and Split Step Fourier Methods. A web based interface Equation Server was presented, that gives researchers the ability to provide user access to model equations and methods. Users can simulate these equations to obtain simulation results through the Internet.

44 References [1] XU, X., Taha, T., 2003, Parallel Split-Step Fourier Methods for Nonlinear Schrodinger-Type Equations, Journal of Mathematical Modeling and Algorithms 2: , [2] Taha, T., 1994, Numerical simulations of the complex modified Korteweg-de Vries equation, Mathematics and Computers in Simulation, 37 (1994) [3] Foster, R. N., 2007, Web Based Interface for Numerical Simulations of Nonlinear Evolution Equations, Thesis (MS). The University of Georgia. [4] Liu, R., Numerical and Parallel Algorithms for the CMKDV Equation, Thesis (MS). The University of Georgia. [5] gnuplot homepage, [6] Taha, T. R. 2006, Parallel Numerical Methods for Solving Nonlinear Evolution Equations, Department of Computer Science.