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

ANSYS CFX Adaptive Timestep

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2009, 20:59
Default ANSYS CFX Adaptive Timestep
  #1
New Member
 
Join Date: Jul 2009
Posts: 22
Rep Power: 17
aeroman is on a distinguished road
I am interested in a time accurate solution for a multiphase (air/water) problem, whereby it is important that the courant number fall below 1. This is easy enough to set up in CFX, however I have an expression for the flow velocity which is dependent on the value of the current timestep.

Sooo...My question is: What expression (if any) can I use to call the current timestep into my equation, since it will be changing based on the adaptability criteria.

Any help help you can provide would be a huge help
aeroman is offline   Reply With Quote

Old   July 23, 2009, 21:58
Default pesky users manual!
  #2
New Member
 
Join Date: Jul 2009
Posts: 22
Rep Power: 17
aeroman is on a distinguished road
errr..is it dtstep?
aeroman is offline   Reply With Quote

Old   July 23, 2009, 22:30
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, I think you are right. Have a look in the CEL expression reference section of the manual for further details.

Also CFX is an implicit solver and therefore is not restricted to Courant number 1 for most types of simulations. Why do you say you need Courant Number below 1?

Glenn horrocks
ghorrocks is offline   Reply With Quote

Old   July 23, 2009, 23:20
Default Thanks for the response
  #4
New Member
 
Join Date: Jul 2009
Posts: 22
Rep Power: 17
aeroman is on a distinguished road
Glen,

Thanks for your reply. In a nutshell the problem in hand is "quite simply" a free surface penetration problem of a sphere entering water at a given velocity (thus the equation for velocity with time). Using CFX, since it doesn’t have a dynamic mesh capability, I am controlling the "ball velocity" by changing the inlet velocity as a function of the force at the wall which represents the spherical section. Understanding that CFX can solve discrete nonlinear systems at each time step (implicit), I have found that the accurate time stepping evolution of the fluid phenomenology is most important. This makes the time step key, especially in the early development of the flow. By defining the max courant number, I have been pleased with results obtained by essentially "driving" the time step in this fashion. HOWEVER....I would be most interested in your thoughts on this.

Thanks again for responding.

Sam



aeroman is offline   Reply With Quote

Old   July 23, 2009, 23:31
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

The timestep size you use for a transient simulation should be determined by a sensitivity analysis. It is not uncommon for multiphase flows (especially ones with surface tension) to require very small timesteps of the order of Courant Number = 1, but don't be fooled into thinking Courant Number = 1 is some sort of hard limit. It is for explicit solvers, but not implicit ones. Implicit ones just get more accurate as the timestepping gets smaller and you just have to pick the timestep size which gives you the accuracy you require.

Does the sphere go through the surface at constant velocity or does it move in reaction to the forces on it?

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   July 23, 2009, 23:45
Default
  #6
New Member
 
Join Date: Jul 2009
Posts: 22
Rep Power: 17
aeroman is on a distinguished road
Glen,

The sphere moves as Vnew=(g-(f/m))+Vold. Where f is force_x()@ball (ball is the spherical wall boundary), m is the ball mass and g is gravity. I am applying Vnew to an inlet boundary with each timestep.
aeroman is offline   Reply With Quote

Old   July 24, 2009, 02:28
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

Have you considered doing it with the new immersed solid and 6DOF solver? It should work nicely for this type of problem. The 6DOF solver is a beta feature in V12.

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   July 24, 2009, 09:58
Default
  #8
New Member
 
Join Date: Jul 2009
Posts: 22
Rep Power: 17
aeroman is on a distinguished road
Glen,

Yes, however I am still waiting for version 12. I won't have it untill the end of the month. Seems like an eternity.
aeroman is offline   Reply With Quote

Old   July 25, 2009, 07:37
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You will need to contact the CFX distributor for access to the 6DOF solver features. While you are at it, download the V12 iso from the ANSYS Customer page website and save yourself a wait.

Glenn Horrocks
ghorrocks is offline   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
how to map resultd from cfx to ansys? ritesh CFX 2 June 1, 2011 08:52
ANSYS CFX Adaptive Timestep aeroman Main CFD Forum 1 July 23, 2009 20:53
Exporting results from CFX to ANSYS ?? sohail ahmed CFX 1 December 20, 2007 02:10
FSI using CFX and ANSYS Bi Chang CFX 2 May 10, 2005 05:47
ANSYS to acquire CFX Fred Siemens 0 February 18, 2003 22:03


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