|
[Sponsors] |
Variable Time Steps in transient CFX simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 15, 2019, 07:09 |
Variable Time Steps in transient CFX simulation
|
#1 |
New Member
M S
Join Date: Nov 2019
Posts: 8
Rep Power: 7 |
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 |
|
November 15, 2019, 09:45 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 701
Rep Power: 12 |
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 |
|
November 18, 2019, 02:19 |
|
#3 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
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 |
|
November 19, 2019, 02:59 |
|
#4 |
New Member
M S
Join Date: Nov 2019
Posts: 8
Rep Power: 7 |
Thank you very much,
it worked |
|
Tags |
cfx, transient simulation |
|
|
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 11:54 |
Problem with an old Simulation | FrankW | CFX | 3 | February 8, 2016 05:28 |
Transient simulation : Static temperature and time averaged static temperature | saisanthoshm88 | CFX | 4 | July 4, 2013 03:18 |
Time step in transient simulation | shib | FLUENT | 0 | June 17, 2010 14:07 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |