1 G Flat Plate Boundary Layer

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Gambit - Generation of Grid for a Flat Plate Boundary Layer

Gambit - Generation of Grid for a Flat Plate Boundar La er


UAS-CAE, 17 Jul 2020, 8:00 a. .

Introduction and Instructions:

I hi d c e i a ced e ha e ab e de ge e a e a c ed ( ec a g a ) g id, hich i be


ed e f b h a i a a d b e b da a e f e a f a a e i h he CFD ga ,
F e . Reade h d a ead be fa iia i h he a i ed i hi d e, a de c ibed i he ea i g
d e, F e a d Ga bi - I d c i a d Ge e a I f a i .

1. We i de f e a f a a e a ig ed a a e he f ee ea f . Beca e f he e ,
e ha f ( he e ha f) f he ge e eed be ge e a ed. The g id i be f ed b a
i e ec a g e a e ched be ( ca e):

2. I he e ch, i he f ee ea f di ec i , a a e he f a a e. C di a e ie a
he a e (" " i he fig e). The di ec i i f he age. The be i -di e i a ,
i agi e ha he a e e e d i fi i i he di ec i . H e e , f e f ca c a i g d ag
c efficie , e c., defi e b a he a ( de h) f he a e i he di ec i . b i ge e a a e
be e i e g h (1 ) f c e ie ce, a d d ag f ce FD i e ed a d ag e i a ( d ag
e i de h) i i f N/ .
3. The e g h f he f a a e i L = 0.5 , a d he heigh f he c a i a d ai i H = 0.40 .
4. The i e i ca ed fa e gh ea f he a e ha if f ee ea f e i . I hi
e a e, he i e i eadi g = 0.1 ea f he eadi g edge f he f a a e.
5. The g id i hi e a e a a 40 b 30, b he g id ada a i fea e f F e i be ii ed
efi e he g id he e ece a . O he a i g g id de i ie ca be ge e a ed, f c e, b e e i g
diffe e a e i he i c i be .
6. I de ade a e e e he b da a e a g he a , g id i i be c e ed ea he
a . Fa a a f a , he e he f d e ha e a ge e ci g adie , he g id i ca
be e fa a a . G id ada a i i i c ea e he g id de i e e e ea he a he e eeded.

Launch Gambit:

1. L g he GAMBIT in your c e .

1/4
Gambit - Generation of Grid for a Flat Plate Boundary Layer

.
2. I ,S -F 5/6. T F G
.

Create some data points (vertices) for the desired geometr :

1. F , , . I Geometr , V
C B -R-C V -F C . I Create Real Verte -Global, 0, 0,
0 , , .T , . ., " ",
A .A , .
2. C (-0.1,0,0). Y " " .
3. I ,
, . . (0.5,0,0), (0.5,H,0), (-0.1,H,0). Y (" ",
" ", " " ), G
.
4. F , , =0 .E
(0,H,0) " " .
5. A , .T
.Y , .O ,
( !), Global Control (
), F W ( ).
6. I G , F -S .T .I
, .

Create edges from these vertices to define the computational domain:

1. N
.U Geometr , E C B . (N :I ,
!I , .)
2. U Edge, , C E , S . (I
,
R-C E -S .)
3. I Create Straight Edge, Vertices - ,
.V S + .S ,
, .
4. T .I " "
.A .G .A
.
5. I , ,
, .I , " "
" " .
6. G , " ".
7. F , -
( ), .R
" " " " " " " ".
8. N C Create Straight Edge .
9. I G , F -S .T .I
, .

Generate a face above the flat plate from the available edge 2/4
Gambit - Generation of Grid for a Flat Plate Boundary Layer

1. Unde Geometr , Face Command B on-R-Fo m Face-Wi ef ame.


2. I i impo an o elec he edge in order hen c ea ing a face f om e i ing edge . (I like o elec
hem in ma hema icall po i i e co n e clock i e o de ). Selec he igh mo edge fi , follo ed b
he op igh edge, he op lef edge, he lef mo edge, he edge p eam of he fla pla e, and hen
finall he edge ep e en ing he pla e i elf. The e edge o line a clo ed face.
3. In Create Face From Wireframe, pe in a label fo hi face if de i ed ("domain" i gge ed), and
Appl . If all en ell, a p e bl e o line of he face ho ld appea on he c een; hi i a face,
hich i no ead o be me hed.

Define node points along the edges:

1. In Operation, Me h Command B on-Edge Command B on. Mesh Edges ho ld be he defa l


