thermal conductivity, pde toolbox
Show older comments
Dear all,
I have a question concerning the pde tool box. Indeed, I would like to model the thermal behaviour of a cyclindrical battery. For said purpose, I would like to specify the thermal conductivities in the x and y directions. How can I specify said parameters using the following code?
specifyCoefficients(Thermal, 'm',0,...% 'd',(para.rho)/para.cp,...%rho*cp 'c',???,...%k 'a',0,...%0 'f',Heat)%source
Thanks in advance.
Accepted Answer
More Answers (1)
Ravi Kumar
on 16 Oct 2018
Hi Juan,
Looks like you have orthotropic thermal conductivity, not spatially varying conductivity. in that case, you can just use the matrix form of thermal conductivity, k = [0.15, 0 ; 0, 30].
thermalProperties(model,'ThermalConductivity',k,'MassDensity',1,'SpecificHeat',1)
Note if the problem is in 3-D space, then you need to specify a 3x3 matrix of conductivity. You don't need a function for the case you describe now.
You can specify heat source as a function of time using the function fFunc. Note that you can specify such heat source as internalHeatSource, if it is a domain heat source. If it is a boundary heat input, then you need to use 'HeatFlux' option of thermalBC function.
Regards,
Ravi
2 Comments
juan ugalde
on 17 Oct 2018
Ravi Kumar
on 22 Oct 2018
Hi Juan,
I think you might have figured out answer for your question by now. Solver works by discretization of the domain. So, solver needs value of heat source at several points on the boundary. The coordinates points at which heat source should be provided by the user are passed to the function as location.x, location.y, etc. So what you have done is correct.
Regards,
Ravi
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!