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

simulation of 2d planar incomprehensible laminar jet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2018, 19:04
Cool simulation of 2d planar incomprehensible laminar jet
  #1
New Member
 
Nima k
Join Date: Mar 2009
Location: Tehran
Posts: 8
Rep Power: 17
lovelybugatti is on a distinguished road
Hi
I need some help in simulating JET flow.
As you know 2d planar Jet has analytical solution, I want to test a 2d planar incomprehensible laminar jet with Open-foam and comparing it with analytical result,
The results that I obtained till now are far away from analytical solution. I changed the gird size, domain size, Boundary condition and tried different kind of solvers such as icoFoam, pisoFoam and rheoFoam (Newtonian) case, but still results are not even close. Can you please help me in this regards.
Best regards
lovelybugatti is offline   Reply With Quote

Old   March 2, 2018, 03:43
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Normally, such refrence cases are well covered by OF. We may only help you, if you give the case and the result you expect und got.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 2, 2018, 05:35
Question Laminar Planar Jet
  #3
New Member
 
Nima k
Join Date: Mar 2009
Location: Tehran
Posts: 8
Rep Power: 17
lovelybugatti is on a distinguished road
Quote:
Originally Posted by piu58 View Post
Normally, such refrence cases are well covered by OF. We may only help you, if you give the case and the result you expect und got.
Please see the attached, this is the case in Rheofoam. I used the same case for Icofoam. I already compared my DNS code result with analytical solution and they are match. But OF results are far away.

blockMeshDict.doc

constitutiveProperties.doc

controlDict.doc

p.doc

U.doc

I will upload some result in next post.
Best
lovelybugatti is offline   Reply With Quote

Old   March 2, 2018, 05:37
Question result
  #4
New Member
 
Nima k
Join Date: Mar 2009
Location: Tehran
Posts: 8
Rep Power: 17
lovelybugatti is on a distinguished road
Quote:
Originally Posted by piu58 View Post
Normally, such refrence cases are well covered by OF. We may only help you, if you give the case and the result you expect und got.
As you can see DNS and analytical solution are matched but openfoam is not.
untitled.jpg
Yours
lovelybugatti is offline   Reply With Quote

Old   March 3, 2018, 14:02
Default
  #5
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I let the case run. Before it works, I had some elements to add and the given slightly to change. IcoFoam crahses after a few rounds.

If you look at the results you see strange effects at the inlet. I assume this is caused by your inlet b.c. for pressure: The pressure is 0 all over the inlet. But there are different levesl of inlet velocity, which need different pressure levels.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 5, 2018, 06:03
Default
  #6
New Member
 
Nima k
Join Date: Mar 2009
Location: Tehran
Posts: 8
Rep Power: 17
lovelybugatti is on a distinguished road
Quote:
Originally Posted by piu58 View Post
I let the case run. Before it works, I had some elements to add and the given slightly to change. IcoFoam crahses after a few rounds.

If you look at the results you see strange effects at the inlet. I assume this is caused by your inlet b.c. for pressure: The pressure is 0 all over the inlet. But there are different levesl of inlet velocity, which need different pressure levels.
Dear Pilz
I agree with you. But the results ,I sent for you, are based on assuming constant pressure at outlet. As I could not get comparable results with analytical solution,I thought the problem can be because of boundary condition so I decided to play with BC, inlet outlet and.. (the thing that you are discussing now)
Please recheck the results in my former posts (when
inlet is assumed zero gradient and outlet is constant pressure) you can see that the results are physical but can not be compared with analytical solution and my DNS data. That is my problem, I do not why? The velocity profile should have sharp gradient in the middle of domain (parabolic shape only in the middle) and remain almost constant at the rest(in analytical and DNS), but OF result has parabolic shape in all domain no matter how the domain length is.
I have not found any explanation or solution for it.
Best regards
lovelybugatti is offline   Reply With Quote

Old   March 6, 2018, 02:03
Default
  #7
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Good morning,

it is not easy to help you if the information you give is incomplete. I recommend:
- Establish the case in a way you think it is ok
- clean all results and the polymesh folder
- zip it
- re-run it to be sure that the zipped case is complete
- store the zip file at a public place.

Beside this I don't understand your graphic fully. Did you calculate the DNS results by yourself? If not, then is your OF result the single one. May it possible that you made some scaling error? From which publication do you got the results?
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 6, 2018, 08:23
Default
  #8