indo ha open ; if no , Me h Edge .
2. Selec he lef mo (inle ) edge, and in Mesh Edges, change he Spacing op ion f om In e al Si e o
In e al Co n . En e he n mbe 30 a he Interval Count. I i de i able o cl e o b nch node
clo e o he pla e. Thi i accompli hed b changing Ratio (in he Grading ec ion of he Mesh Edges
indo ). A Ra io of 1.05 i ecommended o ha he node a e cl e ed nea he bo om. Hi he
Enter ke on he ke boa d o p e ie he node di ib ion. If he cl e ing i back a d f om he
a o de i e, click on he Re e e b on. Appl . Bl e ci cle ho ld appea a each c ea ed node
poin along ha edge.
3. P he ame node di ib ion on he igh mo edge ( he o le ). Yo ma o ma no ha e o Re e e
he di ib ion, depending on he di ec ion in hich o c ea ed he edge. Don' fo ge o Appl ;
o he i e he node di ib ion i no a ed.
4. Selec he lef po ion of he bo om edge ( he pa p eam of he pla e). Change Interval Count o
10. Thi ime, e an o cl e he node nea he leading edge of he pla e. Thi ime, e Ratio o
1.10, and Re e e if nece a o ha he cl e ing i in he co ec di ec ion. Appl .
5. Simila l , define 30 node poin along he pla e i elf, cl e ed nea he leading edge of he pla e.
6. Define he ame di ib ion on he o op edge a on he o bo om edge o ha he me h line
ill be e ical. Thi i no nece a , b make he me h look nice , and ec ang la cell lead o
be e con e gence. Don' fo ge o Appl each ime, o he node ill no ac all be a ed.
7. When all edge ha e been a igned node , Clo e he Me h Edge indo .

Specif the boundar t pes on all edges:

1. In o de fo he me h o be p ope l an fe ed o Fl en , he edge m be a igned bo nda pe ,


ch a all, inle , o le , e c. Ac al n me ical al e , ch a inle eloci , ill be pecified a
bo nda condi ion f om i hin Fl en i elf. In Operation, Zone Command B on-Specif
Bo nda T pe Command B on.
2. In he Specif Boundar T pes indo , change Entit o Edge ( he defa l i all Face ). In hi
p oblem, hich i 2-D, bo nda condi ion ill be applied o edge a he han o face .
3. Selec he lef -mo edge of he comp a ional domain, hich ill become an inle . Change T pe o
Veloci _Inle , and pe in he name "inle ". Appl . Some o d indica ing hi bo nda condi ion ill
appea on he Transcript (loca ed in he lo e lef po ion of he c een).
4. Selec he igh -mo edge. In imila fa hion, make hi a P e e O le named "o le ". Be e o
Appl , o he bo nda condi ion ill no ac all be changed.
5. Selec both of he op-mo edge . The e o edge ill be combined in o one bo nda fo Fl en ,
hich ill al o be a p e e o le . The label " op" i gge ed. Appl .
6. Selec he ho i on al edge nning f om he lo e lef o he o igin ( he one called "leading"). Selec i
T pe a S mme , and label i "leading". Appl .
3/4
Gambit - Generation of Grid for a Flat Plate Boundary Layer

7. Finall , Selec he edge defining he fla pla e i elf. Name hi bo nda "fla _pla e" o "pla e", and
change T pe o Wall. Appl .
8. To e if ha all he bo nda condi ion ha e been en e ed co ec l , n on Sho Label , and oom
o (d ag igh mo e b on p) o ee all he bo nda condi ion label .
9. Clo e he Specif Boundar T pes indo .

Generate the mesh on the face:

1. Unde Operation, Me h Command B on-Face Command B on. The defa l indo ha pop p
ho ld be Mesh Faces. If no , Me h Face .
2. Selec he face b hif clicking on one of i edge . Elements ho ld be Q ad b defa l ; if no ,
change i . Al o change T pe o Map if nece a . T n he Spacing op ion off ince node ha e
al ead been defined on all edge of hi face.
3. Gene a e he me h b Appl . If all goe ell, a c ed me h ho ld appea . Zoom in o ee ho
he cell a e nicel cl e ed nea he leading edge of he fla pla e. Thi ill help Fl en o e ol e he
bo nda la e along he fla pla e.
4. Zoom back o o ha he en i e me h can be clea l een. Thi i mo ea il accompli hed b
clicking on Fi o Windo in he Graphics/Windows Control ( he b on ha look like o pape
ai plane nea he bo om igh of he c een).
5. Clo e he Mesh Faces indo .

Write out the mesh in the format used b Fluent, and then e it Gambit:

1. In he main Gambi indo , File-E po -Me h. T n on E po 2d me h, and Accep . (The defa l file
name can be changed he e if de i ed, b he defa l name i accep able in hi ca e.)
2. When he Transcript info m o ha he me h i done, File-E i -Ye .
3. When Gambi e i , he DOS hell ill e-appea . En e "di *.m h" o ee he me h file c ea ed b
Gambi . The e ho ld be a file i h oda ' da e and ime called "name.m h", he e name i he
name o p e io l cho e fo he i le of hi e ion, e.g. "fla pla e_UAS-CAE". Thi i he
me h file o be ed b Fl en .
4. The me h file ho ld no be ead fo e b Fl en . Yo ma mo e on o he ne lea ning mod le,
Fl en - Lamina Fla Pla e Bo nda La e , hich de c ibe ho o n hi ca e i h he CFD
ol e , Fl en .

4/4

You might also like