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 2010年11月9日 GMT-5 04:59 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 2016年9月18日 GMT-4 06:06