Calculating local density

Numerical methods and mathematical models of Elmer
Post Reply
mamnun18
Posts: 4
Joined: 22 Feb 2018, 02:16
Antispam: Yes

Calculating local density

Post by mamnun18 »

Hi all,

I am trying to calculate electric field in the polymer. As heat flows, materials expands, and dipole density and surface charge density change. Now wandering how to calculate local density and surface charge density in the solver as heat flows.

I would appreciate a lot if anybody can share your idea about this.

Thank you for your time,

Kazi
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Calculating local density

Post by mzenker »

Hi,

you can make the material properties depend on variables like position, temperature, potential, ...
See Solver Manual, section "Defining parameters depending on field variables".

HTH,

Matthias
mamnun18
Posts: 4
Joined: 22 Feb 2018, 02:16
Antispam: Yes

Re: Calculating local density

Post by mamnun18 »

Thank you Matthias for the reply!
Polarization is nonlinear here. I calculated displacement using stress solver which I want to use to calculate local density and wandering how?
Sorry for not clarifying in the previous post.
Thanks,

Kazi
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Calculating local density

Post by mzenker »

Hi,

the answer is the same as above. Have a look into the manual to see how to make density depend on the variable you want.
Something like (untested)

Code: Select all

Density = Variable Displacement 1
Real
MATC "1 0;2 2;3 10"
End
HTH,

Matthias
mamnun18
Posts: 4
Joined: 22 Feb 2018, 02:16
Antispam: Yes

Re: Calculating local density

Post by mamnun18 »

Thank you very much Matthias!
Post Reply