MATLAB PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Software MATLAB PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1. Lab #4 Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 18
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
LAB 4: Introduction to MATLAB PDE Toolbox and SolidWorks Simulation
Objective:
The objective of this laboratory is to introduce how to use MATLAB PDE toolbox and
SolidWorks Simulation to solve two-dimensional steady-state and transient conduction heat
transfer problems.
Background for MATLAB PDE Toolbox:
This document provides some simple instructions for getting started with the partial differential-
equation (PDE) toolbox in MATLAB. The PDE toolbox uses the finite element method (FEM)
to solve a wide variety of elliptic, parabolic, and hyperbolic PDEs that are two-dimensional in
space. We have been solving steady state conduction problems governed by the elliptic equation
−∇ k T
( )
=
˙
Q + h T
ext
T
( )
[ ]
w
(1)
where T(x, y) is the two-dimensional temperature distribution, k is thermal conductivity,
˙
Q
is
internal heat generation, h is convection coefficient, T
ext
is external temperature, and w is width.
The last term is for the special case of heat transfer from the faces of the domain at z = 0 and w
as shown for a rectangular geometry in Figure 1. We have not previously used this term. We will
set h = 0 to indicate either insulated faces or w much larger than the x and y dimensions. For
transient problems the PDE toolbox uses the implicit finite difference method. We have been
solving transient conduction problems governed by the parabolic equation
ρ
C
T
t
k T
( )
=
˙
Q + h T
ext
T
( )
[ ]
w
(2)
where T(x, y, t) is now the transient two-dimensional temperature distribution,
ρ
is density, C is
specific heat, and t is time.
Figure 1. Schematic of rectangular domain.
x
y
z
w
Vista de página 0
1 2 3 4 5 6 ... 17 18

Resumo do Conteúdo

Página 1

LAB 4: Introduction to MATLAB PDE Toolbox and SolidWorks Simulation Objective: The objective of this laboratory is to introduce how to use MATLAB

Página 2

10 To save the brick as a part, from the toolbar at the top of the window use the File pull-down menu to save the Part as “brick”. To also save the

Página 3

11 To create the unstructured mesh, in the Simulation Tree right click on Mesh and select Create Mesh from the pop-up menu. In the Mesh Parameters w

Página 4 - + q T = g

12 window select floating from the pull-down menu and set the number of decimal places to 0. In the Color Options window set the number of chart colo

Página 5 - •K, Q = 0, h = 0, and T

13 Nonlinear Solver To make this problem non-linear the thermal conductivity will once again be made temperature dependent. To create a new simulati

Página 6

14 window for the Section Plane select the front face of the brick (that is normal to the z-axis), set the Section depth to 0.10 m, and then click th

Página 7 - •K, k = 1 W/m•K, Q = 0

15 Properties from the pop-up menu. In the Thermal window under the Options tab select Transient and verify that the Total time is set to 1 sec and t

Página 8 - + a u = f

16 convection) than the back (with zero hero heat flux). You can also verify the difference in temperature from the front to the back using temperatu

Página 9

17 Assignment: For this assignment, you will mainly reproduce the results obtained in Lab 3 for Parts 1, 2, 4, and 5 (we cannot easily control the r

Página 10

18 4. Using the PDE toolbox solve for the temperature distribution with variable thermal conductivity (make sure to change your function for k to the

Página 11

2 There are several steps involved in correctly specifying and solving any PDE problem. The typical order in which these steps are handled for FEM is

Página 12

3 Laboratory: Getting started with MATLAB PDE Toolbox To get started, launch MATLAB by double-clicking the icon on the desktop. Once there, you can

Página 13

4 starting with an empty window first draw a rectangle that should be indicated as “R1” (or rectangle one) in the Set formula window. Next, draw an e

Página 14

5 When you are done you should see Dirichlet boundary conditions colored red and Neumann and mixed boundary conditions colored blue. For this labora

Página 15

6 MATLAB environment you will find p, e, and t in your workspace as matrices. To get more information on how each of these variables contain mesh dat

Página 16

7 Use each of these at least once to manipulate and visualize the data. Nonlinear Solver We will now consider how to handle variable properties whi

Página 17

8 Solving PDEs Programatically Although the PDE Toolbox GUI is a useful way to solve PDEs, the flexibility of using command-line functions is someti

Página 18

9 tlist = linspace(0, tf, nt); % time, tf is final time, nt is number of time steps use the following function for a linear equation u1 = para

Comentários a estes Manuais

Sem comentários