CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Transient Simulation in ANSYS CFX (http://www.cfd-online.com/Forums/cfx/70703-transient-simulation-ansys-cfx.html)

 ylm054 December 2, 2009 21:10

Transient Simulation in ANSYS CFX

I am running a transient simulation where the boundary condition is a pressure that oscillates with a cosine function (Womersley flow).

At the moment, I enter boundary conditions as columns (1st column time, 2nd column static pressure) in a data file and import it into a user function.

I then call the user function from the prompt box under B.C>Static value etc.

Is there a more elegant method of doing this? In the current method, will ANSYS interpolate between BC pressure values at each time step, or not?

Thank you

 ghorrocks December 4, 2009 05:32

You can use a CEl expression. Something like:

Pressure = 100 [Pa] * cos(t/1[s])

 hesamking June 4, 2014 20:32

Velocity vectors in high pressure flow simulation around head-helmet assembly

2 Attachment(s)
Hi,
I am trying to model the flow around a helmeted head (around and inside the head-helmet gap). for that and to simulate a blast-like flow I have used two domains, a small one at an initial high pressure of 860 kPa with an initial velocity of 500 m/s and a very large domain at ambient setting. I have defined an interface between the two domains and can get an overpressure with a similar pattern as that happens in blast.
When I plot the velocity vectors, at each time steps I can see that half of the vectors move backwards and it doesn't seem to be showing the correct behaviors.
I am really confused and I don't know if I am wrong anywhere or it is as it should be. I am doing 3D. I have attached a picture of the velocity vectors at one of the time steps plotted on the symmetry plane.
I have also attached the pressure contours at the same time step which also shows my domain.Attachment 31414

Attachment 31415
Could you please take a look and help me.
Thanks

 ghorrocks June 5, 2014 20:02

This is because your left hand boundary condition is not correct.

Also - you should not use multiple domains for this. Use a single domain with an initial condition.

 hesamking June 6, 2014 13:55

4 Attachment(s)
Thanks Horrocks,
Actually the reason I used two domains was that the pressure time history plot obtained with that had a pattern very similar to that of the real blast modeling done in FE software such as Ls-Dyna. I have attached the plot.
As you mentioned I already reduced my domains to one, put the domain at ambient setting (p = 1 atm and T= 25 C and initial velocity of 0 m/s) and then introduced an inlet at the left boundary and defined that as supersonic with the Total Energy option. I chose the "Cartesian Velocity and Pressure" option and defined inlet flow with V= 500 m/s and P= 860 kPa.
The velocity vectors and streamlines looks fine as expected. However, I can't get the pattern I want from the pressure history. I have attached this one too.
Could you please also take a look at the velocity vectors and tell me the reason for the small blue spots (vectors) at the back of the helmets and why we are seeing teh velocity vectors such that in there? The vectors are plotted on a plane very close to the symmetric plane on the inside.
Thanks
Attachment 31504

Attachment 31505

Attachment 31506

Attachment 31507

 ghorrocks June 9, 2014 19:07

I think you need to do a little work on basic compressible flow modelling. If you spend a little time doing something like shock wave flow modelling you will find it quite valuable. It has analytical answers so you have exact solutions to see how accurate you are. You will also start understanding issues of numerical accuracy for compressible flows.

Everything you are seeing looks like normal compressible flow artefacts to me. So model a basic situation with known answers to develop a simulation technique which is accurate.

regarding heat exchanger problem

1 Attachment(s)
i am working on shell an tube heat exchanger for that how many domain i have to draw
1. shell fluid
2. copper fluid
3. tube side fluid

is this correct??

please guide me for the transient analysis of this problem

 ghorrocks April 25, 2016 20:05

The CFX and workbench tutorials cover the basics for a simulation like this.

 All times are GMT -4. The time now is 11:02.