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

Blog Entries

Register Blogs Members List Search Today's Posts Mark Forums Read

Old

2D unstructured mesher in F90

Posted August 9, 2012 at 08:23 by truffaldino

This is 2D unstructured mesher.

tri_mesh.f90 is a mesher and the rest are input files

Example 1: Cavity flow driven by upper cavity wall

file: cavity_bc.txt

Example 2: flow past NACA 0012 airfoil

files: NACA0012_bc.txt - airfoil
wt_bc.txt - wind tunnel
wake_bc.txt -wake

Description of the program is placed in the header of tri_mesh.f90
Attached Files
File Type: f tri_mesh.f (100.5 KB, 238 views)
File Type: txt cavity_bc.txt (65 Bytes, 124 views)
File Type: txt NACA0012_bc.txt (16.6 KB, 147 views)
File Type: txt wt_bc.txt (184 Bytes, 122 views)
File Type: txt wake_bc.txt (5.5 KB, 233 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 904 Comments 3 truffaldino is offline Edit Tags
Old

Flux computation in unstructured grids

Posted July 16, 2010 at 10:49 by praveen (CFD, Numerical Analysis, Scientific Computing)

Consider finite volume scheme on unstructured grids for the Euler equations.

Let n=(n_x,n_y,n_z) be normal to a cell face and whose magnitude is equal to face area. Let Q be the conserved vector. The finite volume update equation using forward Euler time discretization is

Q^{n+1}_j = Q^n_j - \Delta t \sum_{k \in N(j)} F(Q_j^n, Q_k^n, n_{jk})

Here n_{jk} is a normal vector pointing from current cell "j" into the neighbouring cell...
praveen's Avatar
Super Moderator
Views 2380 Comments 0 praveen is offline Edit Tags

All times are GMT -4. The time now is 16:05.