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

truffaldino

Register Blogs Community New Posts Updated Threads Search

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:	17183
Size:	80.1 KB
ID:	286   Click image for larger version

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

Name:	mesh1_te.jpg
Views:	17531
Size:	45.5 KB
ID:	288  
Attached Files
File Type: zip dist_mesh_new.zip (39.3 KB, 16654 views)
File Type: txt ReadMe.txt (7.7 KB, 16722 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 1539 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, 16741 views)
File Type: txt wt_bc.txt (184 Bytes, 17068 views)
File Type: txt wake_bc.txt (5.5 KB, 16668 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 3615 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, 16572 views)
File Type: txt wt_bc.txt (184 Bytes, 16624 views)
File Type: txt wake_bc.txt (5.5 KB, 16724 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 3037 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, 16671 views)
File Type: txt test_contour1.txt (86 Bytes, 16588 views)
File Type: txt test_foil_bl.txt (2.7 KB, 16682 views)
File Type: txt test_foil_bl1.txt (3.1 KB, 16686 views)
File Type: txt wt_test_bc.txt (184 Bytes, 16618 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2334 Comments 0 truffaldino is offline Edit Tags
Old

2D unstructured mesher in F90

Posted August 9, 2012 at 09: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, 16940 views)
File Type: txt cavity_bc.txt (65 Bytes, 16921 views)
File Type: txt NACA0012_bc.txt (16.6 KB, 16915 views)
File Type: txt wt_bc.txt (184 Bytes, 17202 views)
File Type: txt wake_bc.txt (5.5 KB, 16862 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 3203 Comments 3 truffaldino is offline Edit Tags

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