|
[Sponsors] |
December 15, 2000, 06:53 |
divergence in MAC Method
|
#1 |
Guest
Posts: n/a
|
hello.
i have new problem with my program. i see than divergence equations fails. my divergence equation is: D[i][j] = (U[i][j] - U[i-1][j])/dx + (V[i][j] - V[i][j-1]; in paper by Harlow Welch (MAC method) he write than divergence cannot be larger than 3.5 * 10^(-4). Ok, but when divergence is too big for one of cells, then i cannot make it smaller (when i less dt, Divergence dont change). Any ideas? /// maq ps. just small question - width of output = 256 height of output = 256 number of cells x = 64 number of cells y = 64 thats means than dx,dy = 256/4 ??? |
|
December 15, 2000, 11:00 |
errata :)
|
#2 |
Guest
Posts: n/a
|
sorry: of corse:
D[i][j] = (U[i][j] - U[i-1][j])/dx + (V[i][j] - V[i][j-1]; and dx,dy = 256/64??? sorry. anyway anybody know? |
|
December 19, 2000, 10:43 |
Re: errata :)
|
#3 |
Guest
Posts: n/a
|
dear maq check ur D eqns, dy is missing there.if it is the typing mistake here alone, then the culprit is the way u evaluate the u and v.
u(i,j) is average of u(i,j) and u(i-1,j) and u(i-1,j) is average of u(i-2,j) and u(i-1,j) and so forth.check this out by senthil. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MAC method solve for pressure at boundry | Ron | Main CFD Forum | 2 | January 28, 2006 02:14 |
MAC method | shvia | Main CFD Forum | 1 | September 20, 2004 09:07 |
The MAC Method | Maciej Matyka | Main CFD Forum | 6 | November 12, 2000 15:51 |
use of MAC method to solve sloshing problem. | S.R.SAHI | Main CFD Forum | 1 | April 15, 1999 22:28 |
Marker And Cell method (MAC) | Albert Badal | Main CFD Forum | 0 | February 27, 1999 19:53 |