LISTSERV mailing list manager LISTSERV 16.5

Help for ME452W Archives


ME452W Archives

ME452W Archives


ME452W@LISTSERV.UTK.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ME452W Home

ME452W Home

ME452W  April 2011

ME452W April 2011

Subject:

Re: Lab 12 TWS Conversion

From:

"Baker, Allen Jerome" <[log in to unmask]>

Reply-To:

me452w <[log in to unmask]>

Date:

Wed, 13 Apr 2011 22:27:53 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (34 lines)

Spero, your code is precisely correct.  You must specifically name the data "h" in your code for it to work.  AJB

A.J. Baker, PhD, PE
Professor Emeritus
Director, UT CFD Laboratory, http://cfdlab.utk.edu
University of Tennessee
Knoxville TN 37996 2030 USA
Cell: 865.207.1537

________________________________________
From: me452w [[log in to unmask]] on behalf of Peters, Spero Michael
Sent: Wednesday, April 13, 2011 4:17 PM
To: [log in to unmask]
Subject: Lab 12 TWS Conversion

Dr. Baker,

I'm working through Lab 12, and I'm not quite sure how to properly convert the GWS code to a TWS, unfortunately it seems that the video lecture labled as dealing with Lab 12 actually has you going over Lab 13.  I took the liberty of sending this through the listserv as your answer can benefit the whole class

Based on pseudo code in the problem statement, I put together this code to add onto the 'Equations for Set 0'  where h is

h = (right_X - left_X)/mesh   where mesh is 10,20,40,80

Orginal GWS code+...
+asres2D((h^2)*Pe/12,[ ],[ ],-1,'B211L',q)...
+asres2D((h^2)*Pe/12,[ ],[ ],-1,'B212L',q)...
+asres2D((h^2)*Pe/12,[ ],[ ],-1,'B221L',q)...
+asres2D((h^2)*Pe/12,[ ],[ ],-1,'B222L',q);

I'm not sure how I miss-implemented the TWS solution, other than perhaps not adding in something in the jacobian portion?

Thank you
Spero Peters

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008

ATOM RSS1 RSS2



LISTSERV.UTK.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager