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

Uncategorized

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

Uncategorized Entries with no category
Old

Unstructured + Boundary Layer Meher Code

Posted January 10, 2015 at 19:08 by truffaldino

Zip archive contains

bc.f95 - auxiliary program which takes x y airfoil coordinate file and produces contour (bc) files for furteruse by meher dist_mesh_new.f95

bl.f95 - auxiliary program which takes x y airfoil file and produces sub mesh (boundary layer) file for further use by mesher dist_mesh_new.f95

dist_mesh_new.f95 - mesher


IMPORTANT !!!!!! : Read "ReadMe.txt" before using the code

Make appropriate changes Pathes/filenames...
Attached Thumbnails
Click image for larger version

Name:	mesh1.jpg
Views:	170
Size:	80.1 KB
ID:	286   Click image for larger version

Name:	mesh1_le.jpg
Views:	170
Size:	88.6 KB
ID:	287   Click image for larger version

Name:	mesh1_te.jpg
Views:	172
Size:	45.5 KB
ID:	288  
Attached Files
File Type: zip dist_mesh_new.zip (39.3 KB, 101 views)
File Type: txt ReadMe.txt (7.7 KB, 112 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 731 Comments 0 truffaldino is offline Edit Tags
Old

Example 3 for dist_mesh_new.f95

Posted December 31, 2014 at 17:16 by truffaldino

1) use bl.f95 and e184.txt (or .dat) as input for bl.f95 to generate boundary-layer submesh file e184_bl.txt (or .dat) for further use by dist_mesh_new.f95

2) run Example 2 of dist_mesh_new.f95 (look the code) using input files:

mum_m=1
m_file(1)="e184_bl.txt"
num_c=2
c_file(1)="wt_bc.txt"
c_file(2)="wake_bc.txt"
Attached Files
File Type: txt e184.txt (3.7 KB, 94 views)
File Type: txt wt_bc.txt (184 Bytes, 75 views)
File Type: txt wake_bc.txt (5.5 KB, 82 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2683 Comments 0 truffaldino is offline Edit Tags
Old

Example 2 for dist_mesh_new

Posted December 31, 2014 at 17:13 by truffaldino

1) use bl.f95 and naca0012.txt (or .dat) as input for bl.f95 to generate boundary-layer submesh file naca0012_bl.txt (or .dat) for further use by dist_mesh_new.f95

2) run Example 2 of dist_mesh_new.f95 (look the code) using input files:

mum_m=1
m_file(1)="naca0012_bl.txt"
num_c=2
c_file(1)="wt_bc.txt"
c_file(2)="wake_bc.txt"
Attached Files
File Type: txt naca0012.txt (3.7 KB, 74 views)
File Type: txt wt_bc.txt (184 Bytes, 66 views)
File Type: txt wake_bc.txt (5.5 KB, 66 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2232 Comments 0 truffaldino is offline Edit Tags
Old

Example1 for mesher dist_mesh

Posted December 31, 2014 at 17:01 by truffaldino

Example1: input files for dist_mesh_new.f95
Attached Files
File Type: txt test_contour.txt (82 Bytes, 71 views)
File Type: txt test_contour1.txt (86 Bytes, 78 views)
File Type: txt test_foil_bl.txt (2.7 KB, 85 views)
File Type: txt test_foil_bl1.txt (3.1 KB, 76 views)
File Type: txt wt_test_bc.txt (184 Bytes, 81 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 1524 Comments 0 truffaldino is offline Edit Tags
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, 318 views)
File Type: txt cavity_bc.txt (65 Bytes, 180 views)
File Type: txt NACA0012_bc.txt (16.6 KB, 215 views)
File Type: txt wt_bc.txt (184 Bytes, 176 views)
File Type: txt wake_bc.txt (5.5 KB, 302 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 1395 Comments 3 truffaldino is offline Edit Tags

All times are GMT -4. The time now is 11:24.