CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Phoenics

how correctly set up BC for compressible flows....

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2003, 15:40
Default how correctly set up BC for compressible flows....
  #1
yann
Guest
 
Posts: n/a
hi,

i need to set boundary condtions for inlet and oulet in the case of compressible computations: for instance for a transonic nozzle....

noramlly in this kind of problem stagnation conditions should be fixed up at inlet : total pressure and temperature : how to do so in phoenics, i was disapointed that such classical conditions are not built in ... for my case i solve static form of enthalpy (that is adviced in the documentation): from this stagnation condition , the mass flow rate should be computed in fly along iterations (and should become shocked in case of transonic condition in the nozzle)

for outlet condition, i dont want to set a constant pressure because if the flow is supersonic, pressure should be extrapolated. but if the flow is subsonic pressure should be actually imposed... how to deal with that: deos it require a great amount of coding... why not built in??

the different libray cases on this subject are not realistic because all is imposed (pressure, velocity, and so mass flow ) at the inlet and a compatible pressure is set at outlet to be compatible with the geometry and flow conditions...perfect design conditions...

if cham ssupport or other can help , thanks because these are basic problems in compressible CFD

thanks
  Reply With Quote

Old   September 22, 2003, 09:55
Default Re: how correctly set up BC for compressible flows
  #2
cham technical support
Guest
 
Posts: n/a
If you are a maintained user it is best to send your q1 and ground files to your local support centre for investigation together with a precise statement of the problem you are trying to simulate together with required the boundary conditions. See also our response to your earlier posting re: NAMGRD=CONV.
  Reply With Quote

Old   September 23, 2003, 02:51
Default Re: how correctly set up BC for compressible flows
  #3
Rami
Guest
 
Posts: n/a
yann,

I had struggled a lot with a problem of a highly underexpanded nozzle flow. The solution to this problem includes a complex shock structure, including a Mach disk. In my inviscid solution I had all kinds of pecularities, including back flow after the Mach disk. I tried every trick possible, including those suggested by CHAM, but was never satisfied. Only by adding substantial viscosity using k-e turbulence model (as suggested by Dr. Malin) I could get some sort of agreement (but very smeared) to the experimental results from the literature.

By that time (1991 or so) I was promised by CHAM that they will consider revision of the treatment of compressible flow, including a better solution to normal shocks. As far as I can judge from your postings, the same problems are still there. Hopefully I am wrong. If not - maybe it would be revised now...

Rami
  Reply With Quote

Old   September 23, 2003, 07:53
Default Re: how correctly set up BC for compressible flows
  #4
cham technical support
Guest
 
Posts: n/a
Rami,

The case you are describing refers to the external jet flow downstream of the nozzle discharge plane, whereas I believe Yann is referring to the internal flow inside a convergent-divergent nozzle. The default treatment of the algebraic convection fluxes in the momentum equations does not predict the correct location of a normal shock in such a nozzle, but this can be remedied by using the alternative treatment coded in the file gxconvec.for.

Our experience was that both treatments produced fairly similar results for the Mach disc problem, which I think supports your statement. Fairly good agreement was obtained for both underexpanded and overexpanded jets, although significant smearing of the second Mach disc was noted for an underexpanded case. You are correct about very low velocities or even flow reversal behind the disc for inviscid calculations. It was felt that the flow is unlikely to be inviscid in this region because of the turbulent transport of higher momentum fluid into the region behind the disc.
  Reply With Quote

Old   September 24, 2003, 04:17
Default Re: how correctly set up BC for compressible flows
  #5
Rami
Guest
 
Posts: n/a
Dr. Malin (I presume),

> The case you are describing refers to the external jet flow downstream of the nozzle discharge plane, ...

You are right (I am amazed how you remembered it after so many years!).

Regarding the second paragraph of your posting. It is disappointing to find out that this defficiency, known for such a long time, is still not rectified in a general purpose CFD package. I tried at that time to compare my results to another numerical solution of this problem, which solved the inviscid flow (Euler equations) successfully with very sharp shocks captured. Therefore I wished to do the same with PHOENICS, and avoid turbulence model issues and viscous effects altogether. I further assume it is desirable in a general purpose package to be able to solve inviscid flows with strong normal shocks (e.g., blunt body bow shocks, etc.).

Rami
  Reply With Quote

Old   October 13, 2003, 03:35
Default how correctly set up BC for compressible flows
  #6
ajmal shah
Guest
 
Posts: n/a
the inlet and outlet boundary conditions for unsteady, compressible flow are causing problems for me. i am using Simple algorithm. at the inlet the total pressure and temperature are known, while at the outlet the static pressure is known. please help me to solve the problem. ajmal.
  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
Velocity in compressible flows? Amisa CFX 3 November 26, 2007 15:59
compressible flows shuo Main CFD Forum 1 August 24, 2007 11:59
SIMPLE for compressible flows Luuk Main CFD Forum 2 August 20, 2005 08:45
Compressible multiphase flows Jens CFX 0 October 6, 2002 16:57
FVM (vs) FDM for compressible flows Rajani Kumar Akula Main CFD Forum 6 April 12, 2002 01:56


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