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.

how to combine two step functions in analytic?

Please login with a confirmed email address before reporting spam

Hello,
I am the beginner to study the COMSOL and want to solve the heat and flow transfer in porous medium problem by comsol 5.2, and need defined one function of the permeability at 3 temperature intervals:

1. T<273.15K, permeability is 0
2. 273.15K <T<274.15K, permeability is equal to some value( changed by time)
3. T>274.15K, permeability is 1

I gave the inlet temperature is 293.15K and the initial temperature of all domain is 263.15K,
firstly I defined two step function--step1(T) defined the location is 273.15K and step2(T) defined the location is 274.15k, then add the analytic as an1(T), but I dont know how to define the step functions, especially how to define the step function between the 273.15K and 274.15K, and if I can use those functions to solve my problem, how to combine the step function in analytic? please tell me the details.

Thank you very much,

yang Wang

0 Replies Last Post 2016年5月25日 GMT-4 04:11
COMSOL Moderator

Hello Yang Wang

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.