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

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

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

Example 3 for dist_mesh_new.f95

Posted December 31, 2014 at 16: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, 15433 views)
File Type: txt wt_bc.txt (184 Bytes, 15617 views)
File Type: txt wake_bc.txt (5.5 KB, 15359 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 3553 Comments 0 truffaldino is offline Edit Tags
Old

Example 2 for dist_mesh_new

Posted December 31, 2014 at 16: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, 15323 views)
File Type: txt wt_bc.txt (184 Bytes, 15331 views)
File Type: txt wake_bc.txt (5.5 KB, 15421 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2975 Comments 0 truffaldino is offline Edit Tags
Old

Example1 for mesher dist_mesh

Posted December 31, 2014 at 16:01 by truffaldino

Example1: input files for dist_mesh_new.f95
Attached Files
File Type: txt test_contour.txt (82 Bytes, 15352 views)
File Type: txt test_contour1.txt (86 Bytes, 15301 views)
File Type: txt test_foil_bl.txt (2.7 KB, 15388 views)
File Type: txt test_foil_bl1.txt (3.1 KB, 15386 views)
File Type: txt wt_test_bc.txt (184 Bytes, 15310 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2269 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, 15658 views)
File Type: txt cavity_bc.txt (65 Bytes, 15612 views)
File Type: txt NACA0012_bc.txt (16.6 KB, 15587 views)
File Type: txt wt_bc.txt (184 Bytes, 15769 views)
File Type: txt wake_bc.txt (5.5 KB, 15575 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 3100 Comments 3 truffaldino is offline Edit Tags

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