Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 27024

specifying varing coefficient - interpolation function

$
0
0
Hi all,

I would like to specify varing htc via interpolation function and apply it to a heat flux boundary condition. I am attaching a sample file.

- Model: 2D-axisymetric (i.e.cylinder, mm), heat transfer in solids, and s-s case
- Features: a heat flux boundary condition with heat transfer coefficient varing along line (not as constant). assigned via interpolation function
- Error: Wrong number of function arguments, Number of arguments expected: 1'

I built a simple 2D axisymetric, heat transfer in solids, and s-s case and added a heat flux boundary condition with heat transfer coefficient which is varing along line. An external htc data set was imported using interpolation function under Global Parameters.

t f(t)
1 50
2 52
3 54
.. ..
399 52
400 50

1) I can see a plot without assiging units, but with units (argument: mm, function: W/(m^2*K)) a horizontal line is only appeared. What should I consider?

2) I am facing the same error message 'wrong number of function arguments' when running the simulation. I believe the number is ok but it repeatedly says it.

Any advice and help will be appreciated,

mg

Viewing all articles
Browse latest Browse all 27024

Latest Images

Trending Articles



Latest Images