Hi Estiivan,
1.
Estiivan wrote: But where should it put there?
The Real Procedure should be put in the section of the sif where it is to be called.
If it is a Material property related procedure (function), then call it from:
Code: Select all
Material n
...
Real Procedure "MyLibrary_ver2" "MyFunctionVer2"
...
End
If it is a function for BCs (Boundary Condition), call it as:
Code: Select all
Boundary condition n
...
Real Procedure "MyLibrary_ver2" "MyFunctionVer2"
...
End
n = 1, 2, 3, 4, ...
and so on and so on...
2.
Estiivan wrote:Also, should .so file be in some specific folder?
The shared object file is put in the same folder with your solver input file (sif) file.
Yours Sincerely,
Anil Kunwar