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

Variable Time Steps in transient CFX simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2019, 06:09
Default Variable Time Steps in transient CFX simulation
  #1
New Member
 
M S
Join Date: Nov 2019
Posts: 8
Rep Power: 6
Jens Trommer is on a distinguished road
Dear all,

Iam developing a pipe model a steam flow.

For my Simulation runs, i plan a transient Simulation over a 3600 s period.

For the inital Startup it is necessary to start with very short time steps (0.1-0.5s) but after the first minutes this solution wont be necessary.

So, my Question:
Iam Looking for a solution to Change the time steps in the Simulation or Setting a timestep profile.

So from second 0 - 120 Timestep size = 0.5s
From 120 to end Timestep size = 20s

Is there any possibility to do that (i have seen i can add functions to the timestep but iam not sure About the Syntax)

Thanks and best regards
Jens Trommer is offline   Reply With Quote

Old   November 15, 2019, 08:45
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 679
Rep Power: 12
AtoHM is on a distinguished road
There are dozen threads about achieving something like this, so instead of doing all the work for you, here are some keywords to look for:
cfx expression language, cfx step function, cfx step syntax


Good luck
AtoHM is offline   Reply With Quote

Old   November 18, 2019, 01:19
Default
  #3
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
This can be done in two ways:

First one is a simple expression like:
if(t<120[s], 0.5[s], 20[s])

The other way is a table input under user functions:
slide 12 here...
https://www.slideshare.net/al11429964/cfx12-11-cel
create a table of values which will map [s] to [s]
folowed by
expresionuserfunction(t)
t stands for time or time dependant


The first way is far simpler for what you want to achieve just be careful when jumping from 0,5 to 20 as it is better to ramp the value unless you know that this jump won't cause any failure of the solver
urosgrivc is offline   Reply With Quote

Old   November 19, 2019, 01:59
Default
  #4
New Member
 
M S
Join Date: Nov 2019
Posts: 8
Rep Power: 6
Jens Trommer is on a distinguished road
Thank you very much,

it worked
Jens Trommer is offline   Reply With Quote

Reply

Tags
cfx, transient simulation


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 export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
Problem with an old Simulation FrankW CFX 3 February 8, 2016 04:28
Transient simulation : Static temperature and time averaged static temperature saisanthoshm88 CFX 4 July 4, 2013 02:18
Time step in transient simulation shib FLUENT 0 June 17, 2010 13:07
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


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