Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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 define analytic function

Please login with a confirmed email address before reporting spam

Hi,

I am using Joule heating to simulate the voltage,current and temperature distribution.

I have 2 blocks whose size are both 2cm*2cm*1cm, I put them together to form a union(the big block size is 2cm*2cm*2cm).

I apply a voltage(U is a known value) to them in Z axis, it is supposed the voltage of upper half part is U1 and the voltage of lower half part is U2(U1+U2=U).

It is assumed the electrical conductivity of upper half part is equal to U1 and the electrical conductivity of lower half part is equal to 2*U2.

I would like to know how to set the variables and analytic function for material's electrical conductivity.

Thanks.

1 Reply Last Post 6 oct. 2012, 17:43 UTC−4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 oct. 2012, 17:43 UTC−4
Hi

I'm not sure I catch you completey, but for your example, if you choose 2D JH physics and stationary solver

Then geoemtry, set to cm, and add a square of 2cm and add a 1 cm" layer" (default by on the bottom) you have your geometry without doing anything more

Then add a first material, by default it selects both domains, and asks for values for the relevant material parameters such as Conductivity in S/m (invese of resistivity in Ohm*m), the dieletric constant often 1 or close to, the heat conductance, k, density rho, and specific heat capacity. These can be values from the litterature, or curves (see examples from the build-in material DB) depending on the temperature T and or pressure pA ...

You need to set your BCs, as JH solves for V and for T you need at leas some Direchlet BC for both, such as bottom line( boundary) set to electric GND (0V) and top set to Terminal and 1V, and i.e. bottom boundary set to constant temperature 20[degC]

then you solve, and postprocess at will

--
Good luck
Ivar
Hi I'm not sure I catch you completey, but for your example, if you choose 2D JH physics and stationary solver Then geoemtry, set to cm, and add a square of 2cm and add a 1 cm" layer" (default by on the bottom) you have your geometry without doing anything more Then add a first material, by default it selects both domains, and asks for values for the relevant material parameters such as Conductivity in S/m (invese of resistivity in Ohm*m), the dieletric constant often 1 or close to, the heat conductance, k, density rho, and specific heat capacity. These can be values from the litterature, or curves (see examples from the build-in material DB) depending on the temperature T and or pressure pA ... You need to set your BCs, as JH solves for V and for T you need at leas some Direchlet BC for both, such as bottom line( boundary) set to electric GND (0V) and top set to Terminal and 1V, and i.e. bottom boundary set to constant temperature 20[degC] then you solve, and postprocess at will -- Good luck Ivar

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.