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

truffaldino

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

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

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

Name:	mesh1_te.jpg
Views:	12491
Size:	45.5 KB
ID:	288  
Attached Files
File Type: zip dist_mesh_new.zip (39.3 KB, 11940 views)
File Type: txt ReadMe.txt (7.7 KB, 12045 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 1380 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, 12036 views)
File Type: txt wt_bc.txt (184 Bytes, 12114 views)
File Type: txt wake_bc.txt (5.5 KB, 11982 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 3416 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, 11995 views)
File Type: txt wt_bc.txt (184 Bytes, 12007 views)
File Type: txt wake_bc.txt (5.5 KB, 11999 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2850 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, 11967 views)
File Type: txt test_contour1.txt (86 Bytes, 11983 views)
File Type: txt test_foil_bl.txt (2.7 KB, 12012 views)
File Type: txt test_foil_bl1.txt (3.1 KB, 12019 views)
File Type: txt wt_test_bc.txt (184 Bytes, 11963 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2145 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, 12305 views)
File Type: txt cavity_bc.txt (65 Bytes, 12188 views)
File Type: txt NACA0012_bc.txt (16.6 KB, 12225 views)
File Type: txt wt_bc.txt (184 Bytes, 12271 views)
File Type: txt wake_bc.txt (5.5 KB, 12226 views)
truffaldino's Avatar
Senior Member
Posted in Uncategorized
Views 2854 Comments 3 truffaldino is offline Edit Tags

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