grid_gen_decouplings module¶
For a regular grid, create decouplings along a horizontal line in the grid.
Two CMD parameters are required:
depth (in elements) at which the line is located. The first line is 1.
grid width in element numbers
Example
>>> grid_gen_decouplings 2 5
Generate a decoupling line in 2m depths, with the grid consisting of 5 elements in x direction.
Usage¶
Pipe the output directly to a decouplings.dat file:
echo "40" > decouplings.dat && grid_gen_decouplings.py 5 40 >> decouplings.dat
The first line denotes the number of decouplings.
Chain multiple calls to decouple multiple lines
echo "80" > decouplings.dat && grid_gen_decouplings.py 5 40 >> decouplings.dat && grid_gen_decouplings.py 8 40 >> decouplings.dat