Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
25.05.2011, 08:15 GMT-4
Isa,
did you assign a unit to your Sawtooth function? It should be unitless for your application.
Cheers
Edgar
Isa,
did you assign a unit to your Sawtooth function? It should be unitless for your application.
Cheers
Edgar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
25.05.2011, 08:41 GMT-4
Hello,
thank-you Edgar.
No, I define it simply. But when I plot it, as title appears "F1Saw(t)", so it seems that by default it takes the variable time, doesn't it?
How should I do it?
Thanks again in advance.
Best regards,
Isa
Hello,
thank-you Edgar.
No, I define it simply. But when I plot it, as title appears "F1Saw(t)", so it seems that by default it takes the variable time, doesn't it?
How should I do it?
Thanks again in advance.
Best regards,
Isa
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26.05.2011, 10:43 GMT-4
Sorry I still didn't received Comsol 4.2 but with 4.1 I set up a model with a triangle function multiplied by Jc.
Sorry I still didn't received Comsol 4.2 but with 4.1 I set up a model with a triangle function multiplied by Jc.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26.05.2011, 11:55 GMT-4
Dear Loic,
Thank-you very much for your help!
I have opened your file in both, comsol 4.1 and 4.2, and yes, you are right, it allows me to introduce the external current density as "Jc*tria1(t)" but you can see that it put itself in orange colour (in both versions), which points out that it is "unexpectd unit of input"... It is like a warning, not an error because later the program runs.
I think it is because tria1(t) has units of "seconds", do you know if we can do it unitless?
Thanks in advance!
Best regards,
Isa
Dear Loic,
Thank-you very much for your help!
I have opened your file in both, comsol 4.1 and 4.2, and yes, you are right, it allows me to introduce the external current density as "Jc*tria1(t)" but you can see that it put itself in orange colour (in both versions), which points out that it is "unexpectd unit of input"... It is like a warning, not an error because later the program runs.
I think it is because tria1(t) has units of "seconds", do you know if we can do it unitless?
Thanks in advance!
Best regards,
Isa
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
27.05.2011, 00:07 GMT-4
I don't know if it is possible to do it unitless but as you said, it is a warning not an error. Comsol is just saying that he cannot determine it automatically.
I don't know if it is possible to do it unitless but as you said, it is a warning not an error. Comsol is just saying that he cannot determine it automatically.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
27.05.2011, 02:50 GMT-4
Ok. Understood.
Again, thank-you!
Best regards,
Isa
Ok. Understood.
Again, thank-you!
Best regards,
Isa
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
27.05.2011, 02:59 GMT-4
Isa,
you might consider to define a constant with an appropriate unit, assign the value 1 and multiply with your function to remove the unit issue.
Cheers Edgar
Isa,
you might consider to define a constant with an appropriate unit, assign the value 1 and multiply with your function to remove the unit issue.
Cheers Edgar
Sven Friedel
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
27.05.2011, 04:17 GMT-4
Hi,
the correct way calling a time function *without orange* marks is:
sawtooth(t[1/s])[A/m^2]
The [1/s] removes the unit [s] and creates a unitless input for the function call.
The [A/m^2] adds the correct unit required for the entry field.
Sven
Hi,
the correct way calling a time function *without orange* marks is:
sawtooth(t[1/s])[A/m^2]
The [1/s] removes the unit [s] and creates a unitless input for the function call.
The [A/m^2] adds the correct unit required for the entry field.
Sven
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
27.05.2011, 04:56 GMT-4
Dear Sven,
I have tried your suggestion and, obviously (it makes sense), it has worked!
Thank-you very much!
Best regards,
Isa
Dear Sven,
I have tried your suggestion and, obviously (it makes sense), it has worked!
Thank-you very much!
Best regards,
Isa