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

POTENTIALFOAM ERROR for a naca profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2008, 10:44
Default Hi everybody, I'm a new use
  #1
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 17
dinonettis is on a distinguished road
Hi everybody,

I'm a new user of openfoam and I'm trying to analyse a naca profile with potentialfoam. Although I'm quite sure concerning the boundary conditions these are the results that I get on a C-grid:




The boundary conditions are the following:
-domain contour: freestream (U=239.6 m/s p=26624 Pa)
-lateral side:empty (2D analysis)
- wing: wall

and this is the 0/U file:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (239.6 0 0);

boundaryField
{
defaultFaces
{
type empty;
}

lateral_side1
{
type empty;
}

lateral_side2
{
type empty;
}

outlet
{
type inletOutlet;
inletValue uniform (239.6 0 0);
value uniform (239.6 0 0);
}

wing
{
type fixedValue;
value uniform (0 0 0);
}

freestream
{
type inletOutlet;
inletValue uniform (239.6 0 0);
value uniform (239.6 0 0);
}
}


I hope somebody can help me.
Thank you very much

dino
dinonettis is offline   Reply With Quote

Old   April 10, 2008, 11:09
Default Hi I could not download yo
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

I could not download your attached file, but anyway:
PotentialFoam solves the potential flow equations, but you are specifying a no-slip condition on the wing. This will include shear into the solution, which violate the assumption of irrotational flow.
Thus try to change the boundary condition at the wing to a "type slip" and see what happens.

Best regards and enjoy OF

- Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   April 17, 2008, 08:08
Default sorry but I did not realize th
  #3
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 17
dinonettis is on a distinguished road
sorry but I did not realize the images did not appear on the forum. Anyway now I hope I'll be able to show you the results:



dinonettis is offline   Reply With Quote

Old   April 17, 2008, 08:12
Default sorry but I did not realize th
  #4
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 17
dinonettis is on a distinguished road
sorry but I did not realize the images did not appear on the forum. Anyway now I hope I'll be able to show you the results:


dinonettis is offline   Reply With Quote

Old   April 17, 2008, 08:26
Default As you can see in the previous
  #5
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 17
dinonettis is on a distinguished road
As you can see in the previous image it is strange that the velocity around the wing (and in the whole domain) is equal to 0, whilst it should be 239.6 m/s according to the boundary condition! Moreover there is only a little flow perturbation on the trailing edge, but the velovity increase very much inside that!!
Finally this is another view of the whole domain (C-grid) in terms of streamlines, quite strange as well:


dinonettis is offline   Reply With Quote

Old   April 18, 2008, 07:36
Default hi niels, I've just tried t
  #6
Member
 
Leonardo Nettis
Join Date: Mar 2009
Posts: 72
Rep Power: 17
dinonettis is on a distinguished road
hi niels,

I've just tried to follow your advice, substituting the wall with the slip condition on the wing. Unfortunately I get more or less the same results (both in terms of U range and streamlines). What do you think about that??
dinonettis is offline   Reply With Quote

Old   April 21, 2008, 05:02
Default Hi Leonardo Sorry for not a
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Leonardo

Sorry for not answering before, but here in Denmark we have a nice think called "big-prayer day", which is a holiday. A king some years back was annoyed by all the religious holidays scattered all over the year, so they were collapsed into one.

It does look strange indeed. I took a closer look on your boundary conditions, and I am not sure if you are allowed to use empty in two dimensions when solving a 2-dimensional flow!?! I would set the upper and lower boundary to symmetryPlane.

You could try to test your setup on a more simple geometry, such as a cylinder and see if you get the correct analytical solution.

Best regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 9, 2010, 11:59
Default
  #8
New Member
 
darioth's Avatar
 
Darío Montes
Join Date: Aug 2009
Location: Córdoba, Argentina
Posts: 12
Rep Power: 17
darioth is on a distinguished road
Send a message via MSN to darioth Send a message via Skype™ to darioth
Hello Leonardo!

I am trying with potentialFoam with a 0015 and I have the same problem.

In the trailing edge, the velocity increase a little bit (like 70% than the free flow) but the rest of the flow field seem to be right, although this perturbation in the t.e. affects the values (not the distribution) of the velocity field.

Did you fix your problem?

Any tip will be usefull.

Best regards!!!
darioth 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
POTENTIALFOAM ERROR for a naca profile dinonettis OpenFOAM Running, Solving & CFD 2 April 10, 2008 13:17
Incomplete NACA 0012 profile Rif Main CFD Forum 1 January 10, 2008 03:45
naca 12 error Conor CFX 0 January 18, 2006 14:43
bladegen & NACA profile ichgut CFX 1 August 9, 2004 10:31
NACA profile validation Wolfgang Main CFD Forum 3 October 15, 2002 13:19


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