CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFD-problem in ANSYS (https://www.cfd-online.com/Forums/cfx/83987-cfd-problem-ansys.html)

Slavius January 17, 2011 10:41

CFD-problem in ANSYS
 
1 Attachment(s)
Dear all,

I'm new here (and to Ansys), so let me say "hi" to you all.

I just started using Ansys to model a gas flow under reduced pressure conditions for a simulation chapter in my PhD-thesis. Let me explain the procedure:

I have a gas flow that is running through a tube (from left to rigth) with a diameter of 0.046 and a length of 0.06. Gasvelocity varies between 0.001 and 1000.0, density and viscosity are known.

Here's my question: how do I put in the pressure (60 Pa)? Up to now, I put the pressure (DOF) on the outlet line (in the 2 D modeled tube, on the right hand). But nothing changes, when I change the pressure. Thus I think that my way of putting in the pressure is not correct.

Please have a look at the pic of my model which I uploaded. You will see that I have put the velocity (red arrows, vx= 1, vy, vz=0) on the left side of the model, velocities on the horizontal borders of the tube are all 0! Pressure (green arrows) are on the right side of my tube.

Can anyone give me a hint on how to put in the pressure effect, so it affects the flow?

Thank you all

Slavius

ghorrocks January 17, 2011 16:47

Usually you set the reference pressure to be a typical pressure in the flow, maybe the inlet or outlet pressures. Then the pressure at that inlet or outlet is zero - as pressure is relative to the reference pressure. All pressures in the simulation are measured relative to the reference pressure, use the "absolute pressure" variable if you want the absolute pressure.

Slavius January 18, 2011 01:26

Good morning from Germany,

thanks for your reply.

The pressure is not just at the in- our the outlet. The whole tube is pumped down to and held at 60 Pa during the gas flow. Do I have to set the ref. pressure to 60 Pa?

Regards

ghorrocks January 18, 2011 18:13

Hello from Australia!

In that case set the reference pressure to 60Pa, and all pressures are set relative to that.

Slavius January 19, 2011 12:19

Hi there,

thanks for the answer.

I made two simulations w. 2 different ref. pressures:

1st simulation) 101350 Pa,
2nd simulation) 60 Pa ref. pressure.

I applied the pressure to all lines of my geometrical model (via pick all lines), because the atmosphere in the pipe has a constant pressure (independently of the gas flow velocity). I entered a 0 (zero) as the pressure value in the up poping input field.

I've expected that flow characteristics change w. alternating pressure, but they don't. Flow profiles look perfectly the same at both ref. pressures with equal flow velocities.

I think that these pressure invariant flow profiles originate from a wrong pressure definition in my model.

Do I have to enter a 0 (zero) in the input field, or do I leave it blank?
Is the pressure definition on all the lines correct after all, when the pressure inside the pipe is constantly 10150 Pa or 60 Pa everywhere in the pipe?

Best regards, and thank you so much for your support .

singer1812 January 19, 2011 12:46

Pressure invarient flow profile might indicate you have constant properties gas.

When you state that density and viscosity are known, is that at a point and constant, or tabular, or ideal gas?

Also, what do you mean your entire section of pipe is constant pressure? What is driving the flow?

Slavius January 19, 2011 13:03

Hi there,

it is a vacuum chamber with a butterly control valve and a pumping system.

The gas enters the chamber by a magnetic valve.
The control valve can compansate the pressure increase by reducing the suction cross-section at the pump.

I'm only interested on the flow conditions after reaching the 60 Pa chamber pressure. I'm not interested what happens before.

The gas is ArH2, the density and viscosity at 60 Pa are calculated externally by a fluid property program.

The question is, whether Ansys Flotran can compute flows at 60 Pa at all?

singer1812 January 19, 2011 14:12

You are using Flotran!? This is a CFX forum. I can't comment on the applicability of Flotran in near vaccuum conditions.

Slavius January 19, 2011 14:31

Hi there,

yes FLOTRAN. Is CFX capable of near vacuum conds?
Greets

singer1812 January 19, 2011 14:49

I would doubt most commercial codes (CFX and FLOTRAN included) would not handle non-continuum regimes.

What is the Knudsen number of your flow? If it is near .001 or greater, then you probably need something that deals with a more statistical flow and the contiuum assumptions that these codes are built around break down.

Slavius January 20, 2011 06:59

Hi,

Kn lies between 0.0037 and 0.0008 (gas flows through a pipe with 2 diameters). Literature states that with these Kn flow character is viscouos, so a distinction between laminar and turbulent flow should easily be possible by the application of the (navier-)stokes eqns. and the Re-number.

Maybe that is the reason why the flow character is invariant of the pressure!

Regards

ghorrocks January 20, 2011 20:15

I think Fluent has a modified wall boundary condition which is designed to allow running at low Knudsen numbers. Not sure it is any use for you, but you might want to check it out.

Slavius January 24, 2011 04:12

4 Attachment(s)
Hi there,

well now, thanks for the quick replies and the guidance, so far I solved the problem.

But only on laminar basis.

My Re-number calculations tell that my flow becomes turbulent, beyond a certain flow velocity. So I switched the calculations from laminar to turbulent (Pic1).

The solution runs well for very small gas velocities (0.001 - 1 m/s).

An error message pops up at flow velocities beyond 1 m/s, telling me that the solution diverges (ENKE=1), c.p. Pic2.

The boundary conditions were selected like in Pic 3. Execution controls were set like in Pic 4.

Can anyone of you tell me what went wrong?



Many thanks and greetings to you all


ghorrocks January 24, 2011 05:44

As previously stated, nobody here on this forum has seen Flotran since the dinosaurs walked the earth. Time to upgrade to a modern solver I think.

Slavius January 24, 2011 11:02

Hi,

I can't tell how much I'd love to switch to CFD. But CFD seems to be accessible through ANSYS Workbench. And I cannot access CFD through Workbench, although I can model and mesh the geometry. But when it comes to solving: ah ah! No CFD!

Greets

ghorrocks January 24, 2011 16:36

CFX runs just fine stand-alone without workbench. I never run it inside workbench.

Slavius January 25, 2011 10:38

No, it doesn't. There is not even a shortcut in the menu.

But anyway. Thanks for the support.

ghorrocks January 25, 2011 15:57

I think I know what is happening - you must have a really old version of ANSYS from before the CFX merger, that is why you have Flotran. Just goes to show how old your version is.


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