Difference in function boundary condition solution to expected values #28735
Unanswered
AmbroiseJuston
asked this question in
Q&A General
Replies: 1 comment 16 replies
-
Hello Are you using pseudo timesteps in all these simulations? So timesteps but with no time derivative kernel so a steady state is reached on every time step? Guillaume |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check these boxes if you have followed the posting rules.
Question
Good afternoon,
I am working on a problem which required me changing a boundary condition to simulate different test conditions. Basically i am doing an IV plot of an electrical component.
We were trying to validate which way would better represent sweeping the IV plane (from 0v to 1v) and had some questions on why certain results diverged.
Option 1: we can manually solve for steady state (~10 units of time) and then use the final state as the IC of the next simulation, increasing the voltage by a certain amount (0.1 for example).
Option 2: we can used a piecewise function and create a discrete stair function with increments of 0.1 after x time (~10 units of time to let it each steady state at that condition.
Option 3: create another piecewise function but linearly increasing from 0 to 1 and then back down.
I can see how option 3 would be different that then other solutions however what i do not understand if how options 1 and 2 diverge because in my mind they are equivalent in the long run. The difference is if we do the step manually or as a discrete step function.
Is there a difference between how MOOSE would evaluate the results for options 1 and 2?
The step function being used is shown below:
and the code that reads in the .e as the new IC for the simulation is defined here:
Beta Was this translation helpful? Give feedback.
All reactions