|
[Sponsors] |
difference b/w ${TimeLevel} and ${Time} dependent variables |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Raj Dasari
Join Date: Feb 2022
Posts: 13
Rep Power: 5 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,783
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Raj Dasari
Join Date: Feb 2022
Posts: 13
Rep Power: 5 ![]() |
Quote:
Can you tell me what i'm thing is right? |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,783
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. |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Raj Dasari
Join Date: Feb 2022
Posts: 13
Rep Power: 5 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,783
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+ |
Thread Tools | Search this Thread |
Display Modes | |
|
|