|
[Sponsors] |
September 30, 2013, 10:40 |
boundary layer in gambit
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
dear all,
I want to add a boundary layer to this kind of shape, but as much as I tried, I still couldn't get it right. These two pics shows a mesh I created lately, obviously the boundary layer is in bad shape at the corners. How can I get a boundary layer closely resembles the geometry? |
|
October 1, 2013, 01:43 |
|
#2 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
by clicking right mouse (or midlle ?) you can switch the orientation.
But the question is: why do you have fluid cells on both sides of your wall edge?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 1, 2013, 02:24 |
|
#3 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
hi max,
no, I dont have fluid cells on both sides, it's just on the outside wall. I'm simulating flow around this kind of cylinder, later this shape will be extruded into 3D. It seems right or middle clicking did not change the orientation of the boundary.Can you elaborate more about that? |
|
October 1, 2013, 02:53 |
|
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
if the bl is pointing in this direction, it means the bl can grow in this direction.
Then you have a surface, in which the bl can be applied. Enable shaded mode, you will see if you have a surface. I confirmed the middle mouse click for switching BL direction. But it will switch only if it can (understand if you have a surface on the other side) Untitled1.png Untitled2.png
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 1, 2013, 04:03 |
|
#5 | |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
hi,max
In my case, I'm meshing the outside boundary of the shape, however, at the corner, the mesh quality seems very bad and I want to modify it. I think what you mean is changing the boundary layer to the inside of the wall.. that's not quite exactly what I wanted. Lately I find out that when the boundary layer is thin, the mesh is in good condition. While the layer grows thicker, the mesh at the corner becomes skewed. Here I post two pics for illustration. The first one is thick bl, and the second one is thin bl. Quote:
|
||
October 1, 2013, 04:13 |
|
#6 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
ok I missunderstood, sorry.
Then the problem comes from the depth of your BL. If your y+ enables you try to reduce first row height, and increase number of layer
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 1, 2013, 04:53 |
|
#7 | |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
Quote:
thanks for your kind help! |
||
October 1, 2013, 04:58 |
|
#8 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
sure you can, but on the picture the red mesh isn't a BL
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 2, 2013, 01:28 |
|
#9 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
Your words really gave me hope!
In another thread(http://www.cfd-online.com/Forums/flu...-cylinder.html) you told me to do some split on the cylinder surface, I will try that. And if my attempt fails, I will ask you for help. Thanks! |
|
October 2, 2013, 04:13 |
need help!!
|
#10 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
hi, max.
My attempt failed. I don't even have a clue where to do the splits Given the geometry of cylinder with helix, can you tell me how to generate that kind of beautiful mesh in gambit? Here is a similar thread I posted some days ago. http://www.cfd-online.com/Forums/ans...-strategy.html |
|
October 2, 2013, 10:42 |
|
#11 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
If the boundary layer failed, you can try to add some extra surface and make "your boundary layer" in these surfaces, by manually create the mesh as the boundary..this is just a suggestion..
Daniele |
|
October 3, 2013, 02:48 |
|
#12 | |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Quote:
Then in this new domain, apply a BL on helicoidal walls and apply also a size fonction)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
||
October 4, 2013, 05:12 |
|
#13 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
hi max,
Inspired by your suggestion, I successfully created good mesh around the helixcoid. Here is my procedure. 1. mesh the top and bottom edges; 2. mesh the helixcoid face with quad/submap, it automatically generated good quad mesh on the cylinder surface; 3. apply bl on the cylinder surface; 4. mesh the domain. However, in the second step, it seems difficult to control the axial mesh size. Usually the mesh in the axial direction is too dense for my simulation. Is there a way to solve this problem? I realize there is a SPACING column, I changed the value in it but result did not change. And is there a way to view the mesh inside the domain? like the third picture. |
|
October 4, 2013, 05:21 |
|
#14 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
from your first picture I don't see any split as I adviced you.
Create a cylinder with radius greater than your helicoid, then split your domain with the cylinder volume. At the end you should have 2 volumes: the one next to your helicoid and the rest Doing that you will have more control on your mesh
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 4, 2013, 06:02 |
|
#15 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
and one more strange thing.
in the face mesh, sometimes the Proj Interval column appears, but most of the times it does not. I believe that option can control the axial mesh size. How can i make it appear? |
|
October 4, 2013, 06:17 |
|
#16 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
It appears only with quad
https://www.sharcnet.ca/Software/Gam...proj_intervals
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 4, 2013, 06:36 |
|
#17 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
thanks max,
I created a circular cylinder surround the helixcoid, and meshed the circular cylinder surface with approiate axial mesh size by specifying Proj interval . Then I mesh the domain with Hex, I suppose by doing this the axial mesh size on the helixcoid would be the same with the outer cylinder, but after two trial it didn't, the mesh on the helixcoid is still not controllable. what is the way to control that? and btw is there a button in gambit for view the mesh in side volume? |
|
October 4, 2013, 07:15 |
|
#18 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
mesh helixcoid surface first, then create a size function with helixcoid surface as source and top (or bottom) cap from cylinder as attachment.
Give the desired parameter mesh expansion. Mesh the cap surface. Now you have one cap and also the axial direction which are meshed. You can go and mesh the volume with cooper. Gambit should select automatically the source for cooper. for your last question, go to examine mesh, and work with plane
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 5, 2013, 13:04 |
|
#19 |
Senior Member
Join Date: Jan 2013
Posts: 135
Rep Power: 13 |
hi max,
I tried meshing the helixcoid surface first, but for this 10m-high helixcoid Gambit automatically generated 566 nodes in the axial direction. And with 180 nodes along the Circumference, the helixcoid surface alone owns 101880 nodes! And when I use Cooper to perform volume mesh, my machine went break! Now I'm thinking using the journal file to enforce a Proj interval on my helixcoid surface, since this option did not appear even though I chose Quad to do the meshing. But is there another way to reduce the axial mesh quantity in the axial direction of the helixcoid? |
|
October 9, 2013, 01:41 |
|
#20 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Axial node distribution can be reduced, it will only influence the aspect ratio of your cells (hexa or wedge)
You can dramatically reduce mesh size by playing with size function's parameters.
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
Probems in Gambit: trouble linking two faces when a boundary layer is applied | Kathryn39 | ANSYS Meshing & Geometry | 1 | August 8, 2012 14:11 |
Questions about Boundary Layer Thickness and Turbulence Models | famerfamer | STAR-CCM+ | 3 | July 12, 2012 10:47 |
Gambit boundary layer | pixie | Main CFD Forum | 1 | September 30, 2009 13:22 |
GAMBIT problem with 3D Boundary Layer when meshing | Anthony Haroutunian | FLUENT | 2 | March 26, 2008 03:02 |