CIS 888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.

Slides:



Advertisements
Similar presentations
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Advertisements

MANE 4240 & CIVL 4240 Introduction to Finite Elements
Isoparametric Elements Element Stiffness Matrices
Point-wise Discretization Errors in Boundary Element Method for Elasticity Problem Bart F. Zalewski Case Western Reserve University Robert L. Mullen Case.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2014 – 35148: Continuous Solution for Boundary Value Problems.
LECTURE SERIES on STRUCTURAL OPTIMIZATION Thanh X. Nguyen Structural Mechanics Division National University of Civil Engineering
The Finite Element Method Defined
The Finite Element Method A Practical Course
MECH593 Introduction to Finite Element Methods
By S Ziaei-Rad Mechanical Engineering Department, IUT.
Selected from presentations by Jim Ramsay, McGill University, Hongliang Fei, and Brian Quanz Basis Basics.
Basis Expansion and Regularization Presenter: Hongliang Fei Brian Quanz Brian Quanz Date: July 03, 2008.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Finite element method – basis functions 1 Finite Elements: Basis functions 1-D elements  coordinate transformation  1-D elements  linear basis functions.
EARS1160 – Numerical Methods notes by G. Houseman
Section 4: Implementation of Finite Element Analysis – Other Elements
ECIV 720 A Advanced Structural Mechanics and Analysis
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
1cs542g-term Notes  Make-up lecture tomorrow 1-2, room 204.
ECIV 720 A Advanced Structural Mechanics and Analysis
Isoparametric Elements
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
Isoparametric Elements Element Stiffness Matrices
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
FEA Simulations Usually based on energy minimum or virtual work Component of interest is divided into small parts – 1D elements for beam or truss structures.
Curve-Fitting Regression
MANE 4240 & CIVL 4240 Introduction to Finite Elements Numerical Integration in 1D Prof. Suvranu De.
Finite Element Method in Geotechnical Engineering
ECIV 720 A Advanced Structural Mechanics and Analysis
Numerical Methods for Partial Differential Equations
MCE 561 Computational Methods in Solid Mechanics
III Solution of pde’s using variational principles
Two-Dimensional Heat Analysis Finite Element Method 20 November 2002 Michelle Blunt Brian Coldwell.
Finite Element: Theory, Applications & Implementation Presented By: Arthur Anconetani Barbara Gault Ryan Whitney.
The Finite Element Method
General Procedure for Finite Element Method FEM is based on Direct Stiffness approach or Displacement approach. A broad procedural outline is listed.
ME 520 Fundamentals of Finite Element Analysis
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
Finite Element Method.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 21.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Model Construction: interpolation techniques 1392.
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
6. Introduction to Spectral method. Finite difference method – approximate a function locally using lower order interpolating polynomials. Spectral method.
1 Finite Elements. 2 Finite elements Formally identical to spectral technique Dependent variables expanded as linear combinations of basis local, non.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 31.
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D Conservation of Mass uu dx dy vv (x,y)
HEAT TRANSFER FINITE ELEMENT FORMULATION
1 EEE 431 Computational Methods in Electrodynamics Lecture 18 By Dr. Rasime Uyguroglu
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
The Finite Element Method A self-study course designed for engineering students.
Finite Element: Theory, Applications & Implementation Presented By: Arthur Anconetani Barbara Gault Ryan Whitney.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
1 Copyright by PZ Bar-Yoseph © Finite Element Methods in Engineering Winter Semester Lecture 7.
X1X1 X2X2  Basic Kinematics Real Applications Simple Shear Trivial geometry Proscribed homogenous deformations Linear constitutive.
Model Anything. Quantity Conserved c  advect  diffuse S ConservationConstitutiveGoverning Mass, M  q -- M Momentum fluid, Mv -- F Momentum fluid.
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
AN ILL-BEHAVED ELEMENT
EEE 431 Computational Methods in Electrodynamics
Introduction to the Finite Element Method
Finite Element Method in Geotechnical Engineering
FEA Introduction.
FEA Simulations Boundary conditions are applied
ECIV 720 A Advanced Structural Mechanics and Analysis
The Finite Element Method
Chapter 31.
Steady-State Heat Transfer (Initial notes are designed by Dr
Comparison of CFEM and DG methods
Presentation transcript:

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use 1-D FEM with linear elements. Also, you will only consider the isothermal case with the non- dimensionalized temperature set to 1. A sample program has been provided for you. Among the tasks are: –Check the sample program for bugs (especially the matrix element equations). –Place the boundary conditions into the matrix. –Modify the matrix storage for use of PETSC. –Look at different values of dissipation (both varying in time and space) and see how they affect the solution.

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 (cont’d 2) The sample code stores the matrix in a banded format:

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Higher Order Elements in 1-D The Lagrange family provides basis functions to approximate the solution to any degree polynomial in 1-D. To approximate a k th degree polynomial, we need k+1 nodes:

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Higher Order Elements in 1-D (cont’d 2) One possibility: The above expression does not satisfy the condition that Therefore,

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Higher Order Elements in 1-D (cont’d 3) Example for quadratic (k=2)

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering 2-D Finite Element Method for Isothermal Flow of Ionized Gas Through a Nozzle Robert Lee

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Differences from 1-D Case Method of weighted residuals applied over a surface rather than a line. Unknowns increase because velocity along two directions. Finite element basis functions are 2-D. The resulting matrix equation produces general sparse matrices.

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Differences from 1-D Case (cont’d 2) Gridding of geometry now becomes complicated. There are numerous choices for element shapes Errors present in both discretization of unknowns and the geometry.

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Equation of Interest After application of the method of weighted residuals, the equation of interest is

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Review of FEM The basis functions  j (x)  are generated by simple functions defined piecewise (element by element) over the FEM grid. The basis must be smooth enough such that their derivatives in the weight residual equation exists (assume n th order derivatives), i.e., FEM provides a systematic and very general way of generating the basis functions (usually polynomial approximations). The criteria are:

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Review of FEM (cont’d 2) The basis functions are chosen in such a way that the coefficients defining the unknown quantity are precisely the value of the unknown quantity at the nodes. There are two ways to find the basis functions over an arbitrary element. We will call them Method 1 and Method 2

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 1 for Triangles Consider a 3-node triangle. With 3 nodes, one has 3 degrees of freedom for the basis functions, An obvious choice for the placement of the nodes is at the vertices of the triangle. The basis functions will be continuous along the edges of the triangle as long as the unknowns at the nodes associated tith that edge are single valued.

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 1 for Triangles (cont’d 2) 1 3 2

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 1 for Triangles (cont’d 3)

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Higher Order Triangles Pascal’s triangle: Examples:

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Quadrilateral Elements The 4-node quadrilateral has bilinear behavior,

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Concept of Master Element Let us consider the concept of master element for the 1D case.

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Mapping from Master Element

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Mapping from Master Element (cont’d 2) e.g., if then

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 2 for Quadrilaterals The elements formed by method 2 are called isoparametric elements,

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 2 for Quadrilaterals (cont’d 2)

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 2 for Quadrilaterals (cont’d 3)

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 2 for Quadrilaterals (cont’d 4) The 2x2 matrix is referred to as the Jacobian matrix [J]. The determinant of the Jacobian matrix is

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 2 for Quadrilaterals (cont’d 5)

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Method 2 for Quadrilaterals (cont’d 6) Applying Gauss Quadrature,

CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering Accuracy of Mapping The accuracy of the FEM solution is highly dependent on the element shape. The best solutions are produced in those grids where the element is well-shaped (the best shape being a square) For quadrilaterals with inner angles greater than 180 degrees, the mapping may be outside the quadrilateral. Typically, we would like no inner angles greater than 150 degrees.