CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

boundary layer development in gambit

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By -mAx-

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2013, 05:10
Exclamation boundary layer development in gambit
  #1
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 15
maaz is on a distinguished road
i am working on wind effects on high rise building..i have to develop boundary layer along the wall on computational domain and building as well...gambit is showing message..initialization failed...with error code 1...i am unable to resolve this..kindly help me...
maaz is offline   Reply With Quote

Old   September 19, 2013, 06:16
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
more info please, with pictures
maaz likes this.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 20, 2013, 02:25
Default kindly help me out...
  #3
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 15
maaz is on a distinguished road
hi max..
i have to develop boundary layer on the ground and building surface..i am attaching pics here,, kindly look into it.. and help me ..out..thanx
whole computational domain.jpg

computational domain from different angles.jpg

high rise building.jpg
maaz is offline   Reply With Quote

Old   September 20, 2013, 02:33
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
then pick surfaces of ground and building...
take care of first cell's height.
If you give an exotic value, then the BL propagation may fail
http://aerojet.engr.ucdavis.edu/gamb..._blayer_create
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 21, 2013, 04:19
Default
  #5
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 15
maaz is on a distinguished road
max thanx for your response...i have changed the geometry of computational domain to resolve the error..
maaz is offline   Reply With Quote

Old   September 23, 2013, 04:33
Default
  #6
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 15
maaz is on a distinguished road
max.. can you tell me about the aspect ratio for boundary layer ....
maaz is offline   Reply With Quote

Old   September 23, 2013, 04:49
Default
  #7
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
http://aerojet.engr.ucdavis.edu/gamb...spec_algorithm
with aspect ratio algorithm, you don't have fixed first cell' s height.
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 24, 2013, 00:32
Default
  #8
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 15
maaz is on a distinguished road
no dear the thing i wanna ask is that when we examine the mesh and in the option of quality type we click aspect ratio , then what is the range of this value that is best suited for a mesh.
maaz is offline   Reply With Quote

Old   September 24, 2013, 02:34
Default
  #9
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
from Help: "However, a general rule of thumb is to avoid aspect ratios in excess of 5:1. " --> http://aerojet.engr.ucdavis.edu/flue...ug/node155.htm

I would simply load the mesh in the solver and run a check mesh
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   September 27, 2013, 03:51
Default problem in udf for velocity proflie
  #10
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 15
maaz is on a distinguished road
/************************************************** *********************

vprofile.c UDF for specifying steady-state velocity profile boundary condition

************************************************** **********************/ #include "udf.h"

DEFINE_PROFILE(inlet_x_velocity, thread, position)
{
real x[ND_ND]; /* this will hold the position vector */
real y; face_t f;

begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[1];
(
F_PROFILE(f, thread, position) = (10 + y/12.5)*cos(5.0/180.*3.1415927); }
end_f_loop(f, thread) }

DEFINE_PROFILE(inlet_y_velocity, thread, position)
{
/* insert your own code here*/
}




max....in this udf while defining
F_PROFILE(f, thread, position) = (10 + y/12.5)*cos(5.0/180.*3.1415927);

can we use log formula also, if yes then please explain it for me.....
maaz is offline   Reply With Quote

Old   September 27, 2013, 05:05
Default
  #11
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
Quote:
Originally Posted by maaz View Post
/************************************************** *********************

vprofile.c UDF for specifying steady-state velocity profile boundary condition

************************************************** **********************/ #include "udf.h"

DEFINE_PROFILE(inlet_x_velocity, thread, position)
{
real x[ND_ND]; /* this will hold the position vector */
real y; face_t f;

begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[1];
(
F_PROFILE(f, thread, position) = (10 + y/12.5)*cos(5.0/180.*3.1415927); }
end_f_loop(f, thread) }

DEFINE_PROFILE(inlet_y_velocity, thread, position)
{
/* insert your own code here*/
}




max....in this udf while defining
F_PROFILE(f, thread, position) = (10 + y/12.5)*cos(5.0/180.*3.1415927);

can we use log formula also, if yes then please explain it for me.....
Hi maaz,
see attached picture from udf manual.

Daniele
Attached Images
File Type: png log.png (43.3 KB, 10 views)
ghost82 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about Boundary Layer Thickness and Turbulence Models famerfamer STAR-CCM+ 3 July 12, 2012 10:47
Boundary Layer roughness/ low reynolds wall treatment Luigi_ STAR-CCM+ 1 March 14, 2012 09:40
Boundary layer meshing problem in Gambit Crystal FLUENT 0 June 12, 2009 21:58
Gambit Boundary Layer Anand FLUENT 0 January 29, 2009 16:13
help for Gambit: 2 edges + 1 boundary layer Peter FLUENT 0 August 9, 2002 20:41


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