Hi Mario,
Here is a piece of code referred from the StatCurrentSolve.f90
Code: Select all
bf_id = ListGetInteger( Model % Bodies(CurrentElement % BodyId) % &
Values, 'Body Force', gotIt, minv=1, maxv=Model % NumberOfBodyForces )
Load = 0.0d0
IF ( gotIt ) THEN
Load(1:n) = ListGetReal( Model % BodyForces(bf_id) % Values, &
'Current Source',n,NodeIndexes, Gotit )
END IF
From this code, it can be inferred that , it is possible to define the following:
Code: Select all
Body Force 1
...
Current Source = Real 12.34
...
End
Also, Body Force should be defined in Equation section
Code: Select all
Equation 1
...
Body Force =1
...
End
The
potential load (variable as point source) is defined at the boundaries
Code: Select all
Boundary Condition 1
...
Potential load=Real 45.68
..
End
whereas current source is defined as a body force. The "potential" infront of the "load" is the name of the "variable" in the solver.
The discussion made in the following
thread is a good reference on point source.
Yours
Anil Kunwar