|
[Sponsors] |
difference b/w ${TimeLevel} and ${Time} dependent variables |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 5, 2022, 09:00 |
difference b/w ${TimeLevel} and ${Time} dependent variables
|
#1 |
New Member
Raj Dasari
Join Date: Feb 2022
Posts: 13
Rep Power: 4 |
Hello everyone,
I'm new in using star-ccm+ software. I have a doubt regarding field functions. I'm trying to ramp gravity in my simulation. For that i'm using field functions. While defining field function i have encountered two different dependent variables. they are ${TimeLevel} and ${Time}. Can anyone tell me what is the difference b/w these two dependent variables. Thank You |
|
April 5, 2022, 09:30 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
Time has units of seconds. For example, you start at a time of 0 seconds.
Time level is an index which keeps track of which solution is being handled (the current timestep, previous timestep , previous previous timestep, etc). In order lexicon, these would correspond to so-called solution levels n, n-1, n-2, etc. |
|
April 5, 2022, 10:36 |
|
#3 | |
New Member
Raj Dasari
Join Date: Feb 2022
Posts: 13
Rep Power: 4 |
Quote:
Can you tell me what i'm thing is right? |
||
April 5, 2022, 12:01 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
First, what is your gravity field function? How can we answer that without having any clue what your formula is?
Time level is a number. If you have no idea what a field function is, I recommend you to not use it in your formula. If you want the current time then Time is your friend. If you want the previous time then time - timestep is your friend. |
|
April 6, 2022, 06:37 |
|
#5 | |
New Member
Raj Dasari
Join Date: Feb 2022
Posts: 13
Rep Power: 4 |
Quote:
|
||
April 7, 2022, 01:34 |
|
#6 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
Time level is a counter. When you start the simulation and initialize, it will be at 0. When you proceed to the next time, time level will be 1. And then 2. And then 3 and so on. It is the timestep equivalent of an iteration counter.
If your intent is to ramp up the gravity field from 0 to 600 timesteps, then yes time level could be used in this sense. |
|
Tags |
dependent variable, field functions, numerical computation, star-ccm+ |
|
|