|
[Sponsors] |
October 30, 2000, 05:36 |
The MAC Method
|
#1 |
Guest
Posts: n/a
|
Hello everybody. At first - sorry for my pure english.
Im Polish student of Physic at University of Wroclaw. Im beginner in CFD, but im learning. Im working 2d program to simulate fluid motion. My C code base on algorithm presented in "The MAC Method for incompressible, viscous..." by Harlow, Welch (1965 Los Alamos). In general - program is finished, but didnt work correctly. I cannot change general algorithms myself, becouse i didnt understand 100% of that technique (e.g. pressure relaxiation). Anyway, my questions are: 1) Anybody work with algorithms prescribed in that Harlow's and Welch paper? 2) If yes - have you problems with that algorithm? Maybe there are some part missing??? 3) I have also problems with free surface calculations, and boundary conditions (not described in that paper). At the moment im interesting only in NOSLP walls (i just wanna run that program to satisfy me at the moment - not solving complicated problems). thanx, and sorry if i do anything wrong - its my first mail on that forum, i believe you undersand me Maciej Matyka ps. I spend lot of my time on that program (~4 months) and i cannot finish that program. help me if anybody work with that methods... |
|
October 31, 2000, 19:52 |
Re: The MAC Method
|
#2 |
Guest
Posts: n/a
|
Hi,Matyka,
I also worked on the MAC method for a few months, and I could not get the correct result. There were many modifications(or improvements) after that orginal paper you mentioned. So maybe you can read some more paper on MAC. As to me,I changed to another method(VOF)at last. Good Luck! Ma |
|
October 31, 2000, 20:15 |
Re: The MAC Method
|
#3 |
Guest
Posts: n/a
|
Hello Maciej
The MAC method solves a Poisson eq for pressure which is derived from the continuity eq. The source term of the Poisson eq. is then given from the NS eq. So, 1) it finds first the source term with old velocity field. 2) solves Poisson eq till pressure field is converged 3) solives new velocity explicitly with the converged pressure. 4) moves marker particles with tne new velocity 5) go to the step 1) I think you may find some information from other reports. 1) Chan, R.K.-C., Street, R.L. 1970, "SUMMAC- a numerical model for water waves", technical report no.135, dept. of civil engr., Stanford univ. : it is a very kind report written on the MAC method. it treats the dynamic pressure boundary condition using 'irregular stars' when solving Poisson eq. for pressure. 2)C. W. Hirt, et al, 1975, "SOLA : a numerical solution algorithm for transient fluid flows" : you can download this report from LANL www.lanl.gov it has the same idea as the MAC method except for pressure boundary condition. 3)H. Miyata, 1985, "Finite Difference Simulation of Nonlinear Ship Waves", JFM, vol 157 :The method is called TUMMAC which treats body boudary using some segments. |
|
November 3, 2000, 06:09 |
Re: The MAC Method
|
#4 |
Guest
Posts: n/a
|
you thing VOF method is easier? my MAC solver works, and im still interesting in new methods of fluid calculations. where can i download any infos about VOF? (im asking, becouse i spend lot of weeks to search good papers about MAC method...).
btw. i didnt find any good examples of MAC method. for a couple of weeks (when i port my MAC solver for linux stations) i will put info here with url of my homepage with full source code of MAC program. i thing its very important for beginners in CFD (like me). // maq |
|
November 4, 2000, 13:36 |
Re: The MAC Method
|
#5 |
Guest
Posts: n/a
|
It's very nice of you to put the source code on web.
As to the VOF, I remember there is a papar about Level Set and VOF method in JCP, 162. I have changed to studying high speed flow. Ma |
|
November 6, 2000, 04:08 |
Re: The MAC Method
|
#6 |
Guest
Posts: n/a
|
"VOF method in JCP, 162" hmm... is any web page with JCP reprints? my Univeristy didnt buy it...
/// maq |
|
November 12, 2000, 16:51 |
Re: The MAC Method
|
#7 |
Guest
Posts: n/a
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MAC method solve for pressure at boundry | Ron | Main CFD Forum | 2 | January 28, 2006 03:14 |
MAC method | shvia | Main CFD Forum | 1 | September 20, 2004 10:07 |
MAC method | Farid Babadi | Main CFD Forum | 4 | March 4, 2003 10:16 |
divergence in MAC Method | Maciej Matyka | Main CFD Forum | 2 | December 19, 2000 11:43 |
use of MAC method to solve sloshing problem. | S.R.SAHI | Main CFD Forum | 1 | April 15, 1999 23:28 |