Edgar J. Kaiser
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
Dec 26, 2018, 5:04 a.m. EST
Jason,
I am not sure if I fully understand your objective, but may be following hints can be useful.
For a time dependent problem it can be useful to do a stationary study step and then take the stationary solution as an initial value for the time dependent step. But you have to take care that the time dependent situation at t=0 approximates the stationary situation. E.g. in a rotating system calculating stationary without rotation and then start the rotation at full speed may not work. You need to ramp up the speed from zero. Just an example, your problem may be different.
You cannot combine a stationary and a time dependent solution. As said before stationary can be a good initial value for time dependent.
Cheers
Edgar
-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Jason,
I am not sure if I fully understand your objective, but may be following hints can be useful.
For a time dependent problem it can be useful to do a stationary study step and then take the stationary solution as an initial value for the time dependent step. But you have to take care that the time dependent situation at t=0 approximates the stationary situation. E.g. in a rotating system calculating stationary without rotation and then start the rotation at full speed may not work. You need to ramp up the speed from zero. Just an example, your problem may be different.
You cannot combine a stationary and a time dependent solution. As said before stationary can be a good initial value for time dependent.
Cheers
Edgar
Michael Rembe
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
Jan 2, 2019, 10:42 a.m. EST
Updated:
6 years ago
Jan 3, 2019, 4:15 a.m. EST
Hi Jason, hi Edgar,
At first I wish you all the best for 2019!!
I think it is possible to combine a stationary solution with a transient solution within a for-loop.
For this you have to divide your transient problem into (nmax-1) time periods and you repeat a for loop (-> solution -> programming) nmax times.
At first (before the loop starts) you have to compile the quations and to set the initial values (Dependent variables). Then the for loop starts. The work flow is as follows:
- compile equations
- dependent variables (set initial values)
- For (begin)
- compile equations
- dependent variables (set initial values to current)
- instationary solver
- compile equations
- dependent variables (set initial values to current)
- stationary solver
- end for
What we need is the for-loop counter to recalculate the time (start, end) for the transient solver. This is currentiter, using this varable you can recalculate the correct time.
You have to take care, that the transient solution runs using the stationary solution.
If you need some additional help, please contact me.
Cheers, Michael Rembe
-------------------
Michael Rembe
Rembe Consulting PartG mbB
www.rembe-consulting.de
Hi Jason, hi Edgar,
At first I wish you all the best for 2019!!
I think it is possible to combine a stationary solution with a transient solution within a for-loop.
For this you have to divide your transient problem into (nmax-1) time periods and you repeat a for loop (-> solution -> programming) nmax times.
At first (before the loop starts) you have to compile the quations and to set the initial values (Dependent variables). Then the for loop starts. The work flow is as follows:
* compile equations
* dependent variables (set initial values)
* For (begin)
* compile equations
* dependent variables (set initial values to current)
* instationary solver
* compile equations
* dependent variables (set initial values to current)
* stationary solver
* end for
What we need is the for-loop counter to recalculate the time (start, end) for the transient solver. This is currentiter, using this varable you can recalculate the correct time.
You have to take care, that the transient solution runs using the stationary solution.
If you need some additional help, please contact me.
Cheers, Michael Rembe