CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

BC set at fixedValue (0 0 0), but I get a non-zero velocity @ wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2009, 11:16
Unhappy BC set at fixedValue (0 0 0), but I get a non-zero velocity @ wall
  #1
New Member
 
Age Nammensma
Join Date: Mar 2009
Posts: 10
Rep Power: 17
squadron is on a distinguished road
Hi Foamers,

I have the following problem:

At the moment, I'm performing simulations of the flow through a pipe by using rhoTurbFoam. I made an axi-symmetric mesh in Gmsh and converted it to OpenFoam.

At the wall, which I've defined as "wall" in the boundary dict, I've specified the velocity as: fixedValue, uniform (0 0 0)

Everything works fine, but when I look at the resulting data in paraview I see a non-zero velocity at the wall. Why? How?

I've tried a couple of things, but nothing seems to work.
- specifying the sides as symmetryPlane
- speciying the sides as wedge
- refining the mesh
- different rotation (extruding) direction

The steps I did:
- Surface in Gmsh
- Extrude surface + mesh around the axis
- gmshToFoam
- define patches
- define BC's

Who can help me out here?
squadron is offline   Reply With Quote

Old   March 24, 2009, 11:21
Default
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
You are probably looking at interpolated values.
Try to visualize the "U" field in the cells (it is the one with a sort of cube as icon in the drop-down list in paraview)

Francesco
fra76 is offline   Reply With Quote

Old   March 24, 2009, 11:25
Default
  #3
New Member
 
Age Nammensma
Join Date: Mar 2009
Posts: 10
Rep Power: 17
squadron is on a distinguished road
Quote:
Originally Posted by fra76 View Post
You are probably looking at interpolated values.
Try to visualize the "U" field in the cells (it is the one with a sort of cube as icon in the drop-down list in paraview)

Francesco
Thanks for the quick reply!
But I'd already tried that and it actually makes it worse
squadron is offline   Reply With Quote

Old   March 24, 2009, 11:33
Default
  #4
New Member
 
Age Nammensma
Join Date: Mar 2009
Posts: 10
Rep Power: 17
squadron is on a distinguished road
Ok, an update!

When I look at my complete "part", I see non-zero velocities at the wall.
When I only import the wall in paraview, I see zero velocity at the wall.

So, everything seems to work fine....but the post-processing is a bit strange imo.

What is causing this behaviour?
How can I make sure that paraview shows me the correct values at the wall?
squadron is offline   Reply With Quote

Old   March 25, 2009, 05:41
Default
  #5
New Member
 
Age Nammensma
Join Date: Mar 2009
Posts: 10
Rep Power: 17
squadron is on a distinguished road
I'm still not satified with the results.
When I look at the results of the pitzDaily tutorial, I clearly see that the velocity at the wall is 0. So I don't think I can blame Paraview

Is the problem causes by Gmsh and the conversion to OpenFoam?
How can I get rid of it? (don't say: "stop using Gmsh")
squadron is offline   Reply With Quote

Old   June 29, 2009, 05:34
Default
  #6
New Member
 
Join Date: May 2009
Location: Germany
Posts: 25
Rep Power: 17
Linh.Hoang is on a distinguished road
Hi Squadron,
have you solved your Problem yet?
I´ve got the same Problem here. I converted my Mesh from Gambit to OF and used the makeAxialMesh utility.
All worked fine, but i´ve got a non zero velocity at my Wall same as you. Any suggestions?

Linh
Linh.Hoang is offline   Reply With Quote

Old   June 29, 2009, 06:29
Default
  #7
New Member
 
Age Nammensma
Join Date: Mar 2009
Posts: 10
Rep Power: 17
squadron is on a distinguished road
Hi Linh,

I'm still not sure, but I think this problem is caused by Gmsh or by me, doing something wrong in Gmsh. Maybe you can try blockmesh.
I'm now working on an other project, I won't be working with Gmsh anymore.

Age
squadron is offline   Reply With Quote

Old   July 8, 2009, 11:44
Default
  #8
Senior Member
 
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17
Thomas Baumann is on a distinguished road
Hallo,

I built a mesh with blockMesh and converted it with makeAxialmesh to axissymmetric. I plotted the velocity-profils and I get nonzero values at wall boundaries, too. My inlet velocity is about 0.265 m/s and directly at the wall the vellocity is 0.08 m/s by using the sample utility.

I even changed the writePrecision from 6 to 10 in the controldict, but nohting changed. Anybody an idea?

Thanks a lot Thomas
Thomas Baumann is offline   Reply With Quote

Old   October 10, 2012, 12:36
Default
  #9
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 17
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
Hello Age,

It's been quite some time since you reported your problem in cfd-online. I am getting the same wrong data at wall with OF-2.1.x, were you ever able to fix that problem?

I need to run some other code on a 2D plane with the data of my axisymmetric simulation, with the proper BC's values. I don't want to just simply substitute those values with the proper ones.

thanks!
aerospain is offline   Reply With Quote

Old   May 31, 2018, 11:47
Default
  #10
Member
 
vishal
Join Date: Mar 2013
Posts: 73
Rep Power: 13
vishal_s is on a distinguished road
I am facing the similar problem. Did any one solved the issue?

My mesh was created using GAMBIT and it's a wedge geometry.
vishal_s is offline   Reply With Quote

Reply

Tags
boundary conditions, gmsh, rhoturbfoam, wall


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
Does the wall BC set k & e to zero? Lucy FLUENT 3 December 10, 2010 12:49
Set the velocity by using discrete data with time tseo FLUENT 0 March 4, 2008 19:16
Y+ Ralph Main CFD Forum 5 December 9, 2006 14:01
How to set environment variables kanishka OpenFOAM Installation 1 September 4, 2005 11:15
How can I set wall roughness? Ellen FLUENT 5 February 27, 2001 23:13


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