Quantcast
Channel: COMSOL Forums: ON-OFF function and txt loaded file
Browsing latest articles
Browse All 9 View Live

ON-OFF function and txt loaded file

Hello, I'm Stefano Casson and I'm using COMSOL to model the behavior of a heat storage in the gravel: my intention is to use a function as an input of temperature (I chose the interpolation) so in this...

View Article



Re: ON-OFF function and txt loaded file

You can use an if-expression: if(T>30, myfunc(x,y,z), 0). Either you can use this expression where you are using the function, or you can create an analytic function where you enter the expression....

View Article

Re: ON-OFF function and txt loaded file

Thanks for the tip: very useful!But the problem lasts when T<30°C: if I put 0 in the expression, this zero is a value for COMSOL, and actually I would like to stop the injection, not to inject air...

View Article
Browsing latest articles
Browse All 9 View Live




Latest Images