Questions about ODE definition #23698
-
Hi all, I am now thinking of a lump parameter problem (or scalar variable problem), of which ODE can be simplified into the following form: The definition of general time-varying equations in MOOSE should be relatively convenient, directly through the ScalarKernels system. And if the ODE changes with time Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Sounds like you are writing your custom scalar kernels anyways, so this should be a if-else condition. Regularize the function domain as you need. |
Beta Was this translation helpful? Give feedback.
-
Hi all, Another question about the ODEs refered above, Could rearrange the LHS term (Time deriviate term) into, So I can define a ODETimekernel about While what about RHS? There's no way to separate two variables. Should I define it a |
Beta Was this translation helpful? Give feedback.
Sounds like you are writing your custom scalar kernels anyways, so this should be a if-else condition. Regularize the function domain as you need.