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?
You can use a CEl expression. Something like:
Pressure = 100 [Pa] * cos(t/1[s])
Velocity vectors in high pressure flow simulation around head-helmet assembly
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
Could you please take a look and help me.
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.
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.
So I appreciate your help.
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.
|All times are GMT -4. The time now is 13:45.|