Welcome back on this subject :
I would like to simulate an inductance which varies linearly in function of the current which flows through it. Suppose : $$L(t) = I_{L}(t)$$ In the simulation for simplicity I used a current source which has a slope of current equal to : $$\frac{dI_{L}(t)}{dt} = 1$$ So : $$U_{L}(t) = L(t)\frac{dI_{L}(t)}{dt} = L(t) = I_{L}(t)$$
Finally the expression of the Flux for L should be : $$Flux(t) = x^2/2$$
Refere to this link for the expression of the flux : LTspice - Simulation of a variable inductance
What is weird to me is that I have to add a minus sign in the expression of the flux of the inductance. Why ?
Thank you very much.