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

Transient Simulation in ANSYS CFX

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 2, 2009, 21:10
Default Transient Simulation in ANSYS CFX
  #1
New Member
 
Join Date: Dec 2009
Posts: 10
Rep Power: 7
ylm054 is on a distinguished road
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

Last edited by ylm054; December 2, 2009 at 21:11. Reason: no tags
ylm054 is offline   Reply With Quote

Old   December 4, 2009, 05:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,824
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You can use a CEl expression. Something like:

Pressure = 100 [Pa] * cos(t/1[s])
ghorrocks is offline   Reply With Quote

Old   June 4, 2014, 20:32
Default Velocity vectors in high pressure flow simulation around head-helmet assembly
  #3
Member
 
Hesam Moghaddam
Join Date: Mar 2012
Posts: 49
Rep Power: 5
hesamking is on a distinguished road
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.v2.jpg

m7.jpg
Could you please take a look and help me.
Thanks
hesamking is offline   Reply With Quote

Old   June 5, 2014, 20:02
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,824
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   June 6, 2014, 13:55
Default
  #5
Member
 
Hesam Moghaddam
Join Date: Mar 2012
Posts: 49
Rep Power: 5
hesamking is on a distinguished road
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.
So I appreciate your help.
Thanks
domain2.jpg

two-domain pressure history plot.jpg

single domain pressure history plot.jpg

single domain velocity vectors.jpg
hesamking is offline   Reply With Quote

Old   June 9, 2014, 19:07
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,824
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2D Simulations in ANSYS CFX CFDLife CFX 10 August 1, 2008 14:04
transient simulation Tad CFX 1 November 30, 2003 17:25
Transient Rotor/Stator Simulation in TASCFLOW Deepak Ganga CFX 3 June 27, 2003 02:47
ANSYS to acquire CFX Fred FLUENT 0 February 18, 2003 22:04
ANSYS to acquire CFX Fred CD-adapco 0 February 18, 2003 22:03


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