Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Time dependent material properties

Please login with a confirmed email address before reporting spam

Hello

I'm trying to make a simplified thermal model of a Li-Ion battery. I'm using the Joule Heating model and a time dependent study.

I want to model the State of Charge with either an integration of the current going in / out of the battery over time - or simply a piecewise function of time (since the current is constant +/- X Ampere).

I've made the piecewise function, but when I try to make the electrical conductivity a function of time it stays constant during my simulation.

Is there anyway to make a material property a function of simulation time?

Greetings
Kasper Jørgensen

3 Replies Last Post 16 giu 2013, 15:23 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12 giu 2013, 20:59 GMT-4
Hi,

Did you put a "t" inside your function when defined the material properties?

for example: sigma(t)

It works with temperature "T".

Kind Regards,

Duarte Albuquerque
Hi, Did you put a "t" inside your function when defined the material properties? for example: sigma(t) It works with temperature "T". Kind Regards, Duarte Albuquerque

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 giu 2013, 04:23 GMT-4
Hello

Just checked to make sure and I've got a (t) after my function. I'm trying with a piecewise function that is +1 for half of the simulaion and -1 for the other half (Lets call it pw1).

Function name: pw1
Argument: t
Start End Expression
0 1/2*cycle 1
1/2*cycle cycle -1

The expression for the electrical conductivity is

sigma = 14000+pw1(t)*12000

which should make a huge difference in the terminal voltage, but is only causing a minor change.

Greetings
Kasper Jørgensen
Hello Just checked to make sure and I've got a (t) after my function. I'm trying with a piecewise function that is +1 for half of the simulaion and -1 for the other half (Lets call it pw1). Function name: pw1 Argument: t Start End Expression 0 1/2*cycle 1 1/2*cycle cycle -1 The expression for the electrical conductivity is sigma = 14000+pw1(t)*12000 which should make a huge difference in the terminal voltage, but is only causing a minor change. Greetings Kasper Jørgensen

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 giu 2013, 15:23 GMT-4
Hello

I've got my piecewise function to take the first piece, but it doesn't change to the next piece when the time passes into the next interval. Any idea on how to force COMSOL to do that?

Greetings
Kasper Jørgensen
Hello I've got my piecewise function to take the first piece, but it doesn't change to the next piece when the time passes into the next interval. Any idea on how to force COMSOL to do that? Greetings Kasper Jørgensen

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.