Hello,
It is working now, that functionality is added to the core library users modules, and further to fracture module.
You will have to pull changes from master branch in core lib and then from fracture user module.
For a couple months we switch to spack as a main installation method. MoFEM is installed with spack on EDF secure server as well. You can see documentation here,
To make it short:
git clone --single-branch -b mofem https://github.com/likask/spack.git
. spack/share/spack/setup-env.sh
spack install mofem-fracture-module@0.9.49
spack view symlink -i um_view_v0.9.49 mofem-fracture-module@0.9.49
You can have older version as well:
spack install mofem-fracture-module@0.9.48
spack view symlink -i um_view_v0.9.49 mofem-fracture-module@0.9.48
To add linear pressure to the surface, you do it as follows,
[block_10]
id=100
add=BLOCKSET
name=LINEAR_PRESSURE
# Linear pressure is defined by equation p(x,y,z) = A*x + B*y + C*z + D
user1=0. # This is A
user2=0. # This is B
user3=1. # This is C
user4=-1. # This is D
You can see that the linear distribution of pressure is assumed. If you need something more sophisticated let me know. You can have on the same surface multiple loads if you like. You mark surface as before, only difference is parameters of the block.
Kind regards,
Lukasz