New Member
 
Nima k
Join Date: Mar 2009
Location: Tehran
Posts: 8
Rep Power: 17
lovelybugatti is on a distinguished road
Quote:
Originally Posted by piu58 View Post
Good morning,

it is not easy to help you if the information you give is incomplete. I recommend:
- Establish the case in a way you think it is ok
- clean all results and the polymesh folder
- zip it
- re-run it to be sure that the zipped case is complete
- store the zip file at a public place.

Beside this I don't understand your graphic fully. Did you calculate the DNS results by yourself? If not, then is your OF result the single one. May it possible that you made some scaling error? From which publication do you got the results?
OK I did what you said.
These are the links of my cases.

1- RheoFoam case:
https://1drv.ms/u/s!AuzMDkqqTaK0hk1t93qyfZ8VEFSr

2-IcoFoam case:
https://1drv.ms/u/s!AuzMDkqqTaK0hkyVLPq_xuNgnqeo

I have a DNS code (six order ,..) and I compared its results with analytical solution, and they matched very well.(no publications were used to comparison, I only used analytical solution).
About scaling error I used the same algorithm to non-dimensionalize the results.
Yours
lovelybugatti is offline   Reply With Quote

Old   March 6, 2018, 12:22
Question
  #9
New Member
 
Nima k
Join Date: Mar 2009
Location: Tehran
Posts: 8
Rep Power: 17
lovelybugatti is on a distinguished road
Quote:
Originally Posted by piu58 View Post
Good morning,

it is not easy to help you if the information you give is incomplete. I recommend:
- Establish the case in a way you think it is ok
- clean all results and the polymesh folder
- zip it
- re-run it to be sure that the zipped case is complete
- store the zip file at a public place.

Beside this I don't understand your graphic fully. Did you calculate the DNS results by yourself? If not, then is your OF result the single one. May it possible that you made some scaling error? From which publication do you got the results?
Dear Mr. Pilz

As you can see in the attached files, I am simulating Laminar Planar Jet with different solvers (icoFoam and RheoFoam).

The initial conditions and boundary conditions are the same. The domain size and grid size are equal too. and also the Reynolds number. However,

the results of icoFoam are comparable with analytical solution in the far fields (although it has some perturbations)
but the result of Rheofoam are not valid in this case.

Can you please check the files and let me know what is wrong in the RheoFoam case?
The other thing is do you know how can eliminate the icoFoam perturbation case? Do you think if I assume finer grids, I can handle that?
Best regards
lovelybugatti is offline   Reply With Quote

Old   March 6, 2018, 14:10
Default
  #10
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I started icoFoam and will say something about the solution tomorrow.

rheoFoam does not belong to my OF installation.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 7, 2018, 02:31
Default
  #11
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I run the simulation, but again something is missing: The sampleDict. So I give up.

But some last remarks:

I assume that you reference the theoretical solution given by Hermann Schlichting (1933).
There are some ways to get a factor in (which you have I think). One is the momentum and another one ist the mass density, a third one is the viscosity and a last one is the transformation for x, y any using eta.

Im am quite sure that you made a mistake. From your graph your calculated expands far more in the free fluid than expected. If I look at your solution with paraView I see that the jet widens at about 50% before in gets unstable. The jet cannot be much smaller, no way.

It would be useful if you gave your results in eta and not in U30-U0 .... because it is much closer to the theoretical solution.
Attached Images
File Type: jpg jet.jpg (34.3 KB, 47 views)
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   February 6, 2019, 19:00
Default
  #12
New Member
 
francisco javier leon ascencio
Join Date: Jan 2019
Posts: 1
Rep Power: 0
pachojazz is on a distinguished road
Hi piu58 im with the same problem and I have doubts with the boundary condition in top and bottom patches ,What boundary conditions did you use in these ones ?
pachojazz 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
2D LES simulation of turbulent jet adnan.nweilati FLUENT 6 December 3, 2014 10:33
2D LES simulation of turbulent jet adnan.nweilati FLUENT 0 November 12, 2014 11:50
problems in synthetic jet flow simulation jackxu FLUENT 0 December 2, 2012 10:12
pressure equation in Jet simulation kumar OpenFOAM Running, Solving & CFD 0 June 9, 2010 13:18
UDF for synthetic jet simulation Chicken Fluent UDF and Scheme Programming 5 March 18, 2010 06:44


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