Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
2 avr. 2019, 07:37 UTC−4
Hi,
More elegant is to use the built in time derivative of the temperature, 'Tt'.
Regards,
Henrik
-------------------
Henrik Sönnerlind
COMSOL
Hi,
More elegant is to use the built in time derivative of the temperature, 'Tt'.
Regards,
Henrik
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
3 avr. 2019, 08:30 UTC−4
Hi,
thank you for your answer. But I still have a similar problem: Variable Tt cannot be evaluated.
The problem is in the first step I think. I do have the starting temperature T at t=0 for all points in x,y,z.
The problem was with the older method using prev() that I could not evaluate dT/dt at the first point as I do not have enough Data. I think this time I have a similar problem. If necessarily could even provide an initial value for Tt, if I would know where to assign the initial value of Tt.
Currently I do have an analytic function defined in the components and I just used Tt for the cooling rate.
Kind regards,
Christian
Hi,
thank you for your answer. But I still have a similar problem: Variable Tt cannot be evaluated.
The problem is in the first step I think. I do have the starting temperature T at t=0 for all points in x,y,z.
The problem was with the older method using prev() that I could not evaluate dT/dt at the first point as I do not have enough Data. I think this time I have a similar problem. If necessarily could even provide an initial value for Tt, if I would know where to assign the initial value of Tt.
Currently I do have an analytic function defined in the components and I just used Tt for the cooling rate.
Kind regards,
Christian
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
3 avr. 2019, 10:53 UTC−4
Hi Christian,
What study type (and settings) are you using?
Regards,
Henrik
-------------------
Henrik Sönnerlind
COMSOL
Hi Christian,
What study type (and settings) are you using?
Regards,
Henrik
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
3 avr. 2019, 11:05 UTC−4
Hi Henrik,
My Study looks like this:
I am using an optimization and as Step 1 I use a Time Dependent Study Step.
In the Solver Configurations the optimization solver is also time dependent.
The error appears in the optimization solver (as I use my function as an Objective for my optimization).
Kind regards,
Christian
Hi Henrik,
My Study looks like this:
I am using an optimization and as Step 1 I use a Time Dependent Study Step.
In the Solver Configurations the optimization solver is also time dependent.
The error appears in the optimization solver (as I use my function as an Objective for my optimization).
Kind regards,
Christian
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
5 avr. 2019, 02:57 UTC−4
Hi Christian,
I think you should either contact support, or upload a simplified version of your model here.
Regards,
Henrik
-------------------
Henrik Sönnerlind
COMSOL
Hi Christian,
I think you should either contact support, or upload a simplified version of your model here.
Regards,
Henrik