CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Pressure poisson equations linear system understanding

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2017, 16:30
Default Pressure poisson equations linear system understanding
  #1
New Member
 
Join Date: Mar 2017
Posts: 16
Rep Power: 9
AnasVFX is on a distinguished road
Hey, i am still a beginner and i understood the pressure poisson equation and how to derive it but i don't understand how we will put this in a matrix linear system and why is it sparse? I can't imagine what is in the matrix so please if anyone can make a basic figure of some rows and columns to clarify things for me
Is each row the equation for each fluid cell if we r talking about mac grid solving?

Thanks
AnasVFX is offline   Reply With Quote

Old   March 5, 2017, 17:15
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by AnasVFX View Post
Hey, i am still a beginner and i understood the pressure poisson equation and how to derive it but i don't understand how we will put this in a matrix linear system and why is it sparse? I can't imagine what is in the matrix so please if anyone can make a basic figure of some rows and columns to clarify things for me
Is each row the equation for each fluid cell if we r talking about mac grid solving?

Thanks

I suggest to start learning from a 1D example. You need to introduce the discretization of the second order derivative, for example using the second order accurate FD formula on structured grid. Each node has a discrete equation that involves surrounding nodes, this way you can see the tridiagonal structure of the matrix. Starting from that, you would go to 2D (matrix with 5 diagonals) and 3D (matrix with 7 diagonals) cases. Of course, if you use formulas of greater accuracy or if you work on unstructured grids, the numbers of entries in the matrix will change.
I also suggest to read basic textbooks
FMDenaro is offline   Reply With Quote

Old   March 6, 2017, 03:19
Default
  #3
New Member
 
Join Date: Mar 2017
Posts: 16
Rep Power: 9
AnasVFX is on a distinguished road
Can you give me sources for what you say
AnasVFX is offline   Reply With Quote

Old   March 6, 2017, 03:42
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
search on cfd-online, you will find some lists of CFD books
FMDenaro is offline   Reply With Quote

Old   March 6, 2017, 03:53
Default
  #5
New Member
 
Join Date: Mar 2017
Posts: 16
Rep Power: 9
AnasVFX is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
search on cfd-online, you will find some lists of CFD books
I am a beginner and i use solvers only for computer graphics so i can't dig a lot into cfd deep books. If you have something specific on the pressure projection linear system could you give me it? My problem is simple i just want to see the matrix before my eye with some elements in it even two or three rows.
AnasVFX is offline   Reply With Quote

Old   March 6, 2017, 04:00
Default
  #6
New Member
 
Join Date: Mar 2017
Posts: 16
Rep Power: 9
AnasVFX is on a distinguished road
Those equations are what i mean

https://drive.google.com/file/d/0B8x...w?usp=drivesdk
AnasVFX is offline   Reply With Quote

Old   March 6, 2017, 04:02
Default
  #7
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by AnasVFX View Post
I am a beginner and i use solvers only for computer graphics so i can't dig a lot into cfd deep books. If you have something specific on the pressure projection linear system could you give me it? My problem is simple i just want to see the matrix before my eye with some elements in it even two or three rows.

Your problem is only simple for people who already understand it. I do not think anyone has that much time to sit down and create a doc for you to understand.

Milovan Peric's book in starting chapter (3rd i guess) has that for you where he talks about matrix.

This book
https://books.google.co.in/books/abo...ir_esc=y&hl=en

has simple worked examples of 1 d and 2d that you can learn from.
arjun is offline   Reply With Quote

Old   March 6, 2017, 04:18
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
give your email, I have already some pages I have written fro my students, I cannot attach here due to the large dimension of the pdf
FMDenaro is offline   Reply With Quote

Old   March 6, 2017, 07:43
Default
  #9
New Member
 
Join Date: Mar 2017
Posts: 16
Rep Power: 9
AnasVFX is on a distinguished road
mnasa36@gmail.com
AnasVFX is offline   Reply With Quote

Old   March 6, 2017, 10:59
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by AnasVFX View Post

ok, just sent
FMDenaro is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Steady-State and Transient Solvers 70m1 OpenFOAM Running, Solving & CFD 21 May 8, 2021 07:09
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 05:35
Static or Total Pressure Inlet Boundary, Understanding problem Overdue CFX 13 August 4, 2016 07:25
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 15:00


All times are GMT -4. The time now is 03:06.