Combining solver values in a boundary condition

Numerical methods and mathematical models of Elmer
Post Reply
nguyent
Posts: 32
Joined: 17 Apr 2012, 21:19
Antispam: Yes

Combining solver values in a boundary condition

Post by nguyent »

I wish to combine electrostatic force with another force calculated by a user solver for input into elasticity solver. Is a way to do something like Force 1 = Electric Force 1 + MyForce 1?
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Combining solver values in a boundary condition

Post by mzenker »

Hi,

as far as I see in the models manual, you can give several forces as body force.

HTH,

Matthias
raback
Site Admin
Posts: 4843
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Combining solver values in a boundary condition

Post by raback »

Hi

Assuming that "MyForce 1" also exists as field, you could say

Code: Select all

Force 1 = Variable Electric Force 1, MyForce 1
  Real MATC "tx(0)+tx(1)"
Generally, study the MATC and UDF features.

-Peter
Post Reply