|
[Sponsors] |
November 7, 2019, 08:24 |
Expression which depends on time?
|
#1 |
New Member
ANNONYMOUS
Join Date: Jul 2018
Location: Germany
Posts: 4
Rep Power: 7 |
Hello,
I want to make an Expression in CFX,which depends on Simulation time. Time Duration- Total time = 6000 [s] Timesteps Adaption= Maximum Timestep= _______ Expression How can I relate both, I have done following, 1) User Function Interpolation MaxTotalTimeSteps time [s] Maximum Timesteps [s] 5E-11 - 0.00075 1 - 0.00075 6 - 0.00075 8 - 0.0008 20 - 0.06 … 60 - 0.005 2) Expression Expression 5 = MaxTotalTimeSteps(t) can be seen in figure 3) Connection in Analysis Setting Getting error Parameter 'Maximum Timestep' in object '/FLOW:Flow Analysis 1/ANALYSIS TYPE/TIME STEPS/TIMESTEP ADAPTION' is not allowed to be assigned an expression value that depends on variables. It must be assigned a numeric value, or an expression that resolves to a constant value. How can call this Expression in Maximum timesptes? |
|
November 7, 2019, 08:53 |
|
#2 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
I think you did everything fine, it's just that...
Parameter 'Maximum Timestep' is not allowed to be assigned an expression value that depends on variables. |
|
November 7, 2019, 16:13 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Have you misunderstood the purpose of the variables on the adaptive timestepping page?
Time duration/total time = the total amount of simulated time the simulation will run for. Timestep Adaption/Maximum Timestep = the largest time step size you allow the solver to use. You can't change the maximum timestep during a run. If you did then what is the point of adaptive time stepping? You might as well just define the time step size yourself manually and forget about adaptive time stepping.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 04:13 |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 02:05 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |