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.
Switching conditions on/off with Step or Rectangle
Posted 9 nov. 2010, 04:59 UTC−5 Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.2 3 Replies
Please login with a confirmed email address before reporting spam
Hi !
I'm using Comsol Version 4.0a
I have a heat source for a domain that I want to switch on for some milliseconds and then switch off.
In Parameters I have defined a constant called Heat and given it the correct value and denomination (W/m^3)
When using the step function I get the temperature of the domain to the correct temperature, but ot turned off the heat.
I defined the heat source as step(t)*Heat
Tried to use the Rectangle function, but now the temperature of the particle will not rise, using the following equation as heat source Rect(t)*Heat
Also I get the yellow text in the heat source field with the "Unexpected unit of input" even though this should be correct.
Any tips would be greatly appreciated
Thanks
Nils Eivind
I'm using Comsol Version 4.0a
I have a heat source for a domain that I want to switch on for some milliseconds and then switch off.
In Parameters I have defined a constant called Heat and given it the correct value and denomination (W/m^3)
When using the step function I get the temperature of the domain to the correct temperature, but ot turned off the heat.
I defined the heat source as step(t)*Heat
Tried to use the Rectangle function, but now the temperature of the particle will not rise, using the following equation as heat source Rect(t)*Heat
Also I get the yellow text in the heat source field with the "Unexpected unit of input" even though this should be correct.
Any tips would be greatly appreciated
Thanks
Nils Eivind
3 Replies Last Post 18 sept. 2016, 06:06 UTC−4