Hi guys! It's my first post
It's my first post on this forum, so welcome everybodyhttp://www.cfd-online.com/OpenFOAM_D...part/happy.gif I'm new with OpenFoam and I met some problems during my calculations.
I'm running the case using the simpleFoam solver. it's a steady turbulent (k-epsilon) flow around the airfoil. Could you please have a look on my velocity distribution:
boundary conditions are:
inlet - v=50, p=0 ;
outlet - p=0 ;
front and back – symmetry ;
top and bottom – symmetry ;
airfoil – wall,
I'm trying to find out what I did wrong but I'm struggle. Only in top left corner of the 'tunnel' something is happening, why?
Is it possible to obtain v = 2.00e+24 when the inlet velocity is 50?
If you need more information about my analysis please ask.
Thanks a lot!!
Hi Shemech and welcome What
Hi Shemech and welcome
What happens is that you specify p=0 at both inlet and outlet. Thus to narrow it down you have a setup with a possible significant energy loss but a zero pressure gradient, thus it is a non-physical setup.
Instead you should set at the inlet a zeroGradient in p, i.e. type in /0/p
hello! i 'm Hamdi N. I think
i 'm Hamdi N.
I think y'r in the exten flow not in intern flow, thus y can't use inlet or output boundary, y can see the tutorials of OF;
Yeah, for external, incompress
Yeah, for external, incompressible flows you are better using a velocity inlet and a pressure outlet with symmetry everywhere else. There is also the option to use freestream boundary everywhere, since you are dealing with an isolated aerofoil. However, this may only be possible for compressible flow. Setting a mass-flow inlet is another option.
I'd recommend you increase the size of your farfield domain, though. They should be at least 10 aerofoil chord lengths away from the aerofoil itself. There have been many studies to show this too.
Hi! Thank you for your commen
Thank you for your comments. I couldn't reply earlier beacuse I've been offline.
According to your advices I've setup new BC as follow:
inlet - pressureInlet v=100, p zero gradient
outlet - pressureOutlet p=0
I'm satisfied with pressure and velocity distributions, it follows my expectactions. But I'm not happy with values of pressure and velocities:
pmin = -1,6e13 (underpressure,how?) pmax = 4,92e+12
Those numbers are definitly to big, any ideas why?
I've also increased distance between inlet and airfoil.
thanks for help!
First of all, lift is generate
First of all, lift is generated on an aerofoil by integrating the pressure around it. You can get low pressure on the upper surface due to the aerofoil's camber and thickness (obviously a.o.a.). Your velocities don't look right though. Change p-inlet to v-inlet and see what you get.
Adriano what do you mean by 'c
Adriano what do you mean by 'change p-inlet to v-inlet'? I've tried fixed v (Inlet boundary condition) at the beginning of my simulation, if this is what you mean.
I got 6 more initial inlet conditions to choose:
I'have been trying one by one for a while and I always getting wrong values of velocity and pressure.
I know the principles of lift force generation but in my opinion it's not possible to obtain underpressure around the airfoil, but I might be wronghttp://www.cfd-online.com/OpenFOAM_D...part/happy.gif
ah, ok. I didn't realise you h
ah, ok. I didn't realise you had already tried that.
"inlet - pressureInlet v=100, p zero gradient "
This suggested you were still using a pressureinlet even, though you specified a velocity. I wasn't sure. By low pressure, I didn't mean negative pressure, no! :-)
Try freestream set to Vx = 50m/s front, back, top, and bottom, with symmetry only at the sides. Are you sure you have specified the surface name's properly? Maybe you've set the boundary conditions to the wrong surfaces? That would certainly cause you problems (i.e. inlet face set to symmetry and symmetry face set to velocity inlet).
Hi Shemeck and all, In this
Hi Shemeck and all,
In this link
we have a functional case of a flow around a cylinder, using k-e.
If it interests you, feel free to analyze it.
Paulo thank you!! for your fil
Paulo thank you!! for your file it was helpfull.
After few hours of investigation I found the boundary conditions which work in my case.
inlet - Inlet, p zero gradient, v=20m/s fixed value ;
outlet - Outlet, v zero gradient, p=0 fixed value.
airfoil - wallFunction v=0m/s
sides,top,bottom - symmetry
I've also assumed new values of k and epsilon and other solution scheme.
I was very surprised after few iterations because everything was fine. I'm very happy about velocity but values of pressure seem to be wrong.
after t=200 pmin = -940, pmax=1.31e3
t=3000 pmin = -544, pmax = 262
Now I'm a bit confused because I met some people in which opinion it's possible to obtain underpressure in case of flow around airfoil/cylinder. what's yours opinion?
Also I would like to plot cp d
Also I would like to plot cp distribution on my foil. I went through user guide (chapter 7.5) but it's not clear for me how it works. Is there anyone who dealed with this particular case before? I would be very appreciate if someone could paste sampleDict file.
Hi Shemeck As you have p=0
As you have p=0 at the outlet, it is definitely not surprising, that you have positive and negative pressures.
Consider your problem in a loss-free environment, aka use the Bernoulli equation around your air-foil. Then you will get a large pressure at the upstream stagnation point and further you will get a drop in the pressure where the contraction of the streamlines is largest.
Further the pressure you specify is only relative, thus you could specify atmospheric pressure and you would not get negative pressures.
Hope it answered your question.
An example of a sampleDict is
An example of a sampleDict is to be found with the source at the following location:
Go look at http://www.cfd-o
I am new to OpenFOAM, to CFD and to this board, so please be patient. :)
I have a problem similiar to Shemeck, I am trying to simulate a flow around an airfoil. I have set the boundaries for U and p as follows:
So where is the mistake? Thank you for your help. Is there is any more information I have forgotten to post, feel free to ask.
Ps: As you can clearly see in the picteres my mesh is far from beeing perfect I am working on that. :(
I have solved my problem by myself. It was the mesh indeed. I had mixed up only one point in blockMeshDict file.
My apologies for my ignorance.
|All times are GMT -4. The time now is 23:13.|