0% found this document useful (0 votes)
10 views2 pages

SIMPLE Algorithm Flowchart Guide

Uploaded by

rana.kareem
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

SIMPLE Algorithm Flowchart Guide

Uploaded by

rana.kareem
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SIMPLE Algorithm Flowchart (Visual Style)

START

Initial guess: p*, u*, v*, φ*

STEP 1: Solve discretised momentum equations


aᵤ u* = Σ a_nb u_nb + (p*_{i,j−1} − p*_{i,j}) Aᵤ + bᵤ
aᵥ v* = Σ a_nb v_nb + (p*_{i−1,j} − p*_{i,j}) Aᵥ + bᵥ

→ Results: u*, v*

STEP 2: Solve pressure correction equation


aₚ' p'_{i,j} = a_{i−1,j} p'_{i−1,j} + a_{i+1,j} p'_{i+1,j} +
a_{i,j−1} p'_{i,j−1} + a_{i,j+1} p'_{i,j+1} + b'_{i,j}

→ Result: p'

STEP 3: Correct pressure and velocities


p_{i,j} = p*_{i,j} + p'_{i,j}
u_{i,j} = u*_{i,j} + dᵤ (p'_{i,j−1} − p'_{i,j})
v_{i,j} = v*_{i,j} + dᵥ (p'_{i−1,j} − p'_{i,j})

→ Updated: p, u, v

STEP 4: Solve all other discretised transport equations


a_φ φ_{i,j} = a_{i−1,j} φ_{i−1,j} + a_{i+1,j} φ_{i+1,j} +
a_{i,j−1} φ_{i,j−1} + a_{i,j+1} φ_{i,j+1} + b_{φ,i,j}

→ Result: φ

Check Convergence?

If No:
Set: p* = p, u* = u, v* = v, φ* = φ and repeat

If Yes:
STOP

You might also like