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

Wallfunction problem RANS Spalart Allmaras

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2012, 22:35
Default Wallfunction problem RANS Spalart Allmaras
  #1
New Member
 
Rafael Valenzuela Musura
Join Date: Feb 2012
Posts: 27
Rep Power: 14
rafamusura is on a distinguished road
Hi everyone

I'm simulating a steady vortex generated by a delta wing towards wind.
I think I have problems with the initial conditions and it respective wallfunctions. What I need is that only the lower face (floor) and the wing surface to have a wallfunction for the lower face a wallfunction that simulate the snow roughness and a very soft wallfunction for the surfaceof the wing. But all the other surfaces (back,front and up (ceiling)) to be like open sky wind as the inlet outlet direction. I'm attaching the 0 folder and Boundary file.

Please help me if for my thesis.

Thanks!
Attached Files
File Type: zip simulation.zip (9.3 KB, 19 views)
rafamusura is offline   Reply With Quote

Old   August 7, 2012, 21:12
Default
  #2
New Member
 
Rafael Valenzuela Musura
Join Date: Feb 2012
Posts: 27
Rep Power: 14
rafamusura is on a distinguished road
Please guys please help me out with this one!
rafamusura is offline   Reply With Quote

Old   August 9, 2012, 14:03
Default
  #3
Member
 
Kalyan
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 14
kalyangoparaju is on a distinguished road
Can you please be a bit more clear.

As I understand you want to simulate the flow over a delta wing in ground effect . Am I right? it is just the wing and the ground and everywhere else it is free air.

Since you are using spalartAllmaras, you need wall functions only for the nut field.

I am really I cannot help you further unless you can tell me what exactly the problem is :-(

Kalyan
kalyangoparaju is offline   Reply With Quote

Old   August 9, 2012, 15:55
Default
  #4
New Member
 
Rafael Valenzuela Musura
Join Date: Feb 2012
Posts: 27
Rep Power: 14
rafamusura is on a distinguished road
Hi kalyangoparaju

You're totally right, What I want to do is to find a realtion between Re and the cone formed by the generated vortex over the delta wing. So what I really need is to simulate the vortex generated by the delta wing so I can use the field data of p and U at some distance from the delta wing. So the only "walls" that are interacting is the ground and the delta wing everything else is free air.

I haven't been able to converge any simulation with spalart, it always crashes. I think my mesh it's quite accurate, i'm not intrested on the boundary layer so i'm using a high y+ value. The gamma and rho indicators of the mesh (i'm using gmsh) are over the 0,7 with minimun values over the 0,5.

I don't know what i'm missing here. Please helpme out
rafamusura is offline   Reply With Quote

Old   August 9, 2012, 16:05
Default
  #5
Member
 
Kalyan
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 14
kalyangoparaju is on a distinguished road
I had very very similar problem when I tried to simulate a roundtip airfoil inside a windtunnel and analyze the generated vortex.. there are couple of things to keep in mind.

1. It is a good thing to build the boundary layer on atleast the wing. Even though not having it might not lead to a blownup solution, I strongly suggest to build layers if you are analyzing vortices.

2. What order are you running? It is suggestible to drop down to first order and see what is happening .

3. Do checkMesh and see if FOAM thinks your mesh is compatible with it or not. If not, some changes might be required.

4. Initialize the solution by running potentialFoam. That can sometimes stabilize the solution.

5. Last but most probably something that might work - Decrease the relaxation factors ( to around 0.3 for all variables)

Hope this helps. If not, can you please share how exactly the solution blows up? Is it after 1-2 iterations or do the residuals gradually rise and diverge?

Kalyan
kalyangoparaju is offline   Reply With Quote

Old   August 9, 2012, 16:17
Default
  #6
New Member
 
Rafael Valenzuela Musura
Join Date: Feb 2012
Posts: 27
Rep Power: 14
rafamusura is on a distinguished road
1. The problem is that i don't really know how to build the boundary, and if i make the cells so tinny in the wing the indicators go far away, because i don't know how to manipulate the cells so they go very little from the inside wheres anything to the outside growing in size.

2. I don't understand what do you mean by order. It's a 3D simulation if that's helpful.

3. I think the mesh is compatible because I passed to openfoam with the gmshToFoam function. And I don't know how to use checkmesh really.

4. Do you mean to first run potentialfoam and then with that solutions run a simplefoam?

5. I don't think it would be helpfull, I think it's a problem of parameters, I have just read in Verteeg-An indtroduction to CFD that for high reynolds numbers nut and nutilda are equal

Can we talk by skype? my user name is rafael.valenzuela.musura

thank you very much

4.
rafamusura is offline   Reply With Quote

Old   August 9, 2012, 17:04
Default
  #7
New Member
 
Rafael Valenzuela Musura
Join Date: Feb 2012
Posts: 27
Rep Power: 14
rafamusura is on a distinguished road
here is the error file, this is another simulation where i have reduce the U entrance to 4,78.
Attached Files
File Type: doc error.doc (16.5 KB, 4 views)
rafamusura 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
Spalart - Allmaras Turbulence Jacobian yamuzo Main CFD Forum 0 July 21, 2010 16:55
steady RANS for flow problem with unsteady inlet? kat Main CFD Forum 0 February 16, 2009 10:24
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 09:11


